{"id":33981248,"url":"https://github.com/lokhman/silex-autoreload","last_synced_at":"2026-05-28T01:02:32.267Z","repository":{"id":57015534,"uuid":"79909479","full_name":"lokhman/silex-autoreload","owner":"lokhman","description":"Silex 2.0+ service provider for AutoReload functionality","archived":false,"fork":false,"pushed_at":"2017-03-09T12:42:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T16:24:01.170Z","etag":null,"topics":["autoreload","silex","tools"],"latest_commit_sha":null,"homepage":"https://lokhman.github.io/silex-autoreload/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lokhman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-24T12:27:31.000Z","updated_at":"2018-03-17T16:57:37.000Z","dependencies_parsed_at":"2022-08-22T09:31:42.645Z","dependency_job_id":null,"html_url":"https://github.com/lokhman/silex-autoreload","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lokhman/silex-autoreload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokhman%2Fsilex-autoreload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokhman%2Fsilex-autoreload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokhman%2Fsilex-autoreload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokhman%2Fsilex-autoreload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lokhman","download_url":"https://codeload.github.com/lokhman/silex-autoreload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokhman%2Fsilex-autoreload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33589684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["autoreload","silex","tools"],"created_at":"2025-12-13T03:39:05.221Z","updated_at":"2026-05-28T01:02:32.247Z","avatar_url":"https://github.com/lokhman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# silex-autoreload\n\n[![StyleCI](https://styleci.io/repos/79909479/shield?branch=master)](https://styleci.io/repos/79909479)\n\nAutoReload functionality service provider for [**Silex 2.0+**](http://silex.sensiolabs.org/) micro-framework.\n\n\u003e This project is a part of [`silex-tools`](https://github.com/lokhman/silex-tools) library.\n\n## \u003ca name=\"installation\"\u003e\u003c/a\u003eInstallation\nYou can install `silex-autoreload` with [Composer](http://getcomposer.org):\n\n    composer require lokhman/silex-autoreload\n\n## \u003ca name=\"documentation\"\u003e\u003c/a\u003eDocumentation\nSimple service provider for page auto-reload functionality. It will embed small JavaScript file into every page with\n`text/html` content type, that will reload the page once any (as per configuration) file in the tree is updated.\nSupports directories, file name patterns and path exclusions.\n\n    use Lokhman\\Silex\\Provider\\AutoReloadServiceProvider;\n\n    $app-\u003eregister(new AutoReloadServiceProvider(), [\n        'autoreload.interval' =\u003e 60,\n        'autoreload.uri' =\u003e '/__autoreload',\n        'autoreload.js_uri' =\u003e '/__autoreload.js',\n        'autoreload' =\u003e [\n            'dirs' =\u003e ['/dir/to/watch1', '/dir/to/watch2'],\n            'files' =\u003e ['*.twig', '*.css', '*.js'],\n            'exclude' =\u003e ['node_modules'],\n        ],\n    ]);\n\nModule can be switched off with setting `autoreload` parameter to `false`.\n\nRequires [`APCu`](http://php.net/manual/en/book.apcu.php) extension enabled and\n[`Symfony Finder`](https://github.com/symfony/finder) library.\n\n## \u003ca name=\"license\"\u003e\u003c/a\u003eLicense\nLibrary is available under the MIT license. The included LICENSE file describes this in detail.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokhman%2Fsilex-autoreload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokhman%2Fsilex-autoreload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokhman%2Fsilex-autoreload/lists"}