PHPackages                             ameringkseh/stock-management - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ameringkseh/stock-management

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ameringkseh/stock-management
============================

A robust Stock Management module for Laravel applications.

v1.0.1(2mo ago)0129—0%MITPHPPHP ^8.2

Since Feb 16Pushed 2mo agoCompare

[ Source](https://github.com/Ameringkseh/stock-management)[ Packagist](https://packagist.org/packages/ameringkseh/stock-management)[ Docs](https://github.com/Ameringkseh/stock-management)[ RSS](/packages/ameringkseh-stock-management/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Stock Management for Laravel
============================

[](#stock-management-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5bc7881d1e4c5b5009eea31a5e79ed4d43e7d3405039731228e0a816838d0512/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d6572696e676b7365682f73746f636b2d6d616e6167656d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ameringkseh/stock-management)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

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

Features
--------

[](#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
------------

[](#requirements)

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

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require ameringkseh/stock-management
```

Laravel will automatically discover the service provider.

Configuration
-------------

[](#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
-----

[](#usage)

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

MethodURIActionGET`/stok-management`View stock listPOST`/stok-management/update`Update stockDELETE`/stok-management/{id}`Delete productTesting
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance83

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

85d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73429192?v=4)[Rafli Muhamad Ridhwan ](/maintainers/raflimr)[@raflimr](https://github.com/raflimr)

---

Top Contributors

[![Ameringkseh](https://avatars.githubusercontent.com/u/184326099?v=4)](https://github.com/Ameringkseh "Ameringkseh (2 commits)")

---

Tags

laravelmanagementinventorystock

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ameringkseh-stock-management/health.svg)

```
[![Health](https://phpackages.com/badges/ameringkseh-stock-management/health.svg)](https://phpackages.com/packages/ameringkseh-stock-management)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laraveljutsu/zap

A flexible, performant, and developer-friendly schedule management system for Laravel

1.4k69.1k](/packages/laraveljutsu-zap)[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
