oliverdavies.uk/source/_talks/using-illuminate-collections-outside-laravel.md
2024-01-03 23:06:05 +00:00

28 lines
1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Using Illuminate Collections... Outside Laravel
description: How to include and use Laravels Illuminate Collections in your non-Laravel PHP projects.
speakerdeck:
id: 76f1718a75a74940b0b028aac8b9f78b
ratio: "1.77777777777778"
url: https://speakerdeck.com/opdavies/using-laravel-collections-dot-dot-dot-outside-laravel-php-south-wales-august-2018
video:
type: youtube
id: 1l0kO-iaN_o
tags: [nomad-php, lightning-talk, laravel, collections]
type: Lightning talk
events:
- 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
---
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.