chubbyphp/petstore

Installs: 15

Dependents: 0

Suggesters: 0

Stars: 21

Watchers: 2

Forks: 2

Open Issues: 0

Type:project


README

Build Status Scrutinizer Code Quality Code Coverage Total Downloads Monthly Downloads Latest Stable Version Latest Unstable Version

Description

A simple skeleton to build api's based on the chubbyphp-framework.

Requirements

Environment

Vagrant

There is a vagrant setup provided (vagrant-php) as a git submodule.

Install

git submodule update --init -- vagrant-php

Update

git submodule update --remote -- vagrant-php

Run

cd vagrant-php
vagrant up
vagrant ssh

Host

https://petstore.development

Installation

Through Composer as chubbyphp/petstore.

composer create-project chubbyphp/petstore myproject "dev-chubbyphp-framework"

Setup

Create database

bin/console dbal:database:create

Create / Update schema

bin/console orm:schema-tool:update --dump-sql --force

Structure

ApiHttp

Factory

Collection

Config

RequestHandler

Crud

Swagger

Factory

Collection

Model

Mapping

Deserialization

Orm

Serialization

Validation

Constraint

Model

Repository

ServiceProvider

Copyright

Dominik Zogg 2018