Download the PHP package steevanb/dev-bundle without Composer
On this page you can find all versions of the php package steevanb/dev-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steevanb/dev-bundle
More information about steevanb/dev-bundle
Files in steevanb/dev-bundle
Package dev-bundle
Short Description Throws exception on translation not found and invalid doctrine schema.
License MIT
Informations about the package dev-bundle
dev-bundle
Bundle for dev environment, to help you find missing translations, validate your Doctrine schema automatically and show what is loaded (classes, services etc).
For Symfony ^2.6 and ^3.0, see steevan/dev-bundle ^4.1.
Changelog
Installation
Or add it manually, and then execute composer update steevanb/dev-bundle :
Add bundle to your AppKernel :
Configuration
Translation not found exception
Throws steevanb\Exception\TranslationsNotFoundException at kernel.response event when at least one translation is not found.
All translations not found throws this exception, especially when fallbacks are used.
For example, if you have a messages.fr.yml in your bundle, and you try to translate a string with _frFR locale, exception will be throwned. You can allow this with _translation.allowfallbacks configuration.
Validate Doctrine mapping
Same as calling doctrine:schema:validate on each request, with a cache to not recall it if nothing has changed.
Throws steevanb\Exception\InvalidMappingException when mapping informations are invalid.
Doctrine schema validation will be executed on each request (kernel.request or kernel.response event, depends on configuration), only for main request.
You can exclude entities or properties validation, by adding values in _dev.validateschema.excludes configuration.
If value is a fully classified entity, all validation errors on this entity will be ignored.
If value if a fully qualifier entity, plus a property (ex : Foo\Bar\Entity#property), only validation errors on this property will be ignored.
List loaded classes, services etc
Add Symfony WebProfilter panel, with informations about what is loaded : classes, traits, interfaces, services, container parameters, etc.
All versions of dev-bundle with dependencies
symfony/framework-bundle Version ^4.0
symfony/translation Version ^4.0
symfony/web-profiler-bundle Version ^4.0
symfony/doctrine-bridge Version ^4.0
doctrine/orm Version ^2.5