Cake Validation
per-coding-style
Cake Validation | per-coding-style | |
---|---|---|
2 | 10 | |
43 | 247 | |
- | 0.0% | |
0.0 | 7.6 | |
5 days ago | about 1 month ago | |
PHP | ||
GNU General Public License v3.0 or later | - |
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.
Cake Validation
-
PER Coding Style 1.0.0
CakePHPs validation library can be installed separately from the framework: https://github.com/cakephp/validation
-
How do you validate data?
The cakephp/validation package. Blog post
per-coding-style
- Using PER Coding Style with Laravel Pint
-
Per Coding Style 2.0
We discussed this: https://github.com/php-fig/per-coding-style/issues/25
-
About the lack of code styling guides for array functions (map, reduce, filter)
PSR-12 is being replaced by PER-Coding Style: https://github.com/php-fig/per-coding-style
-
PER Coding Style 1.0.0
Version 1.0.0 is a fully compatible copy of PSR-12. You can and should start saying "Coding Style PER" wherever you previously would say "PSR-12". Version 2.0.0 (Or whatever the next version ends up being) will include all new language features being tracked here and whatever else comes up in the meantime. This is something I'm hoping to have done by the end of the year, preferably by the release of PHP 8.2 but in my experience it can take a long time to reach consensus on these types of things and it's important that we get things as "right" as possible.
- Laravel Best Practices for Developers | 2022
What are some alternatives?
Respect Validation - The most awesome validation engine ever created for PHP
http-message - The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231
Volan - Light and extendable schema validation library
Filterus - A simple filtering library for PHP
ISO-codes - PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
Aura.Filter - Validate and sanitize arrays and objects.
Linio Input - Abstracts HTTP request input handling, providing an easy interface for data hydration and validation
Valitron - Valitron is a simple, elegant, stand-alone validation library with NO dependencies
PHP validate - Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
DMS Filter - Library that offers Input Filtering based on Annotations for use with Objects. Check out 2.dev for 2.0 pre-release.
Distributed locks with Redis and ReactPHP - :lock: Asynchronous distributed locks with Redis and ReactPHP
php-iup - php binding for IUP toolkit