Symfony Command Daquan

Source: Internet
Author: User

Execute command:

$ PHP Bin/console

Check the command.

Symfony version 3.1.5-app/dev/debugusage:command [options] [arguments]options:-H,--help Display this hel P message-q,--quiet do not output no message-v,--version Display This application version-- ANSI Force ANSI output--NO-ANSI Disable ANSI Output-n,--no-interaction don't ask any Interac tive question-e,--env=env the environment name.  [Default: "Dev"]--no-debug switches off debug mode. -V|VV|VVV,--verbose increase the verbosity of messages:1 for normal output, 2 for + verbose output and 3 for Debugav                                    Ailable Commands:help displays Help for a command list Lists commands Assets Assets:install installs bundles web assets under a public Web direct Ory Cache Cache:clear Clears the cache Cache:warmup Warms up an E Mpty Cache Config CoNfig:dump-reference dumps the default configuration for an extension debug debug:config Dumps the current configuration for a extension debug:container displays current Ser Vices for a application Debug:event-dispatcher displays configured listeners for an application debug: Router displays current routes for an application Debug:swiftmailer Disp   Lays current mailers for an application debug:translation displays translation messages information Debug:twig shows a list of twig functions, filters, Globals and tests doctrine DOCTRINE:CA  Che:clear-collection-region clear a second-level cache collectionregion.  Doctrine:cache:clear-entity-region clear a Second-level cache entity region. Doctrine:cache:clear-metadata clears all metadata cache for an entity manager doctrine:cache:clear-Query clears all query cache for an entity manager doctrine:cache:clear-query-region clear a Second-le  Vel cache Query region.                Doctrine:cache:clear-result clears result cache for an entity manager doctrine:database:create Creates the configured database Doctrine:database:drop Drops the configured database Doctrine:database  : Import Import SQL file (s) directly to Database.  Doctrine:ensure-production-settings Verify that doctrine was properly configured for a production environment.              Doctrine:generate:crud generates a crud based on a doctrine entity doctrine:generate:entities Generates entity classes and method stubs from your mapping information doctrine:generate:entity genera TES a new Doctrine entity inside a bundle Doctrine:generate:form generates a form type class based on a Doctrine Entity Doctrine:mapping:convert converT mapping information between supported formats. Doctrine:mapping:import Imports mapping information from an existing database Doctrine:mapping:info doct  Rine:migrations:diff Generate A migration by comparing your current database to your mapping information.  Doctrine:migrations:execute execute a single migration version Upor down manually.  Doctrine:migrations:generate Generate a blank migration class.  Doctrine:migrations:latest Outputs The latest version number Doctrine:migrations:migrate Execute  A migration to a specified version or the latest available version.  Doctrine:migrations:status View The status of a set of migrations.  Doctrine:migrations:version manually add and delete migration versions from the version table.  DOCTRINE:QUERY:DQL executes arbitrary dql directly from the command line. Doctrine:query:sql executes arbitrary SQL directly from the command line. Doctrine:schema:create executes (or dumps) the SQL needed togenerate the database schema Doctrine:schema                  :d ROP executes (or dumps) the SQL needed Todrop the current database schema Doctrine:schema:update  Executes (or dumps) the SQL needed toupdate the database schema to match the current mapping metadata. Doctrine:schema:validate Validate the mapping files. FOS fos:user:activate Activate a user Fos:user:change-password change the password  of a user.  Fos:user:create Create a user. Fos:user:deactivate deactivate a user fos:user:demote demote a user by Removi                         ng a role Fos:user:promote promotes a user by adding a role generate Generate:bundle Generates a bundle Generate:command generates a console CommanD Generate:controller generates a controller Generate:doctrine:crud generates a CRU D based on a Doctrine entity generate:doctrine:entities generates entity classes and method stubs from your Mapping information generate:doctrine:entity generates a new doctrine entity inside a bundle Generate:doc               Trine:form generates a form type class based on a Doctrine entity LIIP liip:imagine:cache:remove  Remove cache for given paths and set of filters. Liip:imagine:cache:resolve resolve cache for given path and set of filters.                               Lint Lint:twig lints A template and outputs encountered errors Lint:yaml Lints a file and outputs encountered errors ORM orm:convert:mapping convert mapping Info Rmation between supported formats. Router Router:match helps debug routes by simulating a path Info Match Security Security:check Checks security issues in your project dependencies Securit Y:encode-password encodes a password. Server Server:run Runs PHP built-in Web server Server:start Star TS PHP built-in Web server in Thebackground server:status Outputs the status of the built-in we b Server for the given address server:stop Stops PHP's built-in Web server that is started W ith the Server:start command Swiftmailer swiftmailer:debug displays current mailers for an applicat Ion Swiftmailer:email:send send simple email message swiftmailer:spool:send sends Emai LS from the spool translation translation:update Updates the translation file Vich vich:mapping:deb  UG Debug a mapping. Vich:mapping:debug-class Debug a CLASs. Vich:mapping:list-classes searches for uploadable classes.

Chinese as follows

1 Available Commands:2 help display a command's helpful information3 List command lists4 assetic5 Assetic:dump saves all asset to the file system. 6 Assets7 Assets:install installs asset for each bundle site in the public site directory. 8 Cache9 cache:clear clearing the cacheTen Cache:warmup Warms up an empty cache One Config A Config:debug Extending the current configuration -config:dump-reference the default configuration extension - Container the Container:debug displaying the current service for the application - Debug - Debug:config the currently configured extension - Debug:container displaying the application's current service +debug:event-Dispatcher Display the application's configuration listener - Debug:router Displays the current path of the application + Debug:swiftmailer Display the application's current message A debug:translation Display the translation of message information at Debug:twig list shows twig functions, filters, global variables and tests - doctrine -doctrine:cache:clear-metadata clears all meta-data caches for an entity manager.  -doctrine:cache:clear-Query clears all query caches for an entity manager -doctrine:cache:clear-result clears the results cache for an entity manager - doctrine:database:create Creating a configured database in Doctrine:database:drop to delete a configured database -doctrine:ensure-production-settings Confirm that the doctrine configuration is correct in the production environment to Doctrine:generate:crud based on doctrine entities to generate additions and deletions (crud) + Doctrine:generate:entities generating stubs for entity classes and methods from your mapping information - doctrine:generate:entity Creating a new doctrine entity in bundles the doctrine:generate:form Generating a form type class based on the doctrine entity * Doctrine:mapping:convert Converting mapping information between supported formats $Doctrine:mapping:ImportImport mapping information from a database that already existsPanax Notoginseng Doctrine:mapping:info Show basic information for all mapped entities - DOCTRINE:QUERY:DQL Run any dql directly from the command line the Doctrine:query:sql Run any SQL directly from the command line + doctrine:schema:create execute (or dump) SQL statements required to generate a database schema A Doctrine:schema:drop execute (or dump) SQL statements required to delete a database schema the doctrine:schema:update execute (or dump) update the SQL statement required to match the current mapping metadata database schema + Generate - Generate:bundle Generating Bundles $ Generate:controller Generating a controller $ Generate:doctrine:crud generating crud based on doctrine entities - Generate:doctrine:entities generating stubs for entity classes and methods from your mapping information - generate:doctrine:entity A new entity in the bundle that generates a doctrine the generate:doctrine:form Generating a form type class based on the doctrine entity - InitWuyi init:acl installing ACL data tables in the database the ORM - orm:convert:mapping Conversion Support for mapping information between formats Wu Router - Router:debug displaying the current route for the application Aboutrouter:dump-Apache dumps all routes as Apache rewrite rules $ Security - Security:check Check your project dependencies for security issues - Server - Server:run running PHP built-in Web server A server:start start PHP built-in Web server in the background + Server:status The status of a built-in Web server that outputs a given address the server:stop stop PHP's built-in Web server from the server's startup command - Swiftmailer $ Swiftmailer:debug Display the application's current message the swiftmailer:email:send Simple e-mail delivery the swiftmailer:spool:send sending e-mail from the pool the translation the translation:debug Display the translation of message information - translation:update updating translation files in Twig the twig:debug list shows twig functions, filters, global variables and tests the Twig:lint Lint error encountered by a template output About Yaml theYaml:lint Lint error encountered with a file output
View Code

Symfony Command Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.