2017 © Pedro Peláez
 

package laravel-opcache-clear

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

image

cvepdb/laravel-opcache-clear

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  • Thursday, March 30, 2017
  • by 42antoine
  • Repository
  • 1 Watchers
  • 1 Stars
  • 163 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

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")., (*2)

Getting Started

These instructions allows you to install the package into an existing Laravel app., (*3)

Prerequisities

Laravel 5.4 up&running installation., (*4)

Installation

You can install this package via Composer using:, (*5)

composer require abenevaut/laravel-opcache-clear

You must also install this service provider., (*6)

// config/app.php
'providers' => [
    ...
    ABENEVAUT\Opcache\Clear\App\Providers\OpcacheClearServiceProvider::class,
    ...
];

You must make sure that you've setted the right application url into config/app.php, (*7)

// config/app.php
 'url' => env('APP_URL', 'http://my-app-url'),

Usage

Once you have installed the package, you can run the following command:, (*8)

php artisan opcache:clear

All done! Your OPcache is resetted!, (*9)

Suggestion

Run this command during deployment process in order to automate the cleaning process before you app become active!, (*10)

Credits to main author

Original package : michelecurletta/laravel-opcache-clear, (*11)

The Versions

30/03 2017

5.4.x-dev

5.4.9999999.9999999-dev

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

GPL-3

The Requires

 

The Development Requires

by Antoine Benevaut

laravel cache php-fpm fpm opcache purge clear reset

21/02 2017

dev-master

9999999-dev

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

GPL-3

The Requires

 

The Development Requires

by Antoine Benevaut

laravel cache php-fpm fpm opcache purge clear reset

21/02 2017

1.0.1

1.0.1.0

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

GPL-3

The Requires

 

The Development Requires

by Antoine Benevaut

laravel cache php-fpm fpm opcache purge clear reset

21/02 2017

5.4.0

5.4.0.0

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

GPL-3

The Requires

 

The Development Requires

by Antoine Benevaut

laravel cache php-fpm fpm opcache purge clear reset

05/02 2017

5.3.x-dev

5.3.9999999.9999999-dev

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

MIT

The Requires

 

by Antoine Benevaut
by Michele Giovanni Curletta

laravel cache php-fpm fpm opcache purge clear reset

05/02 2017

5.3.0

5.3.0.0

This Laravel package allows you to clear the OPcache of a PHP application running in FPM mode with ease.

  Sources   Download

MIT

The Requires

 

by Antoine Benevaut
by Michele Giovanni Curletta

laravel cache php-fpm fpm opcache purge clear reset

18/09 2016

1.0.0

1.0.0.0

This package allows you to clear OPcache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

laravel cache opcache clear reset

07/09 2016

0.0.10

0.0.10.0

This package allows you to clear OPcache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.9

0.0.9.0

This package allows you to clear OPcache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.8

0.0.8.0

This package allows you to clear OPcache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.7

0.0.7.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.6

0.0.6.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.5

0.0.5.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.4

0.0.4.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.3

0.0.3.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.2

0.0.2.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

07/09 2016

0.0.1

0.0.1.0

This package allows you to clear OpCache when running PHP in FPM mode.

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta