StockX is a powerful and intuitive inventory management solution built with Laravel and FilamentPHP, designed to streamline your stock, orders, suppliers, and user rolesβall in one place. Whether you're managing a warehouse, a small business, or a large-scale operation, StockX provides all the tools you need to keep your inventory under control.
- Product Categories β Create, update, soft-delete, and manage product categories.
- Suppliers β Maintain supplier records with full CRUD capabilities.
- Products β Track products with key details like quantity, supplier, pricing, and category.
- Order Handling β Create and manage orders with automatic stock validation and dynamic inventory updates.
- Stock Validation β Ensure product availability during order processing.
- Low Stock Alerts β Email notifications when stock dips below a set threshold.
- User Admin β Create, edit, and manage users with role assignments.
- Role-Based Access Control (RBAC) β Fine-tuned permission handling with Filament Shield.
- Low Stock Emails β Automatic alerts to notify admins when stock is low.
- Interactive Charts β Visualize sales and inventory trends.
- Quick Stats β Glance at total users, products, orders, and alerts.
- Smart Search β Look up products, orders, and suppliers with rich result details.
- Quick Navigation β Jump straight to the itemβs page from search results.
- Order Filters β Filter by custom timeframes like today, this week, or this year.
- Supplier Tabs β Organize suppliers by product categories.
- Secure Login β Full auth system with email verification.
- Permissions System β Restrict access by user roles for enhanced security.
Hereβs a quick peek at what StockX looks like in action:
Make sure you have the following installed:
- PHP β₯ 8.2
- Composer β₯ 2.3
- Node.js β₯ 18.8
- NPM β₯ 8.18
- Mailpit β For testing email notifications
git clone https://github.com/abogo-nono/StocksX.git
cd StocksX
composer install
npm install
Rename .env.example
to .env
and adjust environment variables:
APP_NAME=StockX
APP_ENV=local
APP_URL=http://127.0.0.1:8000
DB_DATABASE=stocksx
DB_USERNAME=root
DB_PASSWORD=
MAIL_HOST=localhost
MAIL_PORT=1025
php artisan migrate
php artisan db:seed
php artisan make:filament-user
php artisan shield:install --fresh
php artisan shield:generate --all
php artisan shield:super-admin --user=1
php artisan storage:link
php artisan serve
npm run dev
Access it at http://127.0.0.1:8000
Weβd love to hear your thoughts!
- π Found a bug? Open an issue
- π Got a feature idea? Share it or submit a pull request
This project is open-source and available under the MIT License.