Download the PHP package adrenalinkin/doctrine-naming-strategy without Composer
On this page you can find all versions of the php package adrenalinkin/doctrine-naming-strategy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adrenalinkin/doctrine-naming-strategy
More information about adrenalinkin/doctrine-naming-strategy
Files in adrenalinkin/doctrine-naming-strategy
Package doctrine-naming-strategy
Short Description Camel Case Doctrine ORM naming strategy
License MIT
Informations about the package doctrine-naming-strategy
Doctrine Naming Strategy
Introduction
Component contains Doctrine CamelCase
naming strategy.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this component:
This command requires you to have Composer install globally.
Usage
For registration new naming strategy you should use manual from the official Doctrine documentation Implementing a NamingStrategy.
In that case, when you use Doctrine as part of the Symfony Framework - you should look into appropriated part of the
DoctrineBundle
documentation:
Configuration Reference.
How will the generated SQL change?
To demonstrate difference let's take association example entities from the official Doctrine documentation
Compare DefaultNamingStrategy and CamelCaseNamingStrategy
Raw SQL for different strategies
- DefaultNamingStrategy
- CamelCaseNamingStrategy
License
All versions of doctrine-naming-strategy with dependencies
doctrine/orm Version ^2.8 || ^3.0
symfony/deprecation-contracts Version ^2.1 || ^3.0