Sample project to get started with the Symfony web framework for an upcoming project. Repository is public for educational purposes. Feel free to use it.
Disclaimer: The API of this litte educational project is intentionally insecure to keep it simple. My next project won't include an API anyway.
- PHP 7.2.5 or higher (PHP 7.3+ recommended)
- PHP Composer
- MariaDB (recommended) or MySQL
- Node.js and npm (for building the assets)
- PHP Module:
ctype - PHP Module:
iconv - PHP Module:
gmp - PHP Module:
mbstring
- Clone this repository
- Create a
../data(outside of project source) directory and make sure it is writable by the web server - Run
composer install --no-dev --optimize-autoloaderto install the dependencies - Run
npm run buildto build the assets - Point your PHP-enabled web server to the
publicdirectory
- Character set:
utf8mb4 - Collation:
utf8mb4_unicode_ci
composer installnpm install- Create
.env.dev.localwith aDATABASE_URL(see example in.env)
npm run watch
bin/phpunit