Posted by Kosal
If you’re looking for a ready-to-use Point of Sale (POS) system built with Laravel, you’re in the right place.
This project was developed during the video tutorial “Create POS System Using Laravel” and is perfect for developers who want to learn Laravel by building a real-world application or use it as a starting point for their own POS software.
Orng Sorl (Kosal) – Software Engineer skilled in Laravel, TypeScript, and Flutter, building web and mobile applications with clean, efficient code.
Before you start, make sure you have the following installed:
Open your terminal and run:
git clone https://github.com/angkosal/laravel-pos.git [YourDirectoryName]
Replace [YourDirectoryName]
with your preferred folder name.
Navigate into your project folder and install the required Laravel packages using Composer:
cd YourDirectoryName
composer install
.env.example
and rename it to .env
.php artisan key:generate
.env
file and:
DB_DATABASE
, DB_USERNAME
, DB_PASSWORD
).APP_URL
to match your environment (e.g., http://localhost:8000
).Run the following commands to create the necessary tables and seed the database with default settings:
php artisan migrate
php artisan db:seed
Default Admin Login:
admin@gmail.com
admin123
This project uses Laravel Mix for asset compilation. Install Node.js dependencies by running:
npm install
For development:
npm run dev
For production:
npm run build
Run the following command to make storage accessible publicly:
php artisan storage:link
php artisan serve
Now open your browser and visit:
http://127.0.0.1:8000
Log in using the default admin credentials to start exploring your POS system.
That’s it! 🎉 You’ve successfully installed and run your Laravel-based POS system.
This setup gives you a solid foundation to learn Laravel while having a functional POS solution you can customize for your business.
If you want to watch the full development process, check out the "Create POS System Using Laravel" video tutorial for more in-depth explanations.