Simple CRUD/Auth app to get familiar with Symfony components and Unit/Functional testing.
git clone https://github.com/kubk/students.git
composer install
psql -U user -d db < create-students-table.sql
./scripts/student-table-seeder.php 30
Run app using PHP's built-in web server:
php -S localhost:8001 -t public
Heroku demo: https://boiling-brook-29265.herokuapp.com/
The app is hosted on a free Heroku dyno, so it need some time to wake up.
- Create a test database and edit connection params in config/config_test.php
- Run tests via
phpunit