Skip to content

Latest commit

 

History

History
130 lines (89 loc) · 5.29 KB

README.md

File metadata and controls

130 lines (89 loc) · 5.29 KB

Laravel Logo

Build Status Total Downloads Latest Stable Version License

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:

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.

Laravel Sponsors

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.

Premium Partners

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.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Laravel Template Example for 2023 versions of Laravel & PHP: 27.02.2023

Crating new project

  • composer global require laravel/installer
  • laravel new name

Cloning new project

  • git clone

Development

Project commands

Installing Composer

  • composer install
  • cp .env.example .env
  • create db in phpMyAdmin and replace DB_DATABASE in .env file
  • php artisan key:generate
  • php artisan migrate
  • php artisan serve
  • access website at localhost:8000

DB Migrations

  • php artisan serve
  • php artisan make:migration create_name_table
  • php artisan migrate
  • php artisan migrate:rollback

Installing Breeze

  • composer require laravel/breeze
  • php artisan breeze:install
  • npm install && npm run dev

php artisan make:model Category -m

DB Seeding

  • php artisan db:seed
  • php artisan make:seeder AdminSeeder
  • php artisan make:migration add_is_admin_to_users_table

Project Tasks

  • created empty laravel template
  • create git repo
  • choose a different template
  • choose a name
  • choose a suitable color pallete

Project Features

  • enable dark/light mode
  • add table columns in db

Versions

  • PHP 8.1.10
  • Laravel 9
  • blade languange

Youtube tutorial: https://www.youtube.com/watch?v=2bz5eleBj98