A Symfony distribution optimized to raw APIs
This distribution comes with docker configurations for local environments. In order to use this feature you'll need:
composer create-project vsmoraes/sf_skeleton
- Clean symfony installation
- Monolog, logstash and Kibana
- New Relic pre-loaded
- Docker local environment
- Makefile to make your life a little easier
To start the local environment, run:
make start
This command will start all the containers (fpm, nginx and elk). To access the application for the first time, you'll need to add the following line to your /etc/hosts
file:
127.0.0.1 api.dev
Don't worry, it's just mapping the host api.dev
to your localhost IP address. Now you can access the application using the browser of your choice using the address: http://api.dev
.
Install dependencies:
make install
Start docker local environment:
make start
Stop docker local environment:
make stop
Run unit tests:
make test