Laravel OPcache package
This package contains some useful Artisan commands to work with PHP OPcache.
this article on Medium.If you want to learn more about OPcache and what it can do for your Laravel app, you can read
You can install the package via composer:
composer require appstract/laravel-opcache
Then register the service provider:
// config/app.php 'providers' => [ ... Appstract\Opcache\OpcacheServiceProvider::class, ];
Make sure your APP_URL is set correctly.
Run one of the commands on your server.
php artisan opcache:clear
Show OPcache config:
php artisan opcache:config
Show OPcache status:
php artisan opcache:status
// use Appstract\Opcache\OpcacheFacade as OPcache; OPcache::clear()
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
Appstract is a small team from The Netherlands. <3 Laravel, Vue and other awesome tools.
The MIT License (MIT). Please see License File for more information.