PivotPHP v1.0.0 Release Notes
🚀 PivotPHP Core v1.0.0
Overview
First stable release of PivotPHP Core - a lightweight, fast, and secure PHP microframework inspired by Express.js.
Key Features
- Express.js-inspired API: Familiar routing and middleware patterns
- PSR Compliance: Full PSR-7, PSR-11, PSR-15 support
- High Performance: Optimized for speed with minimal overhead
- Security First: Built-in CSRF, XSS, rate limiting, and security headers
- Modern PHP: Requires PHP 8.1+ with full type declarations
- Developer Friendly: Intuitive API with comprehensive documentation
Installation
composer require pivotphp/coreQuick Start
<?php
require 'vendor/autoload.php';
use PivotPHP\Core\Core\Application;
$app = new Application();
$app->get('/', function($req, $res) {
$res->json(['message' => 'Hello from PivotPHP!']);
});
$app->run();