- PHP 52.9%
- Vue 46.6%
- JavaScript 0.4%
- Blade 0.1%
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| lang/en | ||
| public | ||
| resources | ||
| routes | ||
| storage | ||
| tests | ||
| .editorconfig | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| artisan | ||
| composer.json | ||
| composer.lock | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
| phpunit.xml | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite.config.js | ||
License
The Laravel framework is open-sourced software licensed under the MIT license. The project itself "Asset Tracker" is not open-source (License TBD).
Project Tracker
View the up to date progress tracker here. Feel free to add a suggestion as a comment.
Setup & Installation
Requirements
Installation
- Create an .env file based on the .env.example
- php ini enable these extensions
- composer install
- composer update
- composer global require laravel/installer
- Add Laravel Jetstream to handle authentication, etc
composer require laravel/jetstream --dev - Add table builder to display data in tables
composer require protonemedia/inertiajs-tables-laravel-query-buildercomposer require spatie/laravel-query-builder - Install dependencies
npm install - Serve application
php artisan serve - Generate app key in browser (first time only)
- Create/migrate database (first time only - or if updates are made to database) - use a new terminal
php artisan migrate- make sure that php.ini has the pdo_mysql extension uncommented -> prevent missing driver error
- Using Vite
npm run dev- if localhost refuses to connect, update APP_URL in .env to http://127.0.0.1:8000/
Querying Production Database
- In app directory login to the forge cli, providing the api key when requested
forge login- if you receive a curl(60) error, download a certificate from here
- Enter an ssh session with the server
forge ssh- to generate an ssh read here
- Login to MySQL on the server
mysql --user=admin --password=password db_name
About Laravel
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.
Learning Laravel
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 may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 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.
Contributing
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
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.