Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.
If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.
Full-stack inventory management with AI. Backend: Laravel 12 (PHP 8.2). Frontend: Next.js 16 (React 19). Docker-first dev environment.
- API (Laravel + PHP-FPM) on http://localhost:8080
- Web (Next.js) on http://localhost:3000
- PgAdmin on http://localhost:5050
Read this in Portuguese: README.pt-BR.md
Prerequisites: Docker Desktop 4.24+ and Compose V2.
- Create environment file for containers (first time only):
cp .env.docker .env- Start everything:
./scripts/docker-up.sh- Open:
- API: http://localhost:8080
- Frontend: http://localhost:3000
- PgAdmin: http://localhost:5050 (admin@admin.com / admin)
Common maintenance:
./scripts/migrate.sh # Run migrations
./scripts/seed.sh # Seed database
./scripts/clear.sh # Clear Laravel caches
./scripts/docker-logs.sh # Tail logs
./scripts/docker-restart.sh # Restart services
./scripts/docker-down.sh # Stop and remove containers/volumesIf you prefer running locally:
Backend:
- PHP 8.2+, Composer, SQLite/Postgres
- Commands:
composer install && cp .env.example .env && php artisan key:generate && php artisan migrate --seed && php artisan serve
Frontend:
- Node.js 20+, pnpm/yarn/npm
- Commands:
cd public/smartstock-frontend && cp .env.local.example .env.local && npm i && npm run dev
- Laravel uses Postgres in Docker. Defaults:
- Host: postgres, Port: 5432, DB: smartstock_ai, User: smartuser, Pass: smartpass
- Frontend reads
NEXT_PUBLIC_API_BASE_URL(defaults to http://localhost:8080) - CORS/Sanctum are configured for localhost:3000 and 8080 via
.env.docker
- backend (Laravel) at repository root
- frontend (Next.js) in
public/smartstock-frontend - Docker files under
docker/and helper scripts underscripts/
Run tests inside the app container:
docker compose exec -u www-data app php artisan test- Port in use: Adjust published ports in
docker-compose.yml - 502 Bad Gateway: ensure
appcontainer is healthy and PHP-FPM is listening on 9000 - Migrations fail on first boot: re-run
./scripts/migrate.shafter Postgres is ready
Below are screenshots of the application (from the demo/ folder):
If images do not render on some platforms due to special characters in file names, consider renaming them (e.g., demo/dashboard.png, demo/inventory.png, demo/movements.png) and updating the paths above.
MIT (see LICENSE)


