🚀 A modern Laravel application for teams that need a single source of truth for stock levels, supplier relationships, and purchasing workflows.
- ✨ Overview
- 🌟 Key Features
- 🧱 Technology Stack
- 🗂️ Project Structure
- ⚙️ Getting Started
- 🛠 Command Cheat Sheet
- 🧪 Testing
- 💾 Database & Seeding
- 🖼 Screenshots
- 🚧 Roadmap
- 🤝 Contributing
- 📄 License
Stock Management System helps retail and wholesale teams keep inventory, supplier, and purchasing data consistent and actionable. The platform streamlines the full lifecycle of stock management—from cataloging brands and SKUs to reconciling supplier invoices and generating printable PDFs for every transaction.
- Centralized Inventory: Create, categorize, and update product data with real-time stock balances.
- Invoice Engine: Produce PDF invoices for new stock entries and adjustments with a single click.
- Supplier CRM: Track supplier metadata, payment history, and outstanding balances in one module.
- Payment Configuration: Tailor payment methods to match internal accounting guidelines.
- Audit-Ready Logs: Preserve every movement in a relational database for later reporting.
- Responsive UI: Bootstrap-powered dashboards provide clarity across devices.
- Backend: Laravel 5.5, PHP 7.1+
- Frontend: Blade templates, Bootstrap, vanilla JavaScript
- Tooling: Laravel Mix, Webpack, npm
- Database: MySQL (or any Laravel-supported relational database)
- PDF Generation: DomPDF integration for high-fidelity invoice exports
Stock-Management/
├── app/
│ ├── Http/
│ │ ├── Controllers/
│ │ ├── Requests/
│ │ └── Resources/
│ ├── Models/
│ └── Services/
├── database/
│ ├── factories/
│ ├── migrations/
│ └── seeders/
├── public/
├── resources/
│ ├── assets/
│ └── views/
├── routes/
├── tests/
└── readme.md
- Clone the repository
git clone https://github.com/sangit0/Stock-Management.git cd Stock-Management - Install PHP dependencies
composer install
- Install JavaScript dependencies
npm install
- Bootstrap the environment
cp .env.example .env php artisan key:generate
- Configure the database
Update
.envwith your database credentials and queue/mail driver settings. - Run migrations and seeders
php artisan migrate --seed
- Serve the application
php artisan serve
# Start the local development server
php artisan serve
# Compile assets once
npm run dev
# Watch assets with hot reload
npm run watch
# Clear compiled caches
php artisan cache:clear
php artisan config:clear
# Run the test suite
php artisan test- Feature and integration tests live under
tests/Feature. - Execute all tests with:
php artisan test - Use
php artisan test --filter=SupplierManagementTestto target a single suite.
- Default seeders provision demo products, suppliers, and sample adjustments.
- To refresh the database with seed data:
php artisan migrate:fresh --seed
- Customize seed data inside
database/seedersto reflect your business context.
- REST API endpoints for inventory syncing
- Multi-warehouse support with stock transfers
- Notifications for low-stock alerts
- Role-based access control for audit compliance
Contributions, bug reports, and feature requests are always welcome! Please open an issue to discuss proposed changes or submit a pull request aligned with our coding standards.
This project is distributed under the MIT License. See the LICENSE file for details.








