· 6 years ago · Jul 10, 2019, 12:16 PM
1bash-4.4# php bin/console
2Symfony 4.1.3 (kernel: src, env: prod, debug: false)
3
4Usage:
5 command [options] [arguments]
6
7Options:
8 -h, --help Display this help message
9 -q, --quiet Do not output any message
10 -V, --version Display this application version
11 --ansi Force ANSI output
12 --no-ansi Disable ANSI output
13 -n, --no-interaction Do not ask any interactive question
14 -e, --env=ENV The Environment name. [default: "prod"]
15 --no-debug Switches off debug mode.
16 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
17
18Available commands:
19 about Displays information about the current project
20 help Displays help for a command
21 list Lists commands
22 slug-generator
23 assets
24 assets:install Installs bundles web assets under a public directory
25 cache
26 cache:clear Clears the cache
27 cache:create-cache-class Generate the classes.php files
28 cache:pool:clear Clears cache pools
29 cache:pool:delete Deletes an item from a cache pool
30 cache:pool:prune Prunes cache pools
31 cache:warmup Warms up an empty cache
32 ckeditor
33 ckeditor:install Install CKEditor
34 completion-mark
35 completion-mark:map
36 config
37 config:dump-reference Dumps the default configuration for an extension
38 debug
39 debug:autowiring Lists classes/interfaces you can use for autowiring
40 debug:config Dumps the current configuration for an extension
41 debug:container Displays current services for an application
42 debug:event-dispatcher Displays configured listeners for an application
43 debug:form Displays form type information
44 debug:router Displays current routes for an application
45 debug:swiftmailer Displays current mailers for an application
46 debug:translation Displays translation messages information
47 debug:twig Shows a list of twig functions, filters, globals and tests
48 doctrine
49 doctrine:cache:clear-collection-region Clear a second-level cache collection region
50 doctrine:cache:clear-entity-region Clear a second-level cache entity region
51 doctrine:cache:clear-metadata Clears all metadata cache for an entity manager
52 doctrine:cache:clear-query Clears all query cache for an entity manager
53 doctrine:cache:clear-query-region Clear a second-level cache query region
54 doctrine:cache:clear-result Clears result cache for an entity manager
55 doctrine:cache:contains Check if a cache entry exists
56 doctrine:cache:delete Delete a cache entry
57 doctrine:cache:flush [doctrine:cache:clear] Flush a given cache
58 doctrine:cache:stats Get stats on a given cache provider
59 doctrine:database:create Creates the configured database
60 doctrine:database:drop Drops the configured database
61 doctrine:database:import Import SQL file(s) directly to Database.
62 doctrine:ensure-production-settings Verify that Doctrine is properly configured for a production environment
63 doctrine:generate:entities [generate:doctrine:entities] Generates entity classes and method stubs from your mapping information
64 doctrine:mapping:convert [orm:convert:mapping] Convert mapping information between supported formats
65 doctrine:mapping:import Imports mapping information from an existing database
66 doctrine:mapping:info
67 doctrine:migrations:diff Generate a migration by comparing your current database to your mapping information.
68 doctrine:migrations:execute Execute a single migration version up or down manually.
69 doctrine:migrations:generate Generate a blank migration class.
70 doctrine:migrations:latest Outputs the latest version number
71 doctrine:migrations:migrate Execute a migration to a specified version or the latest available version.
72 doctrine:migrations:status View the status of a set of migrations.
73 doctrine:migrations:version Manually add and delete migration versions from the version table.
74 doctrine:query:dql Executes arbitrary DQL directly from the command line
75 doctrine:query:sql Executes arbitrary SQL directly from the command line.
76 doctrine:schema:create Executes (or dumps) the SQL needed to generate the database schema
77 doctrine:schema:drop Executes (or dumps) the SQL needed to drop the current database schema
78 doctrine:schema:update Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
79 doctrine:schema:validate Validate the mapping files
80 fos
81 fos:user:activate Activate a user
82 fos:user:change-password Change the password of a user.
83 fos:user:create Create a user.
84 fos:user:deactivate Deactivate a user
85 fos:user:demote Demote a user by removing a role
86 fos:user:promote Promotes a user by adding a role
87 lint
88 lint:twig Lints a template and outputs encountered errors
89 lint:xliff Lints a XLIFF file and outputs encountered errors
90 lint:yaml Lints a file and outputs encountered errors
91 monitor
92 monitor:health Runs Health Checks
93 monitor:list Lists Health Checks
94 rabbitmq
95 rabbitmq:anon-consumer Executes an anonymous consumer
96 rabbitmq:batch:consumer Executes a Batch Consumer
97 rabbitmq:consumer Executes a consumer
98 rabbitmq:delete Delete a consumer's queue
99 rabbitmq:dynamic-consumer Executes context-aware consumer
100 rabbitmq:multiple-consumer Executes a consumer that uses multiple queues
101 rabbitmq:purge Purge a consumer's queue
102 rabbitmq:rpc-server Start an RPC server
103 rabbitmq:setup-fabric Sets up the Rabbit MQ fabric
104 rabbitmq:stdin-producer Executes a producer that reads data from STDIN
105 redis
106 redis:flushall Flushes the redis database using the redis flushall command
107 redis:flushdb Flushes the redis database using the redis flushdb command
108 router
109 router:match Helps debug routes by simulating a path info match
110 security
111 security:encode-password Encodes a password.
112 sitemap
113 sitemap:generate
114 sonata
115 sonata:admin:explain Explain an admin service
116 sonata:admin:generate-object-acl Install ACL for the objects of the Admin Classes.
117 sonata:admin:list List all admin services available
118 sonata:admin:setup-acl Install ACL for Admin Classes
119 sonata:block:debug Debug all blocks available, show default settings of each block
120 sonata:classification:fix-context Generate the default context if none defined and attach the context to all elements
121 sonata:core:dump-doctrine-metadata Get information on the current Doctrine's schema
122 sonata:easy-extends:dump-mapping Dump some mapping information (debug only)
123 sonata:easy-extends:generate Create entities used by Sonata's bundles
124 sonata:media:add Add a media into the database
125 sonata:media:add-multiple Add medias in mass into the database
126 sonata:media:clean-uploads Find orphaned files in media upload directory
127 sonata:media:fix-media-context Generate the default category for each media context
128 sonata:media:migrate-json Migrate all media provider metadata to the doctrine JsonType
129 sonata:media:refresh-metadata Refresh meta information
130 sonata:media:remove-thumbnails Remove uploaded image thumbs
131 sonata:media:sync-thumbnails Sync uploaded image thumbs with new media formats
132 sonata:media:update-cdn-status Refresh CDN status for medias that are in status flushing
133 sonata:notification:cleanup Clean up backend message
134 sonata:notification:create-and-publish
135 sonata:notification:list-handler List all consumers available
136 sonata:notification:list-queues List all queues available
137 sonata:notification:restart Restart messages with erroneous statuses, only for doctrine backends
138 sonata:notification:start Listen for incoming messages
139 sonata:seo:sitemap Create a sitemap
140 sonata:user:two-step-verification Generate a two step verification process to secure an access (Ideal for super admin protection)
141 spheres-monthly-mark
142 spheres-monthly-mark:refresh
143 swiftmailer
144 swiftmailer:email:send Send simple email message
145 swiftmailer:spool:send Sends emails from the spool
146 translation
147 translation:update Updates the translation file