Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1001 Bytes

README.md

File metadata and controls

50 lines (37 loc) · 1001 Bytes

Recipe App

A Symfony application for managing recipes.

Install

Ensure you have PHP 8.4 and sqlite extension on your pc.

composer install
bin/console doctrine:migrations:migrate -n
bin/console doctrine:fixtures:load -n

Run

symfony serve # if you have the symfony binary
php -S localhost:8000 -t public/ # if you only have php

Test

bin/console doctrine:migrations:migrate -ne test
bin/console doctrine:fixtures:load -ne test
bin/phpunit

Scripts

Install castor locally or globally. Now, you should be able to run these commands:

castor phpstan
castor cs
castor fixtures

Otherwise, use

php vendor/bin/phpstan
php vendor/bin/php-cs-fixer fix
php vendor/bin/doctrine orm:fixtures:load -n

Todo