Valinor
phpinspectionsea
Valinor | phpinspectionsea | |
---|---|---|
10 | 5 | |
1,236 | 1,426 | |
1.2% | - | |
8.8 | 0.6 | |
11 days ago | 5 days ago | |
PHP | Java | |
MIT License | 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.
Valinor
-
PHP libraries and tools
cuyz/valinor: PHP library that helps to map any input into a strongly-typed value object structure.
- Data-Mapper: A package for fast mapping of strong-typed objects
- PHP RFC: Deprecations for PHP 8.3
- brick/json-mapper: map JSON data to strongly typed PHP DTOs
-
Hydration / Mapping library
I know there are alternatives like Valinor (https://github.com/CuyZ/Valinor)
-
[Bundle] Automatically map the incoming request data to a DTO and optionally validate it
For the next major version, i'm considering giving the option to use valinor (or anything else) instead of the Serializer component in the next major version. If you have more ideas, let me know.
-
Valinor — Object mapper with strong type support and error handling
You can check the repository on GitHub; there is also a documentation website.
-
pjson: a simple JSON <=> PHP8+ data objects library
See also: Valinor https://github.com/CuyZ/Valinor which does some of what you want, albeit in a more verbose fashion, but without polluting your objects.
- Valinor: a library that maps unstructured input to properly typed objects
phpinspectionsea
-
PHP RFC: Deprecations for PHP 8.3
(I actually held the same opinion as you until recently: https://github.com/kalessil/phpinspectionsea/issues/1718 tl;dr the performance impact is negligible)
-
php inspections ea plugin
See here for some background https://github.com/kalessil/phpinspectionsea/issues/1823 although some things seem to not add up (see last comments, the repository maintainer is active on GitHub but does not commit fixes readily prepared by others).
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Inspections is a static code analyzer and code review tool for PhpStorm IDE.
-
What are those micro-optimizations that you can't forget?
The PHP-EA Extended static analysis plugin for PHPStorm has a number of Performance rules which has some of the same items as this list, although they're not all in the performance category, the single quotes inspection is under code style.
-
Ask HN: What are some “10x” softiware product innovations you have experienced?
PHP Inspections (EA Extended)[1] by Vladimir Reznichenko, a PHP language static analysis plugin for PHPStorm / JetBrains. I've coded in PHP for many years now, but there are many helpful reminders and checks that come standard with it. Some of the small performance quirks are game changers in long running processes, or intensive methods.
[1]: https://github.com/kalessil/phpinspectionsea
What are some alternatives?
laravel-data - Powerful data objects for Laravel
idea-php-laravel-plugin - Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
Serde - Robust Serde (serialization/deserialization) library for PHP 8.
dbt - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. [Moved to: https://github.com/dbt-labs/dbt-core]
serializer - Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
ObjectHydrator - Object Hydration library to create Command and Query objects.
black - The uncompromising Python code formatter
Psalm - A static analysis tool for finding errors in PHP applications
gocypher-cybench-intellij - CyBench IntelliJ IDEA plugin for benchmarking APIs, Java code
data-transfer-object - Data transfer objects with batteries included
Hotkeys - This simple Android Studio plugin includes keyboard shortcuts for many common actions.