Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 23 PHP CLI Projects
-
PHP Code Sniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
Why choose when you can have both in one https://psysh.org/ lol... I testdrove it once, but not convinced (I think the "merged" 2-languages-in-1 is pretty funny but maybe it works for some people).
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
Symfony console component. The Console component eases the creation of beautiful and testable command line interfaces.
-
Project mention: 7 Laravel Packages to Improve Coding Standards and Reduce Bugs | dev.to | 2022-08-01
PHP Insights is a static analysis tool of your code directly from your terminal. By running a single command it displays the Quality of Code, Complexity of Code, Architecture and Coding Style.
-
It was as I know just released 2 years ago. And as I know Nuno already works on PestPHP 2.0. It is also build on top of PHPUnit which means you can run all PHPUnit tests also with PestPHP runner. It is mostly be used in Laravel ecosystem as the maintainer is a maintainer of Laravel, I personally did not yet give it a try as I'm more in the Symfony world, but I use mostly the same PHPUnit Printer called Collision which make the PHPUnit a bit nicer :).
-
Project mention: Anyone ever built their ETL process in a PHP framework (Laravel?) or similar? | reddit.com/r/ETL | 2022-11-23
Originally I considered using Laravel Zero but I think web views could play a role in the future such as an admin page to allow non-technical people to restart commands, etc.
-
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.
wget https://github.com/drush-ops/drush/releases/download/8.3.6/drush.phar
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、Swow、WorkerMan、FPM、CLI-Server (by mix-php)
Project mention: Anyone have production examples or prototypes you built in Swoole? | reddit.com/r/PHP | 2022-03-27 -
Silly is nice for simple cli tools as well which is just a simple wrapper around symfony/console
-
Project mention: Como criar uma GitHub Action para importar posts do DEV.to em PHP com o Minicli - Vídeo + Tutorial | dev.to | 2022-04-22
-
A detailed installation guide can be found at https://github.com/povils/phpmnd
-
PHP-watcher
Monitor for any changes in your php application and automatically restart it (suitable for async apps).
-
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)
-
-
Construct
A PHP project/micro-package generator for PDS compliant projects or micro-packages. (by jonathantorres)
-
keep-a-changelog
Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing. (by phly)
-
-
-
Project mention: I made a library to easily try out Composer packages | reddit.com/r/PHP | 2022-03-16
-
thermage
Thermage provides a fluent and incredibly powerful object-oriented interface for customizing CLI output text color, background, formatting, theming and more.
-
-
import-cli-simple
This the meta package for Pacemaker Community, a Symfony based CLI application that provides import functionality for products, categories, attributes, and attribute-sets. The default format is CSV, adapters for XML are also available. The application can be declaratively extended by additional operations, which can be used to reassemble and execute the existing functionalities according to project-specific requirements. But also completely new commands can be integrated quickly and easily via d
Use Pacemaker to import URLs
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
PHP CLI related posts
- how can I know if I am following PSR standards
- What is your #1 PHP feature request (part 2)
- Extensionless scripts in PHP_CodeSniffer
- Como configurar e executar alguns tipos de testes para Magento 2
- How to become a 10X developer 😝
- Probably the best config option not to use
- Ignore specific error in PHP_CodeSniffer
-
A note from our sponsor - SonarQube
www.sonarqube.org | 7 Feb 2023
Index
What are some of the best open-source CLI projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | PHP Code Sniffer | 9,982 |
2 | PsySH | 9,468 |
3 | console | 9,397 |
4 | phpinsights | 4,835 |
5 | collision | 4,187 |
6 | Laravel-Zero | 3,219 |
7 | drush | 2,276 |
8 | CLI Menu | 1,878 |
9 | mix | 1,835 |
10 | Silly | 865 |
11 | minicli | 797 |
12 | phpmnd | 517 |
13 | PHP-watcher | 373 |
14 | PHP console | 337 |
15 | GetOpt | 325 |
16 | Construct | 263 |
17 | keep-a-changelog | 172 |
18 | Aura.Cli | 102 |
19 | instagram-export | 79 |
20 | try | 76 |
21 | thermage | 75 |
22 | sslcheck | 70 |
23 | import-cli-simple | 69 |