ameringkseh/stock-management 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ameringkseh/stock-management

最新稳定版本:v1.0.1

Composer 安装命令:

composer require ameringkseh/stock-management

包简介

A robust Stock Management module for Laravel applications.

README 文档

README

Latest Version on Packagist License: MIT

A simple and robust stock/inventory management module for Laravel applications. Provides a ready-to-use UI for managing product stock levels.

Features

  • 📦 View all products sorted by stock level
  • ✏️ Update stock quantities with validation
  • 🗑️ Delete products (with image cleanup)
  • ⚙️ Configurable model — use any Eloquent model
  • 🎨 Pre-built Blade views

Requirements

  • PHP ^8.2
  • Laravel ^10.0 | ^11.0 | ^12.0

Installation

Install the package via Composer:

composer require ameringkseh/stock-management

Laravel will automatically discover the service provider.

Configuration

Publish the configuration file:

php artisan vendor:publish --tag=stock-management-config

This will create config/stock-management.php where you can specify the Eloquent model to use:

return [
    'model' => 'App\\Models\\Menu',
];

The model must have a stok (integer) attribute. Optionally, it can have a gambar (string) attribute for image management.

Usage

The package automatically registers the following routes (under web and auth middleware):

Method URI Action
GET /stok-management View stock list
POST /stok-management/update Update stock
DELETE /stok-management/{id} Delete product

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 191
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固