Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahomu/silicone
Thin wrapper.
https://github.com/ahomu/silicone
Last synced: about 1 month ago
JSON representation
Thin wrapper.
- Host: GitHub
- URL: https://github.com/ahomu/silicone
- Owner: ahomu
- License: mit
- Created: 2012-03-08T08:12:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-21T01:00:19.000Z (over 12 years ago)
- Last Synced: 2024-04-14T14:20:08.491Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 211 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.