{"id":13545645,"url":"https://github.com/appstract/laravel-opcache","last_synced_at":"2025-05-14T10:05:09.432Z","repository":{"id":54740819,"uuid":"81122723","full_name":"appstract/laravel-opcache","owner":"appstract","description":"Laravel Package for OPcache","archived":false,"fork":false,"pushed_at":"2023-07-24T07:09:28.000Z","size":212,"stargazers_count":1356,"open_issues_count":22,"forks_count":124,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-05-11T05:02:18.613Z","etag":null,"topics":["artisan","laravel","laravel-package","opcache","php"],"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/appstract.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-06T19:20:39.000Z","updated_at":"2025-05-09T10:55:06.000Z","dependencies_parsed_at":"2024-01-16T17:02:23.804Z","dependency_job_id":"f3d59c77-c500-4bd3-8d89-fca994671a6b","html_url":"https://github.com/appstract/laravel-opcache","commit_stats":{"total_commits":155,"total_committers":23,"mean_commits":6.739130434782608,"dds":0.3612903225806452,"last_synced_commit":"d2ce88cddda6af54c14d1f9ceaaf94b54f38f9d3"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-opcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-opcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-opcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appstract%2Flaravel-opcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appstract","download_url":"https://codeload.github.com/appstract/laravel-opcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253738674,"owners_count":21956257,"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":["artisan","laravel","laravel-package","opcache","php"],"created_at":"2024-08-01T11:01:08.022Z","updated_at":"2025-05-14T10:05:09.365Z","avatar_url":"https://github.com/appstract.png","language":"PHP","readme":"# Laravel OPcache\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/appstract/laravel-opcache.svg?style=flat-square)](https://packagist.org/packages/appstract/laravel-opcache)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Total Downloads](https://img.shields.io/packagist/dt/appstract/laravel-opcache.svg?style=flat-square)](https://packagist.org/packages/appstract/laravel-opcache)\n\nThis package contains some useful Artisan commands to work with PHP OPcache.\n\n#### If you want to learn more about OPcache and what it can do for your Laravel application, [read the article on Medium](https://medium.com/appstract/make-your-laravel-app-fly-with-php-opcache-9948db2a5f93#.bjrpj4h1c).\n\n## Requirements\nThis package requires Laravel 7 or newer.\n\n## Installation\n\nYou can install the package via Composer:\n\n``` bash\ncomposer require appstract/laravel-opcache\n```\n\nIf you need to change config values, you can publish the config file with:\n\n```bash\nphp artisan vendor:publish --provider=\"Appstract\\Opcache\\OpcacheServiceProvider\" --tag=\"config\"\n```\n\nMake sure your APP_URL is set correctly in .env.\n\nIf you want to set a different url to call the OPcache routes (for use with a load balancer for example),\nyou can set OPCACHE_URL.\n\n## Usage\n\nClear OPcache:\n``` bash\nphp artisan opcache:clear\n```\n\nShow OPcache config:\n``` bash\nphp artisan opcache:config\n```\n\nShow OPcache status:\n``` bash\nphp artisan opcache:status\n```\n\nPre-compile your application code:\n``` bash\nphp artisan opcache:compile {--force}\n```\nNote: `opcache.dups_fix `must be enabled, or use the `--force` flag.\nIf you run into \"Cannot redeclare class\" errors, enable `opcache.dups_fix` or add the class path to the exclude list.\n\nProgrammatic usage:\n\n```php\nuse Appstract\\Opcache\\OpcacheFacade as OPcache;\n\n...\n\nOPcache::clear();\n```\n\n## Contributing\n\nContributions are welcome, [thanks to y'all](https://github.com/appstract/laravel-opcache/graphs/contributors) :)\n\n## About Appstract\n\nAppstract is a small team from The Netherlands. We create (open source) tools for webdevelopment.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Flaravel-opcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappstract%2Flaravel-opcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappstract%2Flaravel-opcache/lists"}