This bundle is intended to group common and often repeated things when creating an APP with Symfony.
Reset cache of OPcache
symfony console idm:opcache:reset
Regenerate APP_SECRET
# Change var APP_SECRET in .env file
symfony console idm:regenerate:app_secret
# Only show value WITHOUT update .env file
symfony console idm:regenerate:app_secret --show
AbstractContact
: to create a table with contact messages from the web.
AbstractContactFormType
: to create form for send contact messages.
AbstractContactRepository
: repository for AbstractContact entity.
IdTrait
: add a field id in INT format
UuidTrait
: add a field uuid in UUID format
FakerTrait
: add a Faker method to use in test, fixtures...
VersionTrait
: add two methods:
- convertVersionToString converts a version like '100000000' to STRING version like '1.0.0'
- convertVersionToInt converts a version like '1.0.0' to INT version like '100000000'
IsEven
check if value is an even value.
IsOdd
check if value is an odd value.