Composer must be installed to the latest version
- Run
composer create-project symfony/website-skeleton:4.3.* my-project-domain.com
- Run
cd my-project-domain.com
- Edit the DATABASE_URL in .env file
DATABASE_URL=mysql://database_user:password@localhost:3306/database_name
- Add the DEBUG_EMAIL variable to .env file
DEBUG_EMAIL=dev@eckinox.ca
- Run
composer config repositories.eckinox vcs https://github.com/eckinox/eckinox-bundle.git
- Run
composer require eckinox/eckinox-bundle
- Run
bin/console eckinox:install
Don't forget the .htaccess
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Removing trailing slashes
RewriteRule ^(.+)/$ https://%{HTTP_HOST}/$1 [R=301,L]
# Redirect everything that is not a file to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$0 [PT,QSA,L]
That's it !