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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package slime-api

Slime (SLIM + Eloquent)

Build Status Scrutinizer Code Quality Code Climate Test Coverage Issue Count

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

PHP Build Version
Package Version
Requires vikkio88/slime-framework Version dev-master
akrabat/rka-ip-address-middleware Version ^0.4.0
palanik/corsslim Version dev-slim3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vikkio88/slime-api contains the following files

Loading the files please wait ....