2017 © Pedro Peláez
 

project sf_skeleton

A modification to the "Symfony Standard Edition" distribution to make it little and API friendly.

image

vsmoraes/sf_skeleton

A modification to the "Symfony Standard Edition" distribution to make it little and API friendly.

  • Sunday, April 2, 2017
  • by vsmoraes
  • Repository
  • 1 Watchers
  • 3 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Symfony API skeleton

A Symfony distribution optimized to raw APIs, (*1)

Requirements

This distribution comes with docker configurations for local environments. In order to use this feature you'll need:, (*2)

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:, (*3)

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:, (*4)

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., (*5)

Commands

Install dependencies:, (*6)

make install

Start docker local environment:, (*7)

make start

Stop docker local environment:, (*8)

make stop

Run unit tests:, (*9)

make test

The Versions

02/04 2017