Our great sponsors
-
-
Seems like you can use the Illuminate classes separately? I might be wrong: https://github.com/laravel/framework/blob/9.x/src/Illuminate/Collections/composer.json. I doubt the extra functionality would be that useful? Could be wrong too.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Snap, I made a similar library https://github.com/rhinox-php/input-data
-
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