2017 © Pedro Peláez
 

package lumen-opcache-clear

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

image

pou/lumen-opcache-clear

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

  • Thursday, October 26, 2017
  • by pou
  • Repository
  • 1 Watchers
  • 0 Stars
  • 193 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

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

Getting Started

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

Prerequisities

Lumen 5 up&running installation. Registered Crypt alias., (*3)

Installation

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

composer require michelecurletta/laravel-opcache-clear

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

// config/app.php
'providers' => [
    ...
    MicheleCurletta\LaravelOpcacheClear\OpcacheClearServiceProvider::class,
    ...
];

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

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

Usage

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

php artisan opcache:clear

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

Suggestion

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

The Versions

26/10 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta
by Alex Fedorko

cache lumen opcache clear reset

26/10 2017

1.2

1.2.0.0

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta
by Alex Fedorko

cache lumen opcache clear reset

26/10 2017

1.2.1

1.2.1.0

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta
by Alex Fedorko

cache lumen opcache clear reset

16/11 2016

1.1.2

1.1.2.0

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

cache lumen opcache clear reset

16/11 2016

1.1.1

1.1.1.0

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

cache lumen opcache clear reset

16/11 2016

1.1.0

1.1.0.0

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

  Sources   Download

MIT

The Requires

 

by Michele Giovanni Curletta

cache lumen opcache 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