All Projects → chubbyphp → petstore

chubbyphp / petstore

Licence: MIT license
A simple skeleton to build api's based on the chubbyphp-framework, mezzio (former zend-expressive) or slim.

Programming Languages

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

Projects that are alternatives of or similar to petstore

ErrorHeroModule
💎 A Hero for your Zend Framework/Laminas, and Expressive/Mezzio application to log ( DB and Mail ) and handle php errors & exceptions during Mvc process/between request and response
Stars: ✭ 47 (+38.24%)
Mutual labels:  doctrine, zend-expressive, mezzio
swoole-postgresql-doctrine-driver
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL client
Stars: ✭ 15 (-55.88%)
Mutual labels:  dbal, doctrine
DoctrineMongoODMModule
Laminas Module for Doctrine MongoDB ODM
Stars: ✭ 83 (+144.12%)
Mutual labels:  doctrine, odm
zend-di-config
PSR-11 PHP-DI container configurator for Laminas, Mezzio, ZF, Expressive applications or any framework that needs a PSR-11 container
Stars: ✭ 19 (-44.12%)
Mutual labels:  zend-expressive, mezzio
doctrine-json-odm
JSON Object-Document Mapping bundle for Symfony and Doctrine
Stars: ✭ 15 (-55.88%)
Mutual labels:  doctrine, odm
Doctrine Json Odm
An object document mapper for Doctrine ORM using JSON types of modern RDBMS.
Stars: ✭ 420 (+1135.29%)
Mutual labels:  doctrine, odm
event-sourcing
A lightweight but also all-inclusive event sourcing library with a focus on developer experience and based on doctrine dbal
Stars: ✭ 65 (+91.18%)
Mutual labels:  dbal, doctrine
Magento-2-Module-Skeleton
This Module provides a basic Skeleton for further Magento 2 Modules.
Stars: ✭ 30 (-11.76%)
Mutual labels:  skeleton
webapp-skeleton
🎁 Web application project skeleton based on Nette Framework (@nette), Doctrine (@nettrine) and Contributte (@contributte) libraries by @f3l1x.
Stars: ✭ 82 (+141.18%)
Mutual labels:  skeleton
electron-angular-webpack
A simple kit for Electron, Angular 6 and Webpack 4 including a live reload system for Angular.
Stars: ✭ 62 (+82.35%)
Mutual labels:  skeleton
database
Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
Stars: ✭ 51 (+50%)
Mutual labels:  dbal
monolog-middleware
Monolog middleware for PSR-7 micro frameworks like Zend Expressive and Slim
Stars: ✭ 18 (-47.06%)
Mutual labels:  zend-expressive
telegram-bot-skeleton-ruby
Telegram bot skeleton in Ruby
Stars: ✭ 15 (-55.88%)
Mutual labels:  skeleton
php-mvc-skeleton
A PHP OOP web application skeleton that uses MVC architectural pattern to create a basic application that contains login and multi language systems and can be used in any web project.
Stars: ✭ 46 (+35.29%)
Mutual labels:  skeleton
doctrine-extensions
Doctrine2 behavioral extension Transformable
Stars: ✭ 14 (-58.82%)
Mutual labels:  doctrine
influxable
A lightweight python ORM / ODM / Client for InfluxDB
Stars: ✭ 36 (+5.88%)
Mutual labels:  odm
nette-oauth2-server-doctrine
Integration of The League of Extraordinary Packages' OAuth 2.0 Server into Nette Framework- Kdyby/Doctrine storage implementation
Stars: ✭ 13 (-61.76%)
Mutual labels:  doctrine
cookiecutter-go
boilerplate, golang project starter tool, support go-zero/go-micro/gin
Stars: ✭ 63 (+85.29%)
Mutual labels:  skeleton
create-siler-app
🧱 Set up a modern Siler app by running one command.
Stars: ✭ 15 (-55.88%)
Mutual labels:  skeleton
doctrine-phpstorm-meta
PhpStorm meta data for expected arguments completion.
Stars: ✭ 35 (+2.94%)
Mutual labels:  doctrine

petstore

CI Coverage Status Infection MSI

Description

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

Requirements

Environment

Add the following environment variable to your system, for example within ~/.bash_aliases:

export USER_ID=$(id -u)
export GROUP_ID=$(id -g)

Docker

docker-compose up -d
docker-compose exec php bash

Urls

Pet

DBs

  • jdbc:postgresql://localhost:5432/petstore?user=root&password=root

Installation

Through Composer as chubbyphp/petstore.

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

Setup

composer setup:dev

Structure

Collection

Collections are sortable, filterable paginated lists of models.

Factory

Factories to create collections, model or whatever you need to be created.

Mapping

Mappings are used for deserialization, orm, serialization and validation defintions. They are all done in PHP.

Model

Models, entities, documents what ever fits your purpose the best.

Repository

Repositories get data from storages like databases, elasticsearch, redis or whereever your models are stored or cached.

RequestHandler

RequestHandler alias Controller, or Controller actions to be more precise. There is a directory with generic crud controllers. If you like the idea adapt them for your generic use case, if not drop them. I highly recommend to not extend them.

ServiceFactory

Service factories are the glue code of the dependeny injection container.

Copyright

Dominik Zogg 2022

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].