{"id":18929539,"url":"https://github.com/thecodingmachine/silex-middleware","last_synced_at":"2026-03-05T12:02:10.724Z","repository":{"id":26475547,"uuid":"29927329","full_name":"thecodingmachine/silex-middleware","owner":"thecodingmachine","description":"This package provides a StackPHP middleware that can be used to plug a Silex application","archived":false,"fork":false,"pushed_at":"2015-05-12T13:30:31.000Z","size":140,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"1.0","last_synced_at":"2025-10-20T06:24:54.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-27T18:07:46.000Z","updated_at":"2022-07-14T04:00:52.000Z","dependencies_parsed_at":"2022-07-25T15:32:00.525Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/silex-middleware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thecodingmachine/silex-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsilex-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsilex-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsilex-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsilex-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/silex-middleware/tar.gz/refs/heads/1.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fsilex-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30123729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:33:26.552Z","updated_at":"2026-03-05T12:02:10.707Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Silex middleware for StackPHP\n=============================\n\nThis package contains a [StackPHP middleware](http://stackphp.com/) that unables you to push a Silex\napplication directly on the middleware stack. The Silex application will try to handle requests but\ninstead of sending a 404 response if nothing is found, the next middleware on the stack will be called.\n\nInstallation\n------------\n\nThrough [Composer](https://getcomposer.org/) as [mouf/silex-middleware](https://packagist.org/packages/mouf/silex-middleware).\n\nUsage\n-----\n\nSimply use the `SilexMiddleWare` class in your middleware stack:\n\n```php\nuse Mouf\\StackPhp\\SilexMiddleware;\nuse Silex\\Application;\nuse Stack\\Builder;\n\n$app = ...\n\n$silex = new Silex\\Application();\n$silex-\u003eget('/hello', function(Request $request) {\n    return 'Hello World!';\n});\n\n$stack = (new Stack\\Builder())\n    -\u003epush(SilexMiddleWare::class, $silex);\n\n$app = $stack-\u003eresolve($app);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fsilex-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fsilex-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fsilex-middleware/lists"}