The bundle includes two commands to help you get started. Both commands require the symfony generator bundle to be enabled.
Generates a Doctrine image entity you can use and/or modify for your own needs.
php bin/console responsive_image:generate:entity
Generates CRUD for the entity above.
php bin/console responsive_image:generate:crud
Generated code includes:
- Uploading of image file during Create action
- CropFocus widget on image edit form
- Event dispatching to generate styled images in Edit action