<?php
/**
 * Plugin Name:       Monitor.Cat
 * Plugin URI:        https://wordpress.org/plugins/monitor-cat/
 * Description:       WordPress SEO analysis, speed optimization, and diagnostics toolkit. Analyze your content for search visibility, optimize site performance, and monitor system health — all from one dashboard.
 * Version:           1.2.2
 * Requires at least: 6.0
 * Requires PHP:      8.0
 * Author:            Monitor.Cat
 * Author URI:        https://monitor.cat
 * License:           GPL-2.0-or-later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       monitor-cat
 * Domain Path:       /languages
 */

declare(strict_types=1);

defined( 'ABSPATH' ) || exit;

define( 'MONITORCAT_VERSION', '1.2.2' );
define( 'MONITORCAT_FILE', __FILE__ );
define( 'MONITORCAT_DIR', plugin_dir_path( __FILE__ ) );
define( 'MONITORCAT_URL', plugin_dir_url( __FILE__ ) );
define( 'MONITORCAT_BASENAME', plugin_basename( __FILE__ ) );

require_once MONITORCAT_DIR . 'vendor/autoload.php';

add_action( 'init', array( MonitorCat\Kernel::class, 'boot' ) );

register_activation_hook( __FILE__, array( MonitorCat\Kernel::class, 'activate' ) );
register_deactivation_hook( __FILE__, array( MonitorCat\Kernel::class, 'deactivate' ) );
