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(4mo ago)0191↓85.7%MITPHPPHP ^8.2

Since Feb 16Pushed 4mo 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 yesterday

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

37

—

LowBetter than 81% of packages

Maintenance75

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

137d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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