Skip to content

sangit0/Stock-Management

Repository files navigation

Stock Management System  📦

PHP Laravel License Made With Love

🚀 A modern Laravel application for teams that need a single source of truth for stock levels, supplier relationships, and purchasing workflows.


🧭 Table of Contents


✨ Overview

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.


🌟 Key Features

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

🧱 Technology Stack

  • 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

🗂️ Project Structure

Stock-Management/
├── app/
│   ├── Http/
│   │   ├── Controllers/
│   │   ├── Requests/
│   │   └── Resources/
│   ├── Models/
│   └── Services/
├── database/
│   ├── factories/
│   ├── migrations/
│   └── seeders/
├── public/
├── resources/
│   ├── assets/
│   └── views/
├── routes/
├── tests/
└── readme.md

⚙️ Getting Started

  1. Clone the repository
    git clone https://github.com/sangit0/Stock-Management.git
    cd Stock-Management
  2. Install PHP dependencies
    composer install
  3. Install JavaScript dependencies
    npm install
  4. Bootstrap the environment
    cp .env.example .env
    php artisan key:generate
  5. Configure the database Update .env with your database credentials and queue/mail driver settings.
  6. Run migrations and seeders
    php artisan migrate --seed
  7. Serve the application
    php artisan serve

🛠 Command Cheat Sheet

# 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

🧪 Testing

  • Feature and integration tests live under tests/Feature.
  • Execute all tests with:
    php artisan test
  • Use php artisan test --filter=SupplierManagementTest to target a single suite.

💾 Database & Seeding

  • 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/seeders to reflect your business context.

🖼 Screenshots

Dashboard view Stock management Invoice PDF Supplier payment Brand settings Product list Payment methods Stock entry Reports


🚧 Roadmap

  • REST API endpoints for inventory syncing
  • Multi-warehouse support with stock transfers
  • Notifications for low-stock alerts
  • Role-based access control for audit compliance

🤝 Contributing

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.


📄 License

This project is distributed under the MIT License. See the LICENSE file for details.

About

Stock management system example using laravel 5.5, JS and bootstrap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published