Spiral

Spiral has two main meanings in the PHP and software engineering world.

Spiral Framework is a high-performance PHP framework built on top of RoadRunner, a Go-based application server. Unlike traditional PHP frameworks that re-bootstrap the application on every request, Spiral keeps the application alive between requests in long-running workers, significantly reducing overhead. It is well-suited for microservices, APIs, and high-throughput applications.

Spiral model, or spiral development model is a software development lifecycle model that combines iterative development with systematic risk analysis. Each iteration, or spiral, passes through four phases: planning, risk analysis, engineering, and evaluation. It is particularly suited for large, complex, or high-risk projects where requirements may evolve.

Both concepts involve iterative, incremental progression: the spiral metaphor captures the idea of building upon previous cycles.

<?php

// Spiral Framework: defining a simple controller
namespace App\Controller;

use Spiral\Router\Annotation\Route;

final class HomeController
{
    #[Route(route: '/', name: 'home')]
    public function index(): string
    {
        return 'Hello from Spiral!';
    }
}

?>

Documentation

See also Spiral Framework, Spiral Development Model (Wikipedia) and RoadRunner.

Related : Framework, Waterfall, Agile, Software Development Life Cycle (SDLC), Microservice, Async

Related packages : spiral/framework, spiral/roadrunner