enlightn
PHP-CS-Fixer
enlightn | PHP-CS-Fixer | |
---|---|---|
7 | 3 | |
870 | 11,621 | |
1.1% | - | |
6.7 | 10.0 | |
20 days ago | over 1 year ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | 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.
enlightn
-
Laravel code-quality tools
Enlightn scans your code to check whether it follows best practices in performance, security, and reliability. It's a paid tool, but it also has free checks you can use. At the time of writing, it has 64 checks in the free version and 128 checks in the paid version. For the purposes of this article, we'll only be using the free version.
-
Preventing Installing Composer Dependencies with Known Security Vulnerabilities
There are other tools out there, such as Enlightn and Dependabot, that help you to detect dependencies in your project with security vulnerabilities. But I'd like to think of these types of tools more as being "reactive". By that, I mean that they can alert you of vulnerable dependencies after you've installed them in your project. This can result in you introducing potential security holes into your applications without being aware at first. This is by no means a discredit to any of these types of tools though. Vulnerabilities are always being discovered in frameworks, packages, and libraries. So being able to detect them is a great way to stay on top of your project's security.
-
Mass Assignment Vulnerabilities and Validation in Laravel
In this article, we're going to briefly look at different things to look out for when auditing your app's security, or adding new validation. We'll also look at how you can use "Enlightn" to detect potential mass assignment vulnerabilities.
-
Laravel Security Alerts
Checkout laravel enlghtn, scans all dependencies, we have it wired for all prs and nightly on all code bases. https://www.laravel-enlightn.com/
-
A Laravel package to monitor the health of your application
you can also check https://www.laravel-enlightn.com
-
Your automated performance/security consultant for Laravel apps!
Uhh did you check the link? It's another product. The security checker is an independent package. The Enlightn Github repo is here and the security checker is here. Lol you were so busy criticizing about emojis, you don't even know what I was talking about.
PHP-CS-Fixer
-
Laravel code-quality tools
If you don't want to use any of those presets, your only option is to specify the all the rules by hand. Pint is built on top of PHP CS Fixer so you can use all the rules that it has. You can use the PHP-CS-Fixer configurator to cherry-pick your own set of rules.
-
💅 Automatically Format PHP Code
1.1. Install the package php-cs-fixer
-
how can I know if I am following PSR standards
But I think in most cases they just mean follow the Coding Standard, Which still can be PSR-1, PSR-12 or the new PER Coding Standard. In this case I just recommend your company to add php-cs-fixer to the codebase to apply coding standards rules you want to follow. Good it it does not just lint it it will already fix it.
What are some alternatives?
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
tlint - Tighten linter for Laravel conventions.
laravel-activitylog - Log activity inside your Laravel app
coding-standard - Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
bouncer - Laravel Eloquent roles and abilities.
PHP Parser - A PHP parser written in PHP
SensioLabs Security Check - A database of PHP security advisories
food-order-gh-action-test
LaravelS - LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
laravel-code-style - Automatic code formatting for Laravel projects
Laravel-Zero - A PHP framework for console artisans
husky-php - Git hooks made easy!! 🎉PHP is combined with composer to implement functionality similar to js's NPM module husky