Laravel-Zero
PHP Code Sniffer
Laravel-Zero | PHP Code Sniffer | |
---|---|---|
10 | 47 | |
3,572 | 10,598 | |
1.3% | 0.1% | |
5.4 | 6.8 | |
11 days ago | about 1 month ago | |
PHP | PHP | |
- | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Laravel-Zero
- Library for Creating Command Line Based Applications in PHP
-
Anyone ever built their ETL process in a PHP framework (Laravel?) or similar?
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.
-
Creating a console app - for a SaaS API
Another Redditor pointed out https://laravel-zero.com which can build a standalone app, PHAR file. https://laravel-zero.com/docs/build-a-standalone-application
-
Release-notes lets you browse Github release notes from the terminal
The app is based on Laravel Zero by u/nunomaduro, and it uses Termwind to render the release notes to console with styling and clickable links.
- +20 Best Projects Made With Laravel
-
I Tried Automating My Files & Folders With PHP For The First Time
Hmm, since you're familiar with Laravel, you could give a try with Laravel Zero. It's based on Laravel (actually, this is stripped version of Laravel), and provides the bare bones for CLI apps.
-
How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer
We won't use specialised frameworks like Minicli or Laravel Zero because the goal is not so much to focus on features but to better understand the development, testing, and distribution phases of command-line programs.
-
Creating CLI Application with Laravel Zero
I've been using Laravel Zero for quite sometimes, mostly writing simple application to do the ETL, migration purpose related - from one database type to another.
-
Maghic: a Swiss army knife for GitHub Actions Workflow
Laravel Zero: micro framework for console application;
PHP Code Sniffer
- The Future of PHP_CodeSniffer
-
Laravel code-quality tools
PHP Insights supports sniffs from PHP CodeSniffer and fixers from PHP CS Fixer. This allows you to add any sniff or fixer as long as it implements PHP_CodeSniffer\Sniffs\Sniff or PhpCsFixer\Fixer\FixerInterface.
-
PHP_CodeSniffer update (package name will NOT be changing... just the repo & ownership)
I don’t know why but that link keeps reloading the page over and over. This one works for me: https://github.com/squizlabs/PHP_CodeSniffer/issues/3932
- The Future of PHP CodeSniffer
-
Top 6 PHP code quality tools 2023
PHP_CodeSniffer is a widely-used tool for enforcing coding standards in PHP. It checks the code against a set of predefined coding standards (such as PSR-12, PSR-2, and many others) and provides reports with violations and recommendations for improvement. Documentation: You can find more information about PHP_CodeSniffer and its usage in the official documentation: PHP_CodeSniffer Repository
-
PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
how can I know if I am following PSR standards
See https://github.com/squizlabs/PHP_CodeSniffer
-
change versions
If you are well-versed in programming then you might wanna take a look at PHPCompatibility. It will scan your codebase at different PHP version rulesets to point out code that needs upgrading. You will be needing PHPCS for this.
-
Your experience switching from vanilla PHP spaghetti/OOP to Symfony?
PHP code sniffer
What are some alternatives?
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
DemirApp Minimal PHP Framework - Simple and minimal yet another PHP 7 Framework
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Packagist - Package Repository Website - try https://packagist.com if you need your own -
PHP Mess Detector - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
symfony-console-autocomplete - Shell autocompletion for Symfony Console based scripts
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
jigsaw - Simple static sites with Laravel’s Blade.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
termwind - 🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
GrumPHP - A PHP code-quality tool