vsmoraes / sf_skeleton
A modification to the "Symfony Standard Edition" distribution to make it little and API friendly.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^7.1
- doctrine/doctrine-cache-bundle: ^1.3
- ekino/newrelic-bundle: ^1.3
- incenteev/composer-parameter-handler: ^2.1
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0
- symfony/monolog-bundle: ^3.1
- symfony/symfony: 3.2.*
Requires (Dev)
- phpunit/phpunit: ^6
- sensio/generator-bundle: ^3.1
- symfony/phpunit-bridge: ^3.2
This package is auto-updated.
Last update: 2024-10-29 04:20:09 UTC
README
A Symfony distribution optimized to raw APIs
Requirements
This distribution comes with docker configurations for local environments. In order to use this feature you'll need:
Installation
composer create-project vsmoraes/sf_skeleton
Features
- Clean symfony installation
- Monolog, logstash and Kibana
- New Relic pre-loaded
- Docker local environment
- Makefile to make your life a little easier
Local environment
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
.
Commands
Install dependencies:
make install
Start docker local environment:
make start
Stop docker local environment:
make stop
Run unit tests:
make test