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.
If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 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 Patreon page.
- Vehikl
- Tighten Co.
- Kirschbaum Development Group
- 64 Robots
- Cubet Techno Labs
- Cyber-Duck
- Many
- Webdock, Fast VPS Hosting
- DevSquad
- Curotec
- OP.GG
- CMS Max
- WebReinvent
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.
composer global require laravel/installer
vim ~/.bashrc
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
composer global require cpriego/valet-linux
valet install
valet secure
sudo cat /etc/mysql/debian.cnf
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
FLUSH PRIVILEGES;
npm install
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
sudo apt install php-mysql
alias art='php artisan'
art migrate
art serve
art migrate:fresh
art ti
\App\Models\User::all();
art make:model Model
art make:model Channel -m
art migrate
art make:listener Users/CreateUserChannel
art migrate:refresh --seed
art ti>\App\Models\User::all()->load('channel');
art make:controller ChannelController --resource
composer require "spatie/laravel-medialibrary:^9.8"
art vendor:publish
art migrate
\App\Models\Channel::first()->load('media')
php artisan storage:link
art make:request Channels/UpdateChannelRequest
art make:model Subscription -m
art make:controller SubscriptionController --resource
art make:factory Subscription
art make:factory Channel
art migrate:fresh
art db:seed
nmp install numeral
art make:controller UploadVideoController
composer require pbmedia/laravel-ffmpeg
art make:job Videos/ConvertForStreaming
art queue:table
art migrate
art migrate:fresh --seed
art queue:work --sleep=0 --timeout 60000
art migrate:fresh --seed
art make:job Videos/CreateVideoThumbnail
art migrate:fresh --seed
art make:controller VideoController
art migrate:fresh --seed
npm run watch
art make:request Videos/UpdateVideoRequest
art make:model Vote -m
art migrate
art migrate:rollback
art migrate
art make:controller VoteController
art make:model Comment -m -c
art make:factory Comment
art make:factory Video
art migrate:fresh --seed
npm install vue-avatar
art ti -> \App\Models\Comment::factory(50)->create([ 'comment_id' => 'd4d30e28-797c-44f3-b00c-29eeaa55defa']);