/custom-easy-admin

Primary LanguagePHPMIT LicenseMIT

Custom EasyAdmin Demo Application

This project is a custom EasyAdmin based on the official EasyAdmin Demo application that showcases some custom features of EasyAdmin, a popular admin generator for Symfony applications.

It's a fork of the EasyAdmin Demo application. This allows to test some advanced integration of EasyAdmin with Symfony in some more complex scenarios than the base Symfony Demo Application

Documentation

All the documentation bout the objectives and update of the project can be found here : docs

I also document each different major branches on a blog to describe it more in details here : my blog

Requirements

Installation

clone this project

$ git clone git@github.com:yalit/custom-easy-admin.git

Run these commands in the folder you cloned the repo into:

  1. Install all dependencies (composer and js)
$ make install
  1. build the assets
$ make build-dev
  1. Create the database and generate the fixtures
$ make db-init-dev
$ make bd-fixtures

Usage

If you have installed Symfony CLI, run this command:

$ 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 like Nginx or Apache to run the application.

Test

To run the tests, follow the 2 following steps

$ make tests-prepare
$ make test