{"id":13759589,"url":"https://github.com/roots/wp-blade-check","last_synced_at":"2025-05-10T09:33:06.954Z","repository":{"id":62537348,"uuid":"177184627","full_name":"roots/wp-blade-check","owner":"roots","description":"Checks and displays an admin notice if your uncompiled Blade templates are publicly accessible","archived":false,"fork":false,"pushed_at":"2019-03-26T08:43:09.000Z","size":4,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-13T21:33:00.817Z","etag":null,"topics":["blade","sage"],"latest_commit_sha":null,"homepage":"","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/roots.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"roots","patreon":"rootsdev"}},"created_at":"2019-03-22T17:40:00.000Z","updated_at":"2023-11-11T04:41:17.000Z","dependencies_parsed_at":"2022-11-02T15:15:59.316Z","dependency_job_id":null,"html_url":"https://github.com/roots/wp-blade-check","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fwp-blade-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fwp-blade-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fwp-blade-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fwp-blade-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roots","download_url":"https://codeload.github.com/roots/wp-blade-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253397375,"owners_count":21902027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blade","sage"],"created_at":"2024-08-03T13:00:55.802Z","updated_at":"2025-05-10T09:33:06.688Z","avatar_url":"https://github.com/roots.png","language":"PHP","funding_links":["https://github.com/sponsors/roots","https://patreon.com/rootsdev"],"categories":["PHP"],"sub_categories":[],"readme":"# WP Blade Check\n\n[![Packagist](https://img.shields.io/packagist/v/roots/wp-blade-check.svg?style=flat-square)](https://packagist.org/packages/roots/wp-blade-check)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/roots/wp-blade-check.svg?style=flat-square)](https://packagist.org/packages/roots/wp-blade-check)\n\nWP Blade Check is a simple Composer package that checks and displays an admin notice if your uncompiled Blade templates are publicly accessible. This is a sign of an improperly configured webserver, and for the privacy of your codebase, should be [handled accordingly](https://roots.io/sage/docs/theme-installation/). If you are using [Trellis](https://roots.io/trellis/) and/or Kinsta, this is already done for you.\n\n## Installation\n\nInstall via Composer:\n\n```sh\n$ composer require roots/wp-blade-check\n```\n\n## Configuration\n\nNo configuration is needed, but you can pass a few optional settings through the `roots.blade.check` filter such as permanently hiding the notice or adding more file extensions to check against such as `.twig`.\n\n```php\nadd_filter('roots.blade.check', function () {\n    return [\n        'hide'       =\u003e false, // Setting to true will permanently hide the notice.\n        'duration'   =\u003e 60 * 60 * 24, // Duration between checking against the extensions.\n        'extensions' =\u003e ['blade.php', 'twig'] // An array or string containing the extensions to check against.\n    ];\n});\n```\n\n## Contributing\n\nContributions are welcome from everyone. We have [contributing guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) to help you get started.\n\n## Community\n\nKeep track of development and community news.\n\n* Participate on the [Roots Discourse](https://discourse.roots.io/)\n* Follow [@rootswp on Twitter](https://twitter.com/rootswp)\n* Read and subscribe to the [Roots Blog](https://roots.io/blog/)\n* Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)\n* Listen to the [Roots Radio podcast](https://roots.io/podcast/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froots%2Fwp-blade-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froots%2Fwp-blade-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froots%2Fwp-blade-check/lists"}