8 months ago

php artisan not working

Posted 8 months ago by lemmon

After I create a project using either "laravel new blog" or: composer create-project --prefer-dist laravel/laravel blog "5.8.*" so version 6 or version 5.8 and then I run php artisan list or any artisan command I get the stuff below

[email protected] MINGW64 /c/wamp64/www/vue-app
$ php artisan list
Laravel Framework ?[32m5.8.35?[39m

  command [options] [arguments]

  ?[32m-h, --help?[39m            Display this help message
  ?[32m-q, --quiet?[39m           Do not output any message
  ?[32m-V, --version?[39m         Display this application version
  ?[32m    --ansi?[39m            Force ANSI output
  ?[32m    --no-ansi?[39m         Disable ANSI output
  ?[32m-n, --no-interaction?[39m  Do not ask any interactive question
  ?[32m    --env[=ENV]?[39m       The environment the command should run under
  ?[32m-v|vv|vvv, --verbose?[39m  Increase the verbosity of messages: 1 for norm
al output, 2 for more verbose output and 3 for debug

?[33mAvailable commands:?[39m
  ?[32mclear-compiled?[39m       Remove the compiled class file
  ?[32mdown?[39m                 Put the application into maintenance mode
  ?[32mdump-server?[39m          Start the dump server to collect dump informati
  ?[32menv?[39m                  Display the current framework environment
  ?[32mhelp?[39m                 Displays help for a command
  ?[32minspire?[39m              Display an inspiring quote
  ?[32mlist?[39m                 Lists commands
  ?[32mmigrate?[39m              Run the database migrations
  ?[32moptimize?[39m             Cache the framework bootstrap files
  ?[32mpreset?[39m               Swap the front-end scaffolding for the applicat
  ?[32mserve?[39m                Serve the application on the PHP development se
  ?[32mtinker?[39m               Interact with your application
  ?[32mup?[39m                   Bring the application out of maintenance mode
  ?[32mapp:name?[39m             Set the application namespace
  ?[32mauth:clear-resets?[39m    Flush expired password reset tokens
  ?[32mcache:clear?[39m          Flush the application cache
  ?[32mcache:forget?[39m         Remove an item from the cache
  ?[32mcache:table?[39m          Create a migration for the cache database table

  ?[32mconfig:cache?[39m         Create a cache file for faster configuration lo
  ?[32mconfig:clear?[39m         Remove the configuration cache file
  ?[32mdb:seed?[39m              Seed the database with records
  ?[32mevent:cache?[39m          Discover and cache the application's events and
  ?[32mevent:clear?[39m          Clear all cached events and listeners
  ?[32mevent:generate?[39m       Generate the missing events and listeners based
 on registration
  ?[32mevent:list?[39m           List the application's events and listeners
  ?[32mkey:generate?[39m         Set the application key
  ?[32mmake:auth?[39m            Scaffold basic login and registration views and
  ?[32mmake:channel?[39m         Create a new channel class
  ?[32mmake:command?[39m         Create a new Artisan command
  ?[32mmake:controller?[39m      Create a new controller class
  ?[32mmake:event?[39m           Create a new event class
  ?[32mmake:exception?[39m       Create a new custom exception class
  ?[32mmake:factory?[39m         Create a new model factory
  ?[32mmake:job?[39m             Create a new job class
  ?[32mmake:listener?[39m        Create a new event listener class
  ?[32mmake:mail?[39m            Create a new email class
  ?[32mmake:middleware?[39m      Create a new middleware class
  ?[32mmake:migration?[39m       Create a new migration file
  ?[32mmake:model?[39m           Create a new Eloquent model class
  ?[32mmake:notification?[39m    Create a new notification class
  ?[32mmake:observer?[39m        Create a new observer class
  ?[32mmake:policy?[39m          Create a new policy class
  ?[32mmake:provider?[39m        Create a new service provider class
  ?[32mmake:request?[39m         Create a new form request class
  ?[32mmake:resource?[39m        Create a new resource
  ?[32mmake:rule?[39m            Create a new validation rule
  ?[32mmake:seeder?[39m          Create a new seeder class
  ?[32mmake:test?[39m            Create a new test class
  ?[32mmigrate:fresh?[39m        Drop all tables and re-run all migrations
  ?[32mmigrate:install?[39m      Create the migration repository
  ?[32mmigrate:refresh?[39m      Reset and re-run all migrations
  ?[32mmigrate:reset?[39m        Rollback all database migrations
  ?[32mmigrate:rollback?[39m     Rollback the last database migration
  ?[32mmigrate:status?[39m       Show the status of each migration
  ?[32mnotifications:table?[39m  Create a migration for the notifications table
  ?[32moptimize:clear?[39m       Remove the cached bootstrap files
  ?[32mpackage:discover?[39m     Rebuild the cached package manifest
  ?[32mqueue:failed?[39m         List all of the failed queue jobs
  ?[32mqueue:failed-table?[39m   Create a migration for the failed queue jobs da
tabase table
  ?[32mqueue:flush?[39m          Flush all of the failed queue jobs
  ?[32mqueue:forget?[39m         Delete a failed queue job
  ?[32mqueue:listen?[39m         Listen to a given queue
  ?[32mqueue:restart?[39m        Restart queue worker daemons after their curren
t job
  ?[32mqueue:retry?[39m          Retry a failed queue job
  ?[32mqueue:table?[39m          Create a migration for the queue jobs database
  ?[32mqueue:work?[39m           Start processing jobs on the queue as a daemon
  ?[32mroute:cache?[39m          Create a route cache file for faster route regi
  ?[32mroute:clear?[39m          Remove the route cache file
  ?[32mroute:list?[39m           List all registered routes
  ?[32mschedule:run?[39m         Run the scheduled commands
  ?[32msession:table?[39m        Create a migration for the session database tab
  ?[32mstorage:link?[39m         Create a symbolic link from "public/storage" to
  ?[32mvendor:publish?[39m       Publish any publishable assets from vendor pack
  ?[32mview:cache?[39m           Compile all of the application's Blade template
  ?[32mview:clear?[39m           Clear all compiled view files

Please sign in or create an account to participate in this conversation.