Laravel Artisan Command List

Send Email Via Sendgrid Laravel Project Example Code

आज इस आर्टिकल मे हम आपको Laravel Artisan Command List के बारे मे बताएंगे

Laravel Artisan Command List, laravel,artisan,artisan command,laravel artisan,
laravel tutorial,laravel artisan command,laravel 5.8 artisan command,laravel
5.5,laravel 5.8 own artisan command,artisan laravel command,laravel 5,
laravel tutorial for beginners step by step,commands,laravel 5.4,learn laravel,
laravel artisan console,artisan commands,create artisan command,new artisan command,
own artisan command,laravel command,laravel 5.8 artisan console

Laravel Artisan Command List

CommandUses
php artisan -h / –helpDisplay this help message
-q, –quietDo not output any message
-V, –versionDisplay this application version
–ansiForce ANSI output
–no-ansiDisable ANSI output
-n, –no-interactionDo not ask any interactive question
–env[=ENV]The environment the command should run under
-v|vv|vvv, –verboseIncrease the verbosity of messages: 1 for normal output,
2 for more verbose output and 3 for debug
Available commands (CLI): 
clear-compiledRemove the compiled class file
downPut the application into maintenance mode
dump-serverStart the dump server to collect dump information.
envDisplay the current framework environment
helpDisplays help for a command
inspireDisplay an inspiring quote
listLists Commands
migrateRun the database migrations
optimize

Cache the framework bootstrap files

presetSwap the front-end scaffolding for the application
serveServe the application on the PHP development server
tinkerInteract with your application
upBring the application out of maintenance mode
App 
app:nameSet the application namespace
Auth 
auth:clear-resetsFlush expired password reset tokens
Cache 
cache:clearFlush the application cache
cache:forgetRemove an item from the cache
cache:tableCreate a migration for the cache database table
Config Command 
config:cacheCreate a cache file for faster configuration loading
config:clearRemove the configuration cache file
DB 
db:seedSeed the database with records
Event 
event:cacheDiscover and cache the application’s events and
listeners
event:clearClear all cached events and listeners
event:generateGenerate the missing events and listeners
based on registration
event:listList the application’s events and listeners
Key 
key:generateSet the application key

Laravel Artisan Command List

Make
make:authScaffold basic login and registration
views and routes
make:channelCreate a new channel class
make:commandCreate a new Artisan Command
make:controllerCreate a new controller class
make:eventCreate a new event class
make:exceptionCreate a new exception class
make:factoryCreate a new model factory
make:jobCreate a new job class
make:listenerCreate a new event listener class
make:mailCreate a new mail class
make:middlewareCreate a new middleware class
make:modelCreate a new Eloquent model Class
make:migrationCreate a new migration file
make:notificationCreate a new notification class
make:observerCreate a new observer class
make:policyCreate a new policy class
make:providerCreate a new service provider class
make:requestCreate a new form request class
make:resourceCreate a new resources
make:ruleCreate a new validation rule
make:seederCreate a new seeder class
make:testCreate a new test class
Migrate
migrate:fresh

Drop all tables and re-run all migrations
migrate:installCreate the migration repository
migrate:refreshReset and re-run all migrations
migrate:resetRollback all database migrations
migrate:rollbackRollback the last database migration
migrate:statusShow the status of each migration
Notifications
notifications:tableCreate a migration for the notifications table
optimize
optimize:clearRemove the cached bootstrap files
package
package:discoverRebuild the cached package manifest
queue
queue:failed

List all of the failed queue jobs
queue:failed-tableCreate a migration for the failed queue jobs
database table
queue:flushFlush all of the failed queue jobs
queue:forgetDelete a failed queue job
queue:listenListen to a given queue
queue:restartRestart queue worker daemons after their current job
queue:retryRetry a failed queue job
queue:tableCreate a migration for the queue jobs database table
queue:workStart processing jobs on the queue as a daemon
route
route:cacheCreate a route cache file for faster route registration
route:clearRemove the route cache file
route:listList all registered routes
schedule
schedule:run

Run the scheduled commands
session
session:table

Create a migration for the session database table
storage
storage:linkCreate a symbolic link from “public/storage”
to “storage/app/public”
vendor
vendor:publishPublish any publishable assets from vendor packages
view
view:cacheCompile all of the application’s Blade templates
view:clearClear all compiled view files
इसे भी पढ़े –Calisthenics और Weightlifting में क्या फर्क है?

संतरा या नारंगी के औषधीय गुण

Final Words

  • आज इस आर्टिकल मे हमने आपको Laravel Artisan Command List
    के बारे मे बताया है।
  • अगर आपको इसके बारे मे और कुछ जानना है।
  • तो आप निचे दिए गए कमेंट बॉक्स मे कमेंट कर के बता सकते है।

इसे भी पढ़े – Send Email Via Sendgrid Laravel Project Example Code

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *