Skip to content

scil/opcache-status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPcache Status Packagist

A one-page opcache status page for the PHP 5.5 opcode cache.

You don't need the opcode cache installed to help out with this. See the data-sample.php file for a dump of the data.

I know it is rather ugly, so please spruce it up. But I would like to keep it relatively small and to a single file so it is easy to drop into a directory anywhere without worrying about separate css/js/php files.

Screenshot

Change log

v0.3.0

change $_SERVER['PHP_SELF'] to $_SERVER['REQUEST_URI']. so this script can be used in Laravel route:

    Route::get('/opcache', function () {
        // $request = app()->make('request'); if ($request->query('clear')) { opcache_reset(); return back(); }

        require __DIR__ . '/../vendor/scil/opcache-status/opcache.php';

    });

v0.2.0

from: https://github.com/LC43/opcache-status

TODO

  • The ability to sort the list of cached scripts by the various columns
  • A better layout that can accommodate more of the script data without looking cluttered
  • A tuning suggestion tab (need to add a couple of things to the opcache output first though)

About

A one-page opcache status page

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%