Download the PHP package nighten/doctrine-check without Composer
On this page you can find all versions of the php package nighten/doctrine-check. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nighten/doctrine-check
More information about nighten/doctrine-check
Files in nighten/doctrine-check
Download nighten/doctrine-check
More information about nighten/doctrine-check
Files in nighten/doctrine-check
Vendor nighten
Package doctrine-check
Short Description Provides check for doctrine type mapping
License MIT
Package doctrine-check
Short Description Provides check for doctrine type mapping
License MIT
Please rate this library. Is it a good library?
Informations about the package doctrine-check
Doctrine check
Tool for check doctrine entity field mapping with php types.
Install
Running
Create a doctrine-check-config.php
in your root directory and modify:
Need to add doctrine object manager to config. Example for Symfony project:
Then run check:
The list of checks:
Simple types such as int, string, bool, datetime and so on. Check match type and nullable
Example:
Association mapping ManyToOne:
Example:
Embedded mapping:
Types and nulls in the embeddable class are checked.
Types and null are checked in the main class
Example:
Configuration
Add additional type mappings:
Add specific entity classes:
The checker will check only the specified classes
Ignore some entity classes:
The checker will check all classes except those specified
Add error ignores:
The checker will skip the specified errors
All versions of doctrine-check with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
doctrine/orm Version ^2.0|^3.0
phpstan/phpdoc-parser Version ^1.0
symfony/console Version ^6.4|^7.0
doctrine/orm Version ^2.0|^3.0
phpstan/phpdoc-parser Version ^1.0
symfony/console Version ^6.4|^7.0
The package nighten/doctrine-check contains the following files
Loading the files please wait ....