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 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.
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
- WebReinvent
- Lendio
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 [email protected]. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.
check: Xampp Composer Git GitHub for desktop Vscode Browser
extensions: auto close tag auto rename tag bracket pair colorization toggler code spell checker composer Laravel Artisan Laravel Blade Prettier Rainbow Brackets
download: https://github.com/merzainc/bootstrap-offline-docs/releases/tag/v.5.3
prepare: bootstrap cheatsheet
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> @vite(['resources/sass/app.scss', 'resources/js/app.js']) laravel controller picturesteps: create folder, open in cmd, type code .
[need net] open vs terminal type 'composer create-project laravel/laravel .' // for installing bootstrap composer require laravel/ui // install bootstrap php artisan ui bootstrap // bootstrap npm i [email protected] // check node installation
node -v
npm -v // run bootstrap npm install npm run dev
open xampp, start apache & mysql go to localhost/phpmyadmin create db named laravel-test once laravel create proj is finished, add to .env 'laravel-test' as db name php artisan make:model Products -mc php artisan serve - to run the server configure web.php for product index add products folder and index.blade.php create index function in ProductsController edit products table in databases folder (bigincrement id, string product_name, bigint quantity, string unit, bigint price, string image_path, timestamp) migrate db insert into db ui in index $products = Product::all(); return view('product.index', compact('products')); double check 's' in product's' in Pcontroller @foreach in index.blade.php do show route Pcontroller route model binding return view product.show views of product.show add protected $guarded = []; in models
get post put patch delete
help commands php artisan list php artisan make:model Products -controller -migration/ -mc
Laravel Notes
// create new laravel project composer create-project laravel/laravel example-app
// change directory cd example-app
// start hosting php artisan serve
// for installing bootstrap composer require laravel/ui
// install bootstrap php artisan ui bootstrap
// bootstrap npm i [email protected]
// check node installation
node -v
npm -v
// run bootstrap npm install npm run dev
// php artisan storage:link
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<!-- Load jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Load Bootstrap JS with Popper.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>