Download the PHP package vikkio88/slime-api without Composer
On this page you can find all versions of the php package vikkio88/slime-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vikkio88/slime-api
More information about vikkio88/slime-api
Files in vikkio88/slime-api
Package slime-api
Short Description a simple RestFul API framework based on Slim v3
License MIT
Informations about the package slime-api
Slime (SLIM + Eloquent)
Laravel is as heavy as a pregnant morbidly obese hippo and full of things that you would never use but you like eloquent models?
Well use slime-api for fuck sake.
Basically a boilerplate to create quickly RestFulAPI.
Ingredients
Aqua, Eloquent (from Laravel), Slim (v3), Some other bullshit
Beware, it might contain nuts
HowTo
First clone the project
or install with composer
Install the dependencies (not needed if you used command above)
Move and edit the configuration from the file to the file
Run the migrations and seeders
Run the tests
Novice
is a php cli script taken from another project. In this small project I extended it to make it easier for everyone to generate classes and even generate their own commands.
How to
Novice will run a script which is in the right place, if it extends the right Interface. The file contains the path where novice will search for the scripts
If you need more, just add more (dont forget to add them to the composer json autoloader config)
Usage
To run a command you will need to be in the root of the project and type
Command Bundled
Out of the box Slime provide you the following novice commands:
which code can be found on
and
which code can be found on
Build Command
Running the command you will generate a lighter version of your api project (easier to deploy via ftp) in the folder.
Will generate the deployable version, if you want it to be execute with verbose output just add -v
will clean the folder.
There is one configuration file that will allow you to customize your build You can add to this file the folders and the files you want the build script to copy over, and if you want to exclude more files on the vendor clean process.
Namespaced Generator Commands
Will generate a Model inside the right folder, creating the namespace structure (psr4 standard) and the namespace string on the file head. the command above will generate file and the class will be in the namespace .
Will generate an Action inside the right folder, creating the namespace structure (psr4 standard) and the namespace string on the file head. the command above will generate file and the class will be in the namespace .
All the Generator commands convert snake_case into UpperCamelCase, so if you type
the command above will generate file and the class will be in the namespace .
All versions of slime-api with dependencies
akrabat/rka-ip-address-middleware Version ^0.4.0
palanik/corsslim Version dev-slim3