easycorp / easyadmin-demo
EasyAdmin Demo Application
Requires
- php: >=8.4
- ext-ctype: *
- ext-iconv: *
- doctrine/dbal: ^4.4.4
- doctrine/doctrine-bundle: ^3.3.1
- doctrine/doctrine-migrations-bundle: ^4.0
- doctrine/lexer: ^3.0.1
- doctrine/orm: ^3.6.8
- easycorp/easyadmin-bundle: ^5.10
- phpdocumentor/reflection-docblock: ^6.0
- phpstan/phpdoc-parser: ^2.3.3
- symfony/asset: ^8.1
- symfony/asset-mapper: ^8.1
- symfony/console: ^8.1
- symfony/dotenv: ^8.1
- symfony/expression-language: ^8.1
- symfony/flex: ^2.11
- symfony/form: ^8.1
- symfony/framework-bundle: ^8.1
- symfony/http-client: ^8.1
- symfony/intl: ^8.1
- symfony/mime: ^8.1
- symfony/monolog-bundle: ^4.0.2
- symfony/process: ^8.1
- symfony/property-access: ^8.1
- symfony/property-info: ^8.1
- symfony/runtime: ^8.1
- symfony/security-bundle: ^8.1
- symfony/serializer: ^8.1
- symfony/stimulus-bundle: ^3.7
- symfony/string: ^8.1
- symfony/translation: ^8.1
- symfony/twig-bundle: ^8.1
- symfony/ux-icons: ^3.4
- symfony/ux-turbo: ^3.7
- symfony/validator: ^8.1
- symfony/web-link: ^8.1
- symfony/yaml: ^8.1
- twig/extra-bundle: ^3.24.0
- twig/intl-extra: ^3.26
- twig/string-extra: ^3.24
- twig/twig: ^3.28
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95
- phpunit/phpunit: ^13.4
- symfony/browser-kit: ^8.1
- symfony/css-selector: ^8.1
- symfony/debug-bundle: ^8.1
- symfony/maker-bundle: ^1.67.0
- symfony/stopwatch: ^8.1
- symfony/web-profiler-bundle: ^8.1
- zenstruck/foundry: ^2.12.0
Suggests
None
Provides
None
Conflicts
README
This project is the official EasyAdmin Demo application that showcases the main features of EasyAdmin, a popular admin generator for Symfony applications.
Requirements
- PHP 8.4 or higher;
- PDO-SQLite PHP extension enabled;
- and the usual Symfony application requirements.
Installation
Run this command with Composer:
$ composer create-project easyCorp/easyadmin-demo my_project
Usage
There's no need to configure anything to run the application. If you have installed Symfony CLI, run this command:
$ cd my_project/
$ symfony serve
Then access the application in your browser at the given URL (https://localhost:8000 by default).
If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/
to use the built-in PHP web server or configure a web server to run the application.
What's Inside
The demo is the backend of a small plant shop: products, families, tags, suppliers, customers, orders and reviews.
- You start logged in as the admin user. The dashboard lets you switch with one click to the other demo users (an editor and a reader) to see how permissions change the backend, or log out to browse it as an anonymous visitor;
- The Feature tour page lists the EasyAdmin features used in the demo. For each one, you can see it working, read the code that implements it and open its documentation;
- The View source code button of each listing shows the code of the CRUD controller that builds that page;
- The Fixtures data page (only for admins) restores the original data whenever you want.
Contributing
This demo application is open source but it does not accept pull requests with unsolicited features. If you have a feature idea, create an issue to discuss it before implementing it. Pull requests that fix bugs are welcome.
License
This demo application is published under the MIT license. See LICENSE.md for details.