oliverdavies.uk/source/_talks/using-illuminate-collections-outside-laravel.md

31 lines
1.1 KiB
Markdown
Raw Normal View History

2021-06-30 07:00:00 +00:00
---
title: Using Illuminate Collections... Outside Laravel
description: How to include and use Laravels Illuminate Collections in your non-Laravel PHP projects.
speakerdeck:
2021-06-30 07:00:00 +00:00
id: 76f1718a75a74940b0b028aac8b9f78b
ratio: '1.77777777777778'
url: https://speakerdeck.com/opdavies/using-laravel-collections-dot-dot-dot-outside-laravel-php-south-wales-august-2018
2021-06-30 07:00:00 +00:00
video:
2021-06-30 07:00:00 +00:00
type: youtube
id: 1l0kO-iaN_o
2021-06-30 07:00:00 +00:00
tags: [nomad-php, lightning-talk, laravel, collections]
type: Lightning talk
events:
2021-06-30 07:00:00 +00:00
-
name: Nomad PHP
url: https://nomadphp.com
online: true
date: 2017-12-21
time: 19:00 CET
-
name: PHP South Wales
location: Cardiff, UK
url: https://www.phpsouthwales.uk
date: 2018-08-28
2021-06-30 07:00:00 +00:00
sortable_date: 2018-08-28
2021-06-30 07:00:00 +00:00
---
Laravel's Illuminate Collections are a powerful object-orientated way of interacting with PHP arrays, but did you know that they can be used outside of Laravel, in any PHP project?
This short talk shows how we can use Composer to include Illuminate Collections within a non-Laravel project and put them to use within your own code.