### Install Flysystem Bundle Source: https://github.com/easycorp/easyadminbundle/blob/5.x/doc/fields/FileField.rst Install the Flysystem bundle and the adapter for your desired storage service using Composer. ```bash $ composer require league/flysystem-bundle ``` -------------------------------- ### Install PHP and JS Dependencies Source: https://github.com/easycorp/easyadminbundle/blob/5.x/AGENTS.md Use these commands to install project dependencies for PHP and JavaScript. ```bash composer install # Install PHP dependencies ``` ```bash yarn install # Install JS dependencies ``` -------------------------------- ### Install EasyAdmin Bundle Source: https://github.com/easycorp/easyadminbundle/blob/5.x/doc/index.rst Run this command to install the EasyAdmin bundle in your Symfony application. This is the primary installation method. ```bash $ composer require easycorp/easyadmin-bundle ``` -------------------------------- ### Install Money PHP Library Source: https://github.com/easycorp/easyadminbundle/blob/5.x/doc/fields/MoneyField.rst Install the Money PHP library using Composer to handle Money objects with EasyAdmin. ```bash $ composer require moneyphp/money ``` -------------------------------- ### Install EasyAdminBundle and Scaffold Controllers Source: https://context7.com/easycorp/easyadminbundle/llms.txt Use Composer to install the bundle and then Symfony's MakerBundle commands to generate the initial dashboard and CRUD controllers. ```bash composer require easycorp/easyadmin-bundle # Generate the dashboard (creates src/Controller/Admin/DashboardController.php) php bin/console make:admin:dashboard # Generate a CRUD controller for a Doctrine entity php bin/console make:admin:crud # → Select entity: App\Entity\Product # → Creates src/Controller/Admin/ProductCrudController.php # Visit /admin in your browser — done! ``` -------------------------------- ### Install EasyAdminBundle and Generate Dashboard/CRUD Source: https://github.com/easycorp/easyadminbundle/blob/5.x/README.md Install the EasyAdminBundle using Composer and then generate the admin dashboard and CRUD controllers. Visit /admin in your browser to see the result. ```bash composer require easycorp/easyadmin-bundle php bin/console make:admin:dashboard php bin/console make:admin:crud ``` -------------------------------- ### Install JS Dependencies and Check Code Source: https://github.com/easycorp/easyadminbundle/blob/5.x/AGENTS.md Install JavaScript dependencies using yarn ci and check code style with Biome. Ensure both commands pass without errors. ```bash yarn ci ``` ```bash yarn biome check --write ``` -------------------------------- ### Install Flysystem AWS S3 Adapter Source: https://github.com/easycorp/easyadminbundle/blob/5.x/doc/fields/FileField.rst Install the specific Flysystem adapter for Amazon S3 using Composer. ```bash $ composer require league/flysystem-aws-s3-v3 ``` -------------------------------- ### TextField Label Examples Source: https://github.com/easycorp/easyadminbundle/blob/5.x/doc/fields.rst Demonstrates different ways to set labels for TextField, including automatic generation, null, false, and explicit HTML content. ```php TextField::new('firstName'), // label is null: generate it automatically (label = 'First Name') TextField::new('firstName', null), ``` ```php // label is false: no label is displayed and no