/symfony-4.2-sonata

Symfony 4 + Sonata Admin Bundle application

Primary LanguagePHP

Symfony 4 + Sonata Admin Bundle test application

A little test application based on Symfony 4 + Sonata Admin Bundle.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

git + docker + docker-compose

Installing

git clone git@github.com:fzberlin23/symfony-4.2-sonata.git
docker-compose -f docker-compose.yml -f docker-compose-oneshot.yml run --rm composer install

Run the application

docker-compose up
Visit http://localhost:8001 and http://localhost:8001/admin/dashboard

Starting phpunit tests

docker-compose -f docker-compose.yml -f docker-compose-oneshot.yml run --rm phpunit

Installing Symfony 4 + Sonata admin bundle from scratch

composer create-project symfony/website-skeleton .
composer require symfony/apache-pack
composer require sonata-project/admin-bundle
composer require sonata-project/doctrine-orm-admin-bundle
composer require symfony/orm-pack
composer require symfony/maker-bundle --dev
composer require stof/doctrine-extensions-bundle