Download the PHP package grzegorz-jamroz/sf-doctrine-api-bundle without Composer
On this page you can find all versions of the php package grzegorz-jamroz/sf-doctrine-api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download grzegorz-jamroz/sf-doctrine-api-bundle
More information about grzegorz-jamroz/sf-doctrine-api-bundle
Files in grzegorz-jamroz/sf-doctrine-api-bundle
Package sf-doctrine-api-bundle
Short Description Bundle provides basic features for Symfony Doctrine Api
License
Informations about the package sf-doctrine-api-bundle
Ifrost Doctrine Api Bundle for Symfony
Bundle provides basic features for Symfony Doctrine Api
Table of Contents
- Installation
- Customizations
- Configuration
- Development with Docker
Installation
-
Update routing configuration in your project:
- Create Entity which implements EntityInterface
Exmple:
-
Create your controller:
- Now you can debug your routes. Run command:
you should get output:
Customizations
If you decided that you want to change routing configuration for some specific route just add Route attribute with new parameters. For example:
now output from php bin/console debug:router will be:
It is possible do disable some actions at all. In this case you can use excludedActions metadata.
now output from php bin/console debug:router will be:
Configuration
Default config
You can add config/packages/ifrost_doctrine_api.yaml in your project to enable/disable some features if not necessary
You can enable default cache adapter Symfony\Component\Cache\Adapter\FilesystemAdapter (optional)
Development with Docker
Build and run the containers:
Copy vendor folder from container to host
Run static analysis
Run tests
Run single test file:
Run coverage report
- Enable xdebug
- Run:
Enable xdebug
Disable xdebug
All versions of sf-doctrine-api-bundle with dependencies
grzegorz-jamroz/sf-api-foundation Version ^8.0
grzegorz-jamroz/sf-api-bundle Version ^8.0
symfony/uid Version ^6.0|^7.0|^8.0
doctrine/doctrine-bundle Version ^2.0|^3.0
doctrine/orm Version ^2.0|^3.0