This project is a Symfony-based admin dashboard for managing Accounts, Customers, and Users. It utilizes EasyAdmin for a quick and customizable admin interface.
- PHP 8.1 or higher
- Composer
- Symfony CLI
- SQLite
-
Clone the repository:
git clone https://github.com/dcsm8/easyadmin-poc.git
-
Navigate to the project directory:
cd easyadmin-poc
-
Install dependencies:
composer install
-
Create the database:
php bin/console doctrine:database:create
-
Run migrations:
php bin/console doctrine:migrations:migrate
-
Start the Symfony development server:
symfony server:start
-
Access the admin dashboard at
http://localhost:8000/admin
- CRUD operations for Accounts, Customers, and Users
- Customized action buttons for each entity (View, Edit, Delete)
- Association management between entities
- Role-based access control for certain actions (e.g., Delete restricted to ROLE_SUPER_ADMIN)
The project uses EasyAdmin for the admin interface. You can customize the behavior and appearance of the admin pages by modifying the respective CRUD controllers:
src/Controller/Admin/AccountCrudController.php
src/Controller/Admin/CustomerCrudController.php
src/Controller/Admin/UserCrudController.php
The main dashboard configuration can be found in src/Controller/Admin/DashboardController.php
.