2017 © Pedro Peláez
 

library assets-manager-middlware

A middleware to serve assets from non public directories

image

kanellov/assets-manager-middlware

A middleware to serve assets from non public directories

  • Wednesday, March 9, 2016
  • by kanellov
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

assets-manager-middleware

master develop
Build Status Build Status

A middleware to serve assets from non public directories, (*1)

Requirements

  • php >= 5.5
  • psr/http-message

Installation

``` terminal $ composer require kanellov/assets-manager-middleware, (*2)


## Example Using middleware with Slim Framework. ``` php <?php chdir(dirname(__FILE__)); require 'vendor/autoload'; $app = new \Slim\App([ 'assets' => [ 'paths' => [ 'some/path', ], 'web_dir' => __DIR__ . '/assets', ], ]); $container = $app->getContainer(); // Register assets-manager-middleware in dependecy container $container['assets'] = function ($c) { $settings = $c->get('settings'); $config = $settings['assets']; return new \Knlv\Middleware\AssetsManager($config); }; // add middleware $app->add('assets'); $app->run();

License

The assets-manager-middleware is licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See License File for more information., (*3)

The Versions

09/03 2016

dev-master

9999999-dev https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets

09/03 2016

dev-develop

dev-develop https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets

07/03 2016

1.0.3

1.0.3.0 https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets

07/03 2016

1.0.2

1.0.2.0 https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets

05/03 2016

1.0.1

1.0.1.0 https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets

04/03 2016

1.0.0

1.0.0.0 https://github.com/kanellov/assets-manager-middleware

A middleware to serve assets from non public directories

  Sources   Download

GNU GPLv3

The Requires

 

The Development Requires

middleware library psr7 assets