
Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build your application. To view a list of all available Artisan commands , you may use the list command:
Laravel create controller
php artisan make:controller UserController
php artisan make:controller CategoriesController --resource
php artisan make:controller Blog/PostsController
Laravel create component
php artisan make:component Header
laravel new project_name
php artisan serve
php artisan make:auth
php artisan route:list
php artisan migrate:refresh
php artisan migrate:refresh --seed
php artisan ui vue --auth
Model With Migration
php artisan make:model Post -m
php artisan make:model Category -m
php artisan route:clear
php artisan optimize
php artisan up
php artisan down
php artisan config:cache
php artisan migrate:rollback
php artisan migrate --path=/database/migrations/2019_10_06_052849_create_categories_table.php
php artisan help migrate
php artisan make:request CreateCategoryRequest
php artisan make:request Categories/CreateCategoryRequest
php artisan storage:link
php artisan make:migration create_post_tag_table --table=post_tag
php artisan cache:clear
php artisan make:resource CategoriesResource
php artisan make:middleware VerifyCategoriesCount
php artisan make:seeder PostsTableSeeder
php artisan migrate:refresh --seed
php artisan vendor:publish
php artisan make:factory ModelFactory
php artisan make:seed ProductsTableSeeder
php artisan schedule:list
php artisan key:generate
Laravel Tinker
Laravel Tinker allows you to interact with a database without creating the routes. Laravel tinker is used with a php artisan to create the objects or modify the data. Tinker is a command tool that works with a php artisan. A tinker plays around the database means that it allows you to create the objects, insert the data, etc.
php artisan tinker User::all(); exit
Composer
Composer is an application-level dependency manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries.
composer require laravel/ui
composer update