Download the PHP package webparking/laravel-type-safe-collection without Composer
On this page you can find all versions of the php package webparking/laravel-type-safe-collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webparking/laravel-type-safe-collection
More information about webparking/laravel-type-safe-collection
Files in webparking/laravel-type-safe-collection
Package laravel-type-safe-collection
Short Description This package provides type-safe extension of the laravel collection, forcing a single type of object.
License MIT
Informations about the package laravel-type-safe-collection
Laravel Type-Safe Collection
PHP is getting more mature and allows us to program strong typed in new ways with each new version, however we still lack the option to have generic lists/arrays. This package aims to provide such a thing in the meantime.
The TypeSafeCollection
provided by this package will make sure that any object within it is the object you expect.
Installation
Add this package to composer.
Usage
All queries on User that would result in a Collection will now result in a UserCollection.
Licence and Postcardware
This software is open source and licensed under the MIT license.
If you use this software in your daily development we would appreciate to receive a postcard of your hometown.
Please send it to: Webparking BV, Cypresbaan 31a, 2908 LT Capelle aan den IJssel, The Netherlands
All versions of laravel-type-safe-collection with dependencies
ext-json Version *
illuminate/support Version ^5.5|^6.0|^7.0|^8.0
illuminate/console Version ^5.5|^6.0|^7.0|^8.0
illuminate/database Version ^5.5|^6.0|^7.0|^8.0
webmozart/assert Version ^1.0