collections
Collections Abstraction Library (by doctrine)
PHP Architecture Tester
PHP Architecture Tester - Easy architecture testing for PHP :heavy_check_mark: (by carlosas)
collections | PHP Architecture Tester | |
---|---|---|
4 | 5 | |
5,838 | 1,006 | |
0.2% | - | |
7.1 | 8.1 | |
5 days ago | 27 days ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
collections
Posts with mentions or reviews of collections.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-31.
-
Enforce architecture rules with Deptrac
Theoretically, our domain should only contain pure PHP code without any external dependencies. Nonetheless, there are some libraries that we want to use in our domain, such as ramsey/uuid to generate UUIDs, or brick/math to work safely with numbers. Another usual example of an allowed external library in our domain is doctrine/collections when we use Doctrine as an ORM, because the relationships between entities must be of type Doctrine\Common\Collection.
-
How to query a CSV input in PHP as if it was a database table?
How you want to do the grouping is up to you. Maybe look into using Doctrine Collections: https://www.doctrine-project.org/projects/collections.html
- PHP Map 3.3 released - Collections made easy!
-
PHP Map v3.1 - Collections made easy
You can also look at Doctrine Collections as an example of a library doing something similar and making full use of generics. Look at all the annotations that mention `T` or `TKey` in https://github.com/doctrine/collections/blob/c1ec9823f9250fefb274cccf62970b5c167e6bc7/lib/Doctrine/Common/Collections/Collection.php
PHP Architecture Tester
Posts with mentions or reviews of PHP Architecture Tester.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-31.
-
Enforce architecture rules with Deptrac
PHP Architecture Tester (as a PHPStan plugin)
-
PHPStan 1.9.0 With PHPDoc Asserts, List Type, and More!
After that, consider using a PHPStan rules framework like PHP Architecture Tester to enforce architectural decisions made by your team.
-
Best way to check custom coding conventions
Static analysis tools like PHPStan and Psalm will do this. PHP Architecture Tester, an extension for PHPStan, will make writing these rules much easier: https://github.com/carlosas/phpat
-
arkitect VS PHP Architecture Tester - a user suggested alternative
2 projects | 16 Sep 2021
Easy to use architecture testing tool for PHP
-
Weekly "ask anything" thread
Might be something for https://github.com/carlosas/phpat.
What are some alternatives?
When comparing collections and PHP Architecture Tester you can also consider the following projects:
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
Deptrac - Keep your architecture clean.
map - PHP arrays and collections made easy
arkitect - Put your architectural rules under test!
Laravel - The Laravel Framework.
unused-scanner - Detect unused composer dependencies
PHP Collections - General Purpose Collection Library for PHP
jOOQ - jOOQ is the best way to write SQL in Java
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
typo - Type safe Query builder that tries to reduce typo.
TOTEM - TOTEM is a 38 keys column-staggered split keyboard. It meant to be used with a SEEED XIAO BLE or RP2040
phpstan-magento - Magento specific extension for PHPStan
collections vs homebrew-php
PHP Architecture Tester vs Deptrac
collections vs map
PHP Architecture Tester vs arkitect
collections vs Laravel
PHP Architecture Tester vs unused-scanner
collections vs PHP Collections
PHP Architecture Tester vs jOOQ
collections vs YaLinqo
PHP Architecture Tester vs typo
collections vs TOTEM
PHP Architecture Tester vs phpstan-magento