2017 © Pedro Peláez
 

library slim

A bootstrapper for the Slim framework

image

datado/slim

A bootstrapper for the Slim framework

  • Saturday, February 6, 2016
  • by thomas.biesaart
  • Repository
  • 1 Watchers
  • 1 Stars
  • 44 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

DataDo Slim

Build a Slim framework rest api from your Repository, (*1)

What is Slim?

Slim is a solid rest api framework that allows you to easily develop rest apis. You can find all you need to know at slimframework.com., (*2)

Usage

To use this bootstrapper you first need to add the composer dependency, (*3)

composer require datado/slim

Then you create your repository more info here and attach it to your application., (*4)


$app = new \Slim\App; \DataDo\Slim::attach($app, $repository); // Or a shortcut if you are in a hurry $app = \DataDo\Slim::create($repository); // You can also pass multiple repositories at the same time $app = \DataDo\Slim::create($pageRepository, $fileRepository, $userRepository); // All you need to do now is start the app $app->run();

And now you're good to go! Let's say your repository is hosting User entities. Then the above code will have created a rest api at /users., (*5)

The Versions

06/02 2016

dev-master

9999999-dev

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

06/02 2016

1.2.3

1.2.3.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

05/02 2016

1.2.2

1.2.2.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

30/01 2016

1.2.1

1.2.1.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

11/12 2015

1.2.0

1.2.0.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

09/11 2015

1.1.2

1.1.2.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

08/11 2015

1.1.1

1.1.1.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart

08/11 2015

1.1.0

1.1.0.0

A bootstrapper for the Slim framework

  Sources   Download

MIT

The Requires

 

by Thomas Biesaart