indigophp / robo-doctrine
此包已被弃用,不再维护。未建议替代包。
Robo Task Runner 的 Doctrine (DBAL, ORM) 任务
v0.2.0
2015-04-18 22:29 UTC
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2021-11-24 09:11:04 UTC
README
Robo Task Runner 的 Doctrine (DBAL, ORM) 任务。
安装
通过 Composer
$ composer require indigophp/robo-doctrine
用法
- 在你的
RoboFile
中使用其中一个任务加载器特质 - 像往常一样运行命令
ORM 命令
orm:clear-cache-metadata Clear all metadata cache of the various cache drivers
orm:clear-cache-query Clear all query cache of the various cache drivers
orm:clear-cache-result Clear all result cache of the various cache drivers
orm:convert-d1-schema Converts Doctrine 1.X schema into a Doctrine 2.X schema
orm:convert-mapping Convert mapping information between supported formats
orm:ensure-production-settings Verify that Doctrine is properly configured for a production environment
orm:generate-entities Generate entity classes and method stubs from your mapping information
orm:generate-proxies Generates proxy classes for entity classes
orm:generate-repositories Generate repository classes from your mapping information
orm:info Show basic information about all mapped entities
orm:run-dql Executes arbitrary DQL directly from the command line
orm:schema-create Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output
orm:schema-drop Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output
orm:schema-update Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata
orm:validate-schema Validate the mapping files
贡献
请参阅CONTRIBUTING以获取详细信息。
致谢
许可
MIT 许可证 (MIT)。请参阅许可文件以获取更多信息。