lumen-opcache-clear maintained by pou
Last update
2016/11/16 22:49
License
Require
- php >=5.5.9
- laravel/lumen-framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/11/16 22:49
License
Require
- php >=5.5.9
- laravel/lumen-framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/11/16 21:55
License
Require
- php >=5.5.9
- laravel/lumen-framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/11/16 20:53
License
Require
- php >=5.5.9
- laravel/lumen-framework 5.*
- guzzlehttp/guzzle 6.*
Last update
2016/09/18 15:28
License
Require
- php >=5.5.9
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 21:45
License
Require
- php ^7.0
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 21:13
License
Require
- php ^7.0
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 20:57
License
Require
- php ^7.0
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 20:46
License
Require
- php ^7.0
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 20:41
License
Require
- php ^7.0
- laravel/framework 5.*
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 19:15
License
Require
- php ^7.0
- laravel/laravel ^5.2.0
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 19:11
License
Require
- php ^7.0
- laravel/laravel ^5.0
- guzzlehttp/guzzle 5.3.*
Last update
2016/09/07 19:02
License
Require
- php ^7.0
- laravel/laravel ^5.3
- guzzlehttp/guzzle 5.3.*
comments powered by Disqus
Clear OPcache with ease
This Laravel 5 package allows you to clear OPcache, solving a common problem related to cache invalidation during atomic deployments (also called "zero downtime deploy").
Getting Started
These instructions allows you to install the package into an existing Laravel app.
Prerequisities
Lumen 5 up&running installation. Registered Crypt alias.
Installation
You can install this package via Composer using:
composer require michelecurletta/laravel-opcache-clear
You must also install this service provider.
// config/app.php
'providers' => [
...
MicheleCurletta\LaravelOpcacheClear\OpcacheClearServiceProvider::class,
...
];
You must make sure that you've setted the right application url into config/app.php
// config/app.php
'url' => env('APP_URL', 'http://my-app-url'),
Usage
Once you have installed the package, you can run the following command:
php artisan opcache:clear
All done! Your OPcache is resetted!
Suggestion
Run this command during deployment process in order to automate the cleaning process before you app become active!