{"repo":"bitsandbots/inventory","free":true,"listed":false,"github":"https://github.com/bitsandbots/inventory","clone":"git clone https://github.com/bitsandbots/inventory.git","description":"Self-hosted inventory management system with sales orders, invoices, picklists, and reporting. PHP 8.x + MariaDB, offline-first, MIT-licensed.","language":"PHP","stars":67,"topics":["inventory","inventory-management","php","mariadb","mysql","bootstrap","stock-management","database","bcrypt","csrf"],"license":null,"category":"databases-storage","readme_excerpt":"Inventory Inventory Management System with invoices, picklists, and sales reporting. Source : https://github.com/bitsandbots/inventory PHP 8.2+ + MariaDB application targeting self-hosted deployment on Raspberry Pi or any Apache + MySQL host. Offline-first (no CDN dependencies). Three-role access control: Admin / Supervisor / User. --- Quick start The installer detects PHP, MySQL, and Apache, creates the database from schema.sql , generates a .env with a strong APP SECRET , creates a least-privilege MySQL app user, and wires up an Apache vhost on port 8080. To wipe an existing deployment and reinstall fresh: Development setup After cloning, install dev dependencies and run the test suite: PHPUnit 11 requires PHP 8.2+. The repo pins platform.php to 8.2 in composer.json so the resolver stays consistent across deploy targets. vendor/ is gitignored; only composer.json and composer.lock are versioned. Run composer install whenever the lock file changes. For manual install, troubleshooting, role-based workflows, and daily operations, see docs/setup-and-usage.md . Testing Command What it runs --------- -------------- bash tests/run.sh PHPUnit + legacy scripts + Playwright (full suite) vendor/bin/phpunit Only the PHPUnit class tests vendor/bin/phpunit --filter CSRFTest One PHPUnit class vendor/bin/phpunit --filter csrf token generates a hex token One method npx playwright test Only the e2e UI tests TESTS NO DB=1 vendor/bin/phpunit Skip DB-dependent setup in bootstrap The PHPUnit suit","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitsandbots","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitsandbots/inventory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}