Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahomu/silicone

Thin wrapper.
https://github.com/ahomu/silicone

Last synced: about 1 month ago
JSON representation

Thin wrapper.

Awesome Lists containing this project

README

        

Silicone
=============================

Silicone is a framework wrapped around a thin layer of Silex.

###app.php

domain->import('Sample');

$app->get('/', function (Request $req, Application $app) {

$sample = $app->domain->call('Sample');

return $sample->action('test');
});

###public/index.php

run(); // send http response.

The 'run' methods return response with http. This is simple approach develop of WebApps.

###call other php

lan(); // return Symfoby http response object.

$Acme->someMethod($response);

The 'lan' methods return response without sending http. Can be executing from locally and CLIs processes.

## Feature

+ Added import of functional domain unit.
+ Added some ServiceProvider. ( FileReader, Simple PDO Wrapper...and more )
+ Override Pimple's implements. Because I want to access the property as well ServiceProvider.

## Requirement

Silicone works with PHP 5.3.2 or later.

## License

Silicone is licensed under the MIT license.