Skip to content

phpguru-net/symfony54-webapp

Repository files navigation

Symfony54 Web App Tutorial

 php bin\console list

Getting start

docker-compose -f compose.yaml -p "sf_local" up -d
symfony server:stop
symfony server:start

Migrations

# generate
php bin/console make:migration
# run migrations
php bin/console doctrine:migrations:migrate

Create new entity

php bin\console make:entity

Testing

php -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-html var/log/test-coverage
php -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-html var/log/test-coverage --coverage-clover var/log/clover.xml --log-junit var/log/junit.xml

Commands

php bin/console list app
php bin/console app:fetch-json-placeholder-posts
php bin/console help app:fetch-json-placeholder-posts

About

symfony54-webapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published