PHPackages                             creolab/resources - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. creolab/resources

ActiveLibrary[API Development](/categories/api)

creolab/resources
=================

Helpers classes for dealing with resource collections and items.

0.1.0(12y ago)1577MITPHP

Since Feb 9Pushed 12y ago1 watchersCompare

[ Source](https://github.com/creolab/resources)[ Packagist](https://packagist.org/packages/creolab/resources)[ Docs](http://creolab.hr/)[ RSS](/packages/creolab-resources/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Resources
=========

[](#resources)

Simple helper classes for working with resource collections and items

Collections and Items
---------------------

[](#collections-and-items)

The base collections class extends Laravels collection class, which gives us a number of useful methods. Check out the Laravel docs to see exactly what is available.

A new ability is to create each item of the collection as a new instance of an item class. By default this is the base item class inside this package, but you can always override it by defining your custom collections and items, and them simply extending the ones from this package.

An example would be a collection of events, so we would create a collection class:

**App\\Resources\\Collections\\EventCollection**

```
