food-order-gh-action-test
laravel-pint-action
food-order-gh-action-test | laravel-pint-action | |
---|---|---|
1 | 1 | |
0 | 78 | |
- | - | |
10.0 | 5.9 | |
over 1 year ago | 4 months ago | |
PHP | Shell | |
- | - |
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.
food-order-gh-action-test
-
Laravel code-quality tools
In the above workflow, we used the --report option and that requires us to have the ENLIGHTN_USERNAME and ENLIGHTN_API_TOKEN in our environment variables. Since we can't directly add them to our .env file for security reasons, we need to use Actions Secrets. You can add secrets on this page: https://github.com/yourGitHubUsername/yourRepoName/settings/secrets/actions. Click on the New repository secret button to add your secret:
laravel-pint-action
-
Laravel code-quality tools
Here's the workflow for Laravel Pint. In this case, we're using a ready-made action. Since Laravel Pint is so simple, we can get away with using something like this. Instead of run, you supply the name of the action. You can find these on GitHub Marketplace or simply search for "[name of code quality tool] github action" on Google:
What are some alternatives?
PHP-CS-Fixer - A tool to automatically fix PHP Coding Standards issues [Moved to: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer]
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality. [Moved to: https://github.com/larastan/larastan]
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
psalm-plugin-laravel - A Psalm plugin for Laravel
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
enlightn - Your performance & security consultant, an artisan command away.
food-order-app-laravel-tdd - A sample project for demonstrating the basics of test-driven development in Laravel
LSP - Client implementation of the Language Server Protocol for Sublime Text
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support