Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 101 | All time: 9,795 This week: 455 |
Version | License | PHP version | Categories | |||
dot-naming-strategy 0.1 | MIT/X Consortium ... | 5.4 | PHP 5, Databases, Design Patterns |
Automatic table names conversion from schema.name
to schema_name
, ie. change
database connection from postgresql to mysql.
You must set this class as service in container
<parameters>
<parameter key="doctrine.orm.naming_strategy.dot.class">Fluency\Component\Doctrine\ORM\Mapping\DotNamingStrategy</parameter>
</parameters>
<services>
...
<service id="doctrine.orm.naming_strategy.dot"
class="%doctrine.orm.naming_strategy.dot.class%" public="false" />
...
</services>
Orm settings
...
orm:
auto_generate_proxy_classes: %kernel.debug%
# auto_mapping: true
default_entity_manager: default
entity_managers:
default:
connection: default
naming_strategy: doctrine.orm.naming_strategy.dot
...
Files (4) |
File | Role | Description | ||
---|---|---|---|---|
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | Auxiliary data | ||
README.md | Doc. | Auxiliary data |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.