All Projects → kruglikdenis → symfony-skeleton

kruglikdenis / symfony-skeleton

Licence: other
Skeleton rest-api based on symfony

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects
Dockerfile
14818 projects
Smarty
1635 projects

Projects that are alternatives of or similar to symfony-skeleton

Commerce Sdk
Stars: ✭ 63 (+320%)
Mutual labels:  raml
Raml Server
run a mocked server JUST based on a RAML API's definition .. zero coding
Stars: ✭ 158 (+953.33%)
Mutual labels:  raml
broadway dashboard
Keep track of your Broadway pipelines from Phoenix LiveDashboard
Stars: ✭ 153 (+920%)
Mutual labels:  broadway
Raml ruby
Raml Ruby
Stars: ✭ 95 (+533.33%)
Mutual labels:  raml
Hikaku
A library that tests if the implementation of a REST-API meets its specification.
Stars: ✭ 154 (+926.67%)
Mutual labels:  raml
Raml Dotnet Tools
Visual Studio extension to work with RAML and OAS (OpenAPI) specifications. You can consume REST APIs, scaffold ASP.NET implementations and extract RAML specifications from existing ASP.Net apps.
Stars: ✭ 171 (+1040%)
Mutual labels:  raml
Vim Yaml Folds
YAML, RAML, EYAML & SaltStack SLS folding for Vim
Stars: ✭ 59 (+293.33%)
Mutual labels:  raml
mystex pizza on broadway
An example of batching for operations with Elixir and Broadway
Stars: ✭ 18 (+20%)
Mutual labels:  broadway
Raml Examples
This repository contains valid RAML 1.0 examples. These examples are not only part of the spec, but also represent RAML features in different scenarios.
Stars: ✭ 154 (+926.67%)
Mutual labels:  raml
Ramlfications
Python parser for RAML
Stars: ✭ 234 (+1460%)
Mutual labels:  raml
Osprey Mock Service
Generate an API mock service from a RAML definition using Osprey
Stars: ✭ 106 (+606.67%)
Mutual labels:  raml
Raml Js Parser 2
(deprecated)
Stars: ✭ 140 (+833.33%)
Mutual labels:  raml
Raml Js Parser
(deprecated) A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
Stars: ✭ 197 (+1213.33%)
Mutual labels:  raml
Raml Tester
Test if a request/response matches a given raml definition
Stars: ✭ 70 (+366.67%)
Mutual labels:  raml
broadway bike sharing rabbitmq example
An example of a Broadway pipeline for a bike sharing app with RabbitMQ and PostgreSQL
Stars: ✭ 27 (+80%)
Mutual labels:  broadway
Raml2html
RAML to HTML documentation generator.
Stars: ✭ 1,108 (+7286.67%)
Mutual labels:  raml
Raml Java Parser
(deprecated) A RAML parser based on SnakeYAML written in Java
Stars: ✭ 169 (+1026.67%)
Mutual labels:  raml
sonata-multiupload-bundle
No description or website provided.
Stars: ✭ 29 (+93.33%)
Mutual labels:  symfony4
broadway kafka
A Broadway connector for Kafka
Stars: ✭ 164 (+993.33%)
Mutual labels:  broadway
Api Workbench
The API Workbench for RAML (deprecated)
Stars: ✭ 222 (+1380%)
Mutual labels:  raml

Project skeleton

What's included

This is our day-to-day backend dev stack

  • Pre-configured PHP 7.2 FPM and CLI
  • Pre-configured Nginx 1.11
  • PostgreSQL 9.6
  • Symfony 4.1
  • Doctrine ORM 2.5
  • Codeception as testing frameworks

Required software

  • Docker 1.9+
  • Docker-compose 1.6+
  • Docker-machine 0.6+

Docker

All environment isolated from host system via Docker containers.

For understanding of how Docker works please read this articles:

Shortcuts

To simplify your life, you can use shortcuts available in docker/shortcuts shell script. To make it even more easy to use, just add path to this directory in your PATH env variable (in .bashrc or .bash_profile):

export PATH=./docker/shortcuts:$PATH

By doing this, you will be able to use short versions of commands:

apidoc                      # run command to generate api doc from raml file
php                         # run command in php container
console                     # symfony console running via docker container
psql                        # connects psql to your database using containers
composer                    # shortcut for running composer (with php7 in separate docker container)
php_stan                    # shortcut for running PHPstan (Static Analysis Tool)
run_tests                   # shortcut for running tests

Development

To start dev environment, just run docker-compose up and you are ready to go.

API Documentation

In order to modify the documentation, you need to make changes to the app/resources/docs/api.raml file and regenerate the documentation using apidoc bash script.

You can see the documentation for api by ${TARGET_HOST}/api.html.

Testing

To run test suites you can use docker/shortcuts/run_tests script

Usage: test [suite] [option]

Examples:

  • run_tests - starts all tests suites
  • run_tests unit - starts unit test suite
  • run_tests api - starts api test suite
  • run_tests u - you may run suite for part of tests

XDebug

This projects template also includes xdebug extensions for remote debugging. To debug your application in PhpStorm you should configure remote server and set path mapping to /app directory.

In production environment xdebug is disabled.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].