Files
laps/laps.php
T
sandros d035dbe215
Tests / tests (push) Failing after 8s
Release / upload-asset (push) Failing after 5s
Released version 3.4.0
2026-09-26 22:59:55 +02:00

31 lines
732 B
PHP

<?php
/*
Plugin Name: Laps
Plugin URI: https://github.com/Rarst/laps
Description: Light WordPress profiler.
Author: Andrey “Rarst” Savchenko
Version: 3.4.0
Author URI: https://www.rarst.net/
Requires at least: 7.0
Requires PHP: 7.4
Update URI: false
License: MIT
*/
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require __DIR__ . '/vendor/autoload.php';
}
if ( ! class_exists( '\Rarst\Laps\Plugin' ) ) {
trigger_error( 'Laps not fully installed! Please install with Composer or download full release archive.', E_USER_ERROR );
}
if ( PHP_VERSION_ID < 70400 ) {
trigger_error( 'Laps requires PHP version >=7.4.', E_USER_ERROR );
}
$laps = new \Rarst\Laps\Plugin();
$laps->run();