Skip to content

A powerful and user-friendly Stocks Management System built with Laravel and FilamentPHP. This system helps businesses efficiently manage their inventory, track stock levels, and streamline operations with an intuitive admin panel.

License

Notifications You must be signed in to change notification settings

abogo-nono/StocksX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

72 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ StockX – Stocks Management System

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.

πŸš€ Key Features

πŸ“¦ Inventory Management

  • 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 Management

  • 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 & Role Management

  • User Admin – Create, edit, and manage users with role assignments.
  • Role-Based Access Control (RBAC) – Fine-tuned permission handling with Filament Shield.

πŸ”” Notifications

  • Low Stock Emails – Automatic alerts to notify admins when stock is low.

πŸ“Š Dashboard & Analytics

  • Interactive Charts – Visualize sales and inventory trends.
  • Quick Stats – Glance at total users, products, orders, and alerts.

🧭 Global Search

  • Smart Search – Look up products, orders, and suppliers with rich result details.
  • Quick Navigation – Jump straight to the item’s page from search results.

πŸ” Filters & Tabs

  • Order Filters – Filter by custom timeframes like today, this week, or this year.
  • Supplier Tabs – Organize suppliers by product categories.

πŸ” Authentication & Security

  • Secure Login – Full auth system with email verification.
  • Permissions System – Restrict access by user roles for enhanced security.

πŸ–ΌοΈ Screenshots

Here’s a quick peek at what StockX looks like in action:

  • Dashboard
    Dashboard Dashboard

  • Products
    Products Products

  • Orders
    Orders Orders

  • Create Order
    Create Order

  • Roles
    Roles

  • Edit Role
    Edit Role

  • Email Notification (Low Stock)
    Email

βš™οΈ Deployment Guide

πŸ“‹ Prerequisites

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

πŸ“₯ Installation Steps

1. Clone the Repository

git clone https://github.com/abogo-nono/StocksX.git

2. Navigate into the Project

cd StocksX

3. Install Dependencies

composer install
npm install

πŸ”§ Configuration

1. Set Up .env

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

πŸ—ƒοΈ Database Setup

1. Run Migrations and Seeders

php artisan migrate
php artisan db:seed

2. Configure Roles & Permissions

php artisan make:filament-user
php artisan shield:install --fresh
php artisan shield:generate --all
php artisan shield:super-admin --user=1

πŸ–‡οΈ Storage Linking

php artisan storage:link

πŸš€ Run the Application

Start Laravel Server:

php artisan serve

Start Frontend (Vite Dev Server):

npm run dev

Access it at http://127.0.0.1:8000

🀝 Feedback & Contributions

We’d love to hear your thoughts!

πŸ“„ License

This project is open-source and available under the MIT License.

About

A powerful and user-friendly Stocks Management System built with Laravel and FilamentPHP. This system helps businesses efficiently manage their inventory, track stock levels, and streamline operations with an intuitive admin panel.

Topics

Resources

License

Stars

Watchers

Forks