awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

PHP CLI Frameworks

Ranking updated Jul 13, 2026

For a library for building PHP CLI applications, the strongest matches are symfony/console (This is the industry-standard framework for building sophisticated PHP), mnapoli/silly (Silly is a micro-framework built on top of Symfony) and symfony/framework-bundle (This repository provides the core integration for the Symfony). symfony/dependency-injection and php-fig/container round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best php cli frameworks”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

PHP CLI Frameworks

Find the best repos with AI.We'll search the best matching repositories with AI.
  • symfony/consolesymfony avatar

    symfony/Console

    9,813View on GitHub↗

    Console is a PHP CLI framework used for building interactive terminal applications. It functions as a command line interface development toolkit and orchestrator that manages the lifecycle of terminal commands, processes user input, and produces formatted text output. The project includes a terminal capability detector to identify system color modes and window dimensions for creating responsive layouts. It provides a console output formatter for rendering styled text, bordered blocks, and progress bars, alongside a system for creating interactive terminal interfaces. The framework covers com

    This is the industry-standard framework for building sophisticated PHP CLI applications, providing comprehensive tools for command routing, argument parsing, interactive prompts, and advanced output styling.

    PHPCommand Routing ArchitecturesDependency Injection ContainersCommand Line Argument Parsers
    View on GitHub↗9,813
  • mnapoli/sillyM

    mnapoli/silly

    0View on GitHub↗

    currentMenu: home Silly CLI micro-framework based on Symfony Console.

    Silly is a micro-framework built on top of Symfony Console that provides a simplified, expressive syntax for defining commands, argument parsing, and routing, making it a solid choice for building CLI tools in PHP.

    PHP CLI Frameworks
    View on GitHub↗0
  • symfony/framework-bundlesymfony avatar

    symfony/framework-bundle

    3,568View on GitHub↗

    This project serves as the core integration layer for building full-stack web applications in PHP. It provides a unified foundation by connecting essential infrastructure components, including a dependency injection container, an event dispatcher, and a request routing engine. The framework operates through a kernel-based request lifecycle that transforms incoming HTTP requests into responses via prioritized middleware stages. The system distinguishes itself through a highly modular architecture that relies on configuration-driven service wiring and metadata-driven attribute mapping. During t

    This repository provides the core integration for the Symfony Console component, which is a robust and industry-standard framework for building complex CLI applications with advanced routing, styling, and argument parsing capabilities.

    PHPDependency Injection Containers
    View on GitHub↗3,568
  • symfony/dependency-injectionsymfony avatar

    symfony/dependency-injection

    4,166View on GitHub↗

    This project is a PHP dependency injection container and framework designed to centralize object construction and manage class dependencies. It serves as a service container and configuration registry that automates object lifecycles and manages references between services to decouple application components from their specific dependencies. The system handles the instantiation and wiring of objects through both constructor and setter injection. It provides a centralized registry for storing reusable parameters and service definitions, which prevents the hardcoding of settings across the appli

    This is a dependency injection container library that provides a single architectural component, rather than a comprehensive framework for building CLI applications with command routing and interactive console features.

    PHPDependency InjectionDependency Injection ContainersDependency Injection Containers
    View on GitHub↗4,166
  • php-fig/containerphp-fig avatar

    php-fig/container

    10,012View on GitHub↗

    This project is a shared technical specification and standard interface for dependency injection containers in PHP. It defines a common set of interfaces for retrieving services and dependencies, ensuring that different container implementations remain interoperable across the PHP ecosystem. By establishing a standardized API for dependency retrieval, the project allows developers to create libraries that function with any compliant container. This prevents vendor lock-in and enables different container implementations to be swapped without requiring changes to the application code. The spec

    This repository provides a standardized interface for dependency injection containers rather than a framework for building command-line applications, making it a supporting component rather than the tool itself.

    PHPDependency InjectionDependency InjectionDependency Injection Containers
    View on GitHub↗10,012
  • textualize/richTextualize avatar

    Textualize/rich

    56,636View on GitHub↗

    Rich is a comprehensive library for building sophisticated command-line interfaces and terminal applications. It provides a robust console formatting engine and a layout framework that enables developers to render rich text, syntax-highlighted code, and complex data structures directly in the terminal. By utilizing a recursive constraint-based layout engine, the library allows for the creation of hierarchical grids, panels, and trees that maintain their structure even as terminal dimensions change. What distinguishes the library is its ability to manage persistent, real-time terminal interfac

    This is a Python library for terminal styling and layout, not a PHP framework, and it lacks the command routing and dependency injection features required for building CLI applications in PHP.

    PythonConsole Formatting EnginesCLI Interaction HelpersConsole Style Definitions
    View on GitHub↗56,636

Related searches

  • a ruby framework for building cli applications
  • a library for building C# CLI applications
  • a java library for building cli applications
  • a library for building Kotlin CLI applications
  • a library for building typescript cli tools
  • a Go framework for building CLI tools
  • a CLI building framework for Python
  • a library for scheduling tasks in PHP