Laravel-Zero
PHP CS Fixer
Laravel-Zero | PHP CS Fixer | |
---|---|---|
10 | 41 | |
3,572 | 12,554 | |
1.3% | 0.3% | |
5.4 | 9.8 | |
11 days ago | 8 days ago | |
PHP | PHP | |
- | MIT 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 CS Fixer
-
8 Essential Tools Every PHP Developer Needs
PHP-CS-Fixer automatically fixes PHP coding standard issues, maintaining a clean codebase and adhering to coding standards. It can be integrated into the development workflow to ensure all code complies with defined standards.
-
Avoiding empty() in PHP
friendsofphp/php-cs-fixer
- PHP-CS-Fixer doesn't fix a lot of things?
- Laravel measuring system?
-
PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
Write a PHP library supports PHP 5.6 to 8.1
I run two tools for this - php-cs-fixer on PHP 5.6 and the built-in syntax checker(php -l).
-
Featherweight library to write to slack channel
You can use this library to help automate this: https://github.com/FriendsOfPHP/PHP-CS-Fixer š
-
How I was able to install php-cs-fixer. Vscode + Linux machine
To be bit a elaborate and for a proper updated installtion process, here is what I did: I used the [latest versio]n(https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/tag/v3.10.0) of php cs fixer then entered the command that followed to install php-cs-fixer.
-
Revisiting GitLab as a PHP Developer
PHP CS Fixer is able to generate a GitLab formatted report which GitLab can use to show you any new violations in the code or even if code style violations have been tackled.
-
7 Laravel Packages to Improve Coding Standards and ReduceĀ Bugs
Laravel Pint is an opinionated PHP code style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is a new addition to the Laravel framework.
What are some alternatives?
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
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 -
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
symfony-console-autocomplete - Shell autocompletion for Symfony Console based scripts
GrumPHP - A PHP code-quality tool
jigsaw - Simple static sites with Laravelās Blade.
PHP-Parallel-Lint - This tool check syntax of PHP files faster than serial check with fancier output.
termwind - š In short, it's like Tailwind CSS, but for the PHP command-line applications.
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.