All Projects → damianopetrungaro → slim-boilerplate

damianopetrungaro / slim-boilerplate

Licence: MIT license
A PHP boilerplate,for a fast API prototyping based on Slim Framework, for start projects with Eloquent ORM, Validation, Auth (JWT), Repositories and Transformers ready

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to slim-boilerplate

Slim3
Slim Framework 3 Skeleton Application
Stars: ✭ 70 (+20.69%)
Mutual labels:  eloquent, slim
SlimREST
An app skeleton for building a REST API with the Slim PHP Micro-Framework
Stars: ✭ 22 (-62.07%)
Mutual labels:  eloquent, slim
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+241.38%)
Mutual labels:  eloquent
phpboilerplate
PHP boilerplate with composer psr-4, phpunit and travis-ci.
Stars: ✭ 15 (-74.14%)
Mutual labels:  php-boilerplate
laravel-nestedupdater
Package for allowing updating of nested Eloquent model relations using a single nested data array.
Stars: ✭ 19 (-67.24%)
Mutual labels:  eloquent
Laravel Jit Loader
Stars: ✭ 210 (+262.07%)
Mutual labels:  eloquent
laratools
A collection of useful everyday tools for Laravel
Stars: ✭ 17 (-70.69%)
Mutual labels:  eloquent
Eloquent Hashids
On-the-fly hashids for Laravel Eloquent models. (🍰 Easy & ⚡ Fast)
Stars: ✭ 196 (+237.93%)
Mutual labels:  eloquent
laravel-simplegrid
A simple component for generating powerful grids with Laravel.
Stars: ✭ 35 (-39.66%)
Mutual labels:  eloquent
eloquence
Eloquence provides a cache on top of Eloquent that prevents multiple models being created for a single database row using the Identity Map design pattern.
Stars: ✭ 18 (-68.97%)
Mutual labels:  eloquent
inertiajs-tables-laravel-query-builder
Inertia.js Tables for Laravel Query Builder
Stars: ✭ 391 (+574.14%)
Mutual labels:  eloquent
basepath
Base path detector for Slim 4
Stars: ✭ 36 (-37.93%)
Mutual labels:  slim
Laravel Shareable Models
Create shareable links from your eloquent models.
Stars: ✭ 225 (+287.93%)
Mutual labels:  eloquent
middleman-snippets
⚡ Library of commonly used snippets for Middleman websites
Stars: ✭ 27 (-53.45%)
Mutual labels:  slim
Slimcms
SlimCMS - lightweight CMS based on slim 3 framework
Stars: ✭ 201 (+246.55%)
Mutual labels:  eloquent
eloquent-filemaker
A Model extension and Eloquent driver for Laravel connecting to FileMaker through the Data API
Stars: ✭ 38 (-34.48%)
Mutual labels:  eloquent
Laravel Computed Properties
Make your accessors smarter
Stars: ✭ 197 (+239.66%)
Mutual labels:  eloquent
Bouncer
Eloquent roles and abilities.
Stars: ✭ 2,763 (+4663.79%)
Mutual labels:  eloquent
laravel-attribute-observer
Observe (and react to) attribute changes made on Eloquent models.
Stars: ✭ 59 (+1.72%)
Mutual labels:  eloquent
plug
A collection of pluggable traits for Eloquent (Laravel) models
Stars: ✭ 13 (-77.59%)
Mutual labels:  eloquent

Slim Boilerplate

A PHP boilerplate based on Slim Framework, for start projects with Eloquent ORM, Validation, Auth (JWT), Repositories and Transformers ready.

This boilerplate is written for RAD (Rapid Application Development).

Anyway it introduces some layer that will help you if the application will grow. In this case i suggest you to drop Eloquent (or at least use only the query builder and use interfaces instead of Domain Model that extends Eloquent Model).

Installation and Setup

You need composer and git for download and install the repository.

$ git clone https://github.com/damianopetrungaro/slim-boilerplate.git
$ php composer.phar install

Edit the .env.example to .env and override it with your credentials.

$ php vendor/bin/phinx migrate

Container

All the object into the container are setted into the bootstrap/container.php file

Info

The routes are into the app/Routes, you can add all the .php file you want, each file will be read by slim for catch all the routes.

The exception handler is overriden into the bootstrap/container.php file. For more details, info or bugs, just open a new issue to to repository issue tracker.

Issue tracking

Please report any issues to repository issue tracker.

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