Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symfonyBase

Symfony 7 project base on Docker stack with PHP 8.3, Postgres and Nginx with PHPUnit example test.

Install

docker-compose up --build -d

After started you can check in browser on http://localhost:8000

Orders for testing

In browser: Create Order: http://localhost:8080/order/create List Orders: http://localhost:8080/order/list

Tests PHPUnit

docker-compose exec php bash
vendor/bin/phpunit

Migration

docker-compose exec php bash
php bin/console doctrine:database:create
php bin/console make:migration
php bin/console doctrine:migrations:migrate

Clear Doctrine cache

docker-compose exec php bash
php bin/console cache:clear

Check Doctrine Entities

docker-compose exec php bash
php bin/console doctrine:mapping:info

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages