All Projects → awurth → SlimREST

awurth / SlimREST

Licence: MIT license
An app skeleton for building a REST API with the Slim PHP Micro-Framework

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to SlimREST

Slim3
Slim Framework 3 Skeleton Application
Stars: ✭ 70 (+218.18%)
Mutual labels:  eloquent, skeleton, slim
Slim4 Skeleton
A Slim 4 Skeleton
Stars: ✭ 237 (+977.27%)
Mutual labels:  skeleton, slim
Slim Born
Slim Framework 3 and 4 skeleton application has authentication MVC construction.
Stars: ✭ 179 (+713.64%)
Mutual labels:  skeleton, slim
slim-boilerplate
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
Stars: ✭ 58 (+163.64%)
Mutual labels:  eloquent, slim
ExpressQL
A Ready-to-Go API Skeleton using Node.js + Express.js + GraphQL + MongoDB + JWT Authentication
Stars: ✭ 12 (-45.45%)
Mutual labels:  skeleton
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+45.45%)
Mutual labels:  skeleton
laravel-auto-morph-map
THIS PACKAGE HAS BEEN DEPRECATED — Automatically alias and map the polymorphic types of Eloquent models.
Stars: ✭ 55 (+150%)
Mutual labels:  eloquent
msk-STAPLE
STAPLE (Shared Tools for Automatic Personalised Lower Extremity modelling) consists of a collection of methods for generating skeletal models from three-dimensional bone geometries, usually segmented from medical images. The methods are currently being expanded to create complete musculoskeletal models.
Stars: ✭ 39 (+77.27%)
Mutual labels:  skeleton
query-filter
Define filters for your Eloquent models based on your request
Stars: ✭ 20 (-9.09%)
Mutual labels:  eloquent
phalcon-micro-rest-api-skeleton
This is a basic API REST skeleton written on Phalcon PHP. Great For building an MVP for your frontend app (Vue, react, angular, or anything that can consume an API)
Stars: ✭ 57 (+159.09%)
Mutual labels:  skeleton
larapi
Opinated API Skeleton created with Laravel
Stars: ✭ 47 (+113.64%)
Mutual labels:  skeleton
laravel-hasmanywithinverse
Define HasMany while also setting the inverse relationship in Laravel.
Stars: ✭ 57 (+159.09%)
Mutual labels:  eloquent
json-api-server
A JSON:API server implementation in PHP.
Stars: ✭ 43 (+95.45%)
Mutual labels:  eloquent
skinner
Skin export / import tools for Autodesk Maya
Stars: ✭ 68 (+209.09%)
Mutual labels:  skeleton
laravel-arangodb
ArangoDB driver for Laravel
Stars: ✭ 43 (+95.45%)
Mutual labels:  eloquent
dotfiles
my rice dump featuring meme bash aliases, minimal slim theme with waifus, some new i3 modes and a transparent status bar with blocks scripts.
Stars: ✭ 23 (+4.55%)
Mutual labels:  slim
rails-webpacker-vue
Пример Rails приложения с Webpacker и Vue.js
Stars: ✭ 19 (-13.64%)
Mutual labels:  slim
dilovel
An advanced framework is written in PHP, a framework containing rich components such as middleware, orm, request management, template engine, elasticsearch, template engine, many modern frameworks have been written by adopting clean code principles completely written in accordance with PHP standards. like linux operating system ...All of control…
Stars: ✭ 38 (+72.73%)
Mutual labels:  eloquent
nova-skeletons
CSS Utility library to create beautiful skeleton screens
Stars: ✭ 28 (+27.27%)
Mutual labels:  skeleton
slim3-api-skeleton
Slim 3 API Skeleton with content negotiation, authentication, error handling, cache and performance in mind.
Stars: ✭ 12 (-45.45%)
Mutual labels:  slim

Slim 3 RESTful application skeleton

SensioLabsInsight Scrutinizer Code Quality

This is an app skeleton for the Slim PHP Micro-Framework to get started quickly building a REST API

Features

Installation

Create Project
$ composer create-project awurth/slim-rest-base [app-name]
Set File permissions
cd [app-name]
sudo chown -R [your-username]:www-data [app-name]
sudo chmod -R 775 [app-name]/var
Create database
  1. Create a new database.
  2. Rename /env.dist to .env and set the db connection details.
  3. Create Tables
$ php bin/console db
Set URL (dev)

Used for generating links in API routes markdown.

$ sudo nano /config/services.dev.php

Edit line 6 and set the url to your API.

$config['rest']['url'] = 'https://[your-url]';

Console Tools

Create users

$ php bin/console user:create

Use --admin option to set the user as admin

Dump routes

Execute the following command at the project root to print all routes in your terminal

$ php bin/console routes

Use --markdown or -m option to display routes in markdown format

$ php bin/console routes -m > API.md

If you're using Oh My Zsh, you can install the symfony2 plugin, which provides an alias and autocompletion:

# Without Symfony2 plugin
$ php bin/console db

# With Symfony2 plugin
$ sf db

TODO

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