PHP CLI

Open-source PHP projects categorized as CLI

Top 23 PHP CLI Projects

  • PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

    Project mention: The Future of PHP_CodeSniffer | news.ycombinator.com | 2024-02-17
  • PsySH

    A REPL for PHP

    Project mention: Open Source Projects You Can Lay Your Hand On | /r/XBScompany | 2023-12-06

    psysh is an interactive shell that enables developers to explore and experiment with PHP code without the need to write the source code for an entire application. It provides a simple and user-friendly shell interface where you can enter PHP code and instantly observe the results. Also, psysh is a configurable tool equipped with various plugins and modules. Therefore, you can customize it the way you want.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • console

    Eases the creation of beautiful and testable command line interfaces

  • phpinsights

    🔰 Instant PHP quality checks from your console

    Project mention: Laravel code-quality tools | dev.to | 2024-02-08

    PHP Insights is a code quality analysis tool that checks for code quality, coding style, complexity, and architecture. Just like Pint, it's also opinionated, so you'll have to customize it to fit your needs.

  • wp-cli

    ⚙️ WP-CLI framework

    Project mention: Mastering WordPress CLI: A Comprehensive Guide to Boost Your Productivity | dev.to | 2023-11-23

    As of my last knowledge update in January 2022, the list of WordPress CLI commands may have expanded or changed. It's always a good idea to check the official WP-CLI documentation for the most up-to-date information. Here's a list of common WP-CLI commands as of my last update:

  • collision

    💥 Collision is a beautiful error reporting tool for command-line applications

    Project mention: I created a PHPUnit 10 extension to prettify CLI output | /r/PHP | 2023-04-25

    I really like how Pest PHP formats and outputs test results, but I still prefer to use PHPUnit. Luckily there's Collision. This package is designed to give you beautiful error reporting when interacting with your app through the command line.

  • Laravel-Zero

    A PHP framework for console artisans

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • drush

    Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.

  • CLI Menu

    🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.

  • mix

    ☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、Swow、WorkerMan、FPM、CLI-Server (by mix-php)

  • minicli

    A minimalist framework for command-line applications in PHP

    Project mention: Creating an Automated Documentation Pipeline in PHP with Autodocs and GitHub Actions | dev.to | 2024-01-16

    { "user": "Erika Heidi", "bio": "Software and Documentation Engineer", "projects": { "minicli/minicli": { "description": "CLI framework for PHP", "link": "https://docs.minicli.dev" }, "erikaheidi/autodocs": { "description": "Tiny framework for automating documentation", "link": "https://github.com/erikaheidi/autodocs/wiki" } } }

  • Silly

    Silly CLI micro-framework based on Symfony Console

  • phpmnd

    PHP Magic Number Detector

    Project mention: PHP libraries and tools | dev.to | 2023-10-18

    PHP Magic Number Detector: a tool that aims to help you to detect magic numbers in your PHP code.

  • PHP-watcher

    Monitor for any changes in your php application and automatically restart it (suitable for async apps).

  • castor

    🦫 DX oriented task runner and command launcher built with PHP. (by jolicode)

    Project mention: jolicode/castor | DX oriented task runner and command launcher built with PHP | /r/PHP | 2023-06-05
  • PHP console

    🖥 PHP CLI application library, provide console options,arguments parse, console controller/command run, color style, user interactive, format information show and more. 功能全面的PHP命令行应用库。提供控制台选项、参数解析, 命令运行,颜色风格输出, 用户信息交互, 特殊格式信息显示 (by inhere)

  • GetOpt

    A PHP library for command-line argument processing

  • Construct

    A PHP project/micro-package generator for PDS compliant projects or micro-packages. (by jonathantorres)

  • php-tui

    PHP TUI

  • drupal-code-generator

    A code generator for Drupal.

    Project mention: SDC in Drupal core | dev.to | 2023-09-14

    Starting from drupal-code-generator version 3.2.0, a new generator has been added to easily create new components (this replaces the Component Libraries: Generator module that is not compatible with Drush 12). Just run this command and follow the instructions:

  • bootgly

    Base PHP Framework for Multi Projects

    Project mention: Release v0.3.1-beta · bootgly/bootgly | /r/bootgly | 2023-12-08
  • keep-a-changelog

    Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing. (by phly)

  • haulable

    Create standalone PHP CLI applications with PHP Micro CLI

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-17.

PHP CLI related posts

Index

What are some of the best open-source CLI projects in PHP? This list will help you:

Project Stars
1 PHP Code Sniffer 10,600
2 PsySH 9,655
3 console 9,644
4 phpinsights 5,191
5 wp-cli 4,801
6 collision 4,427
7 Laravel-Zero 3,538
8 drush 2,324
9 CLI Menu 1,931
10 mix 1,920
11 minicli 1,006
12 Silly 893
13 phpmnd 543
14 PHP-watcher 393
15 castor 347
16 PHP console 343
17 GetOpt 332
18 Construct 267
19 php-tui 260
20 drupal-code-generator 256
21 bootgly 203
22 keep-a-changelog 177
23 haulable 160
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com