| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 101 | All time: 9,798 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
...
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | Auxiliary data | |||
| 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. |
| dot-naming-strategy-2015-07-02.zip 2KB | |
| dot-naming-strategy-2015-07-02.tar.gz 2KB | |
| 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.