From dab9a0e9b3744e3f9de93507e4323183fb3a68aa Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 7 Nov 2017 17:56:04 +0000 Subject: [PATCH] Add Nomad PHP lightning talk --- source/_includes/talks-table-row.html.twig | 6 +++++- .../using-laravel-collections-outside-laravel.md | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 source/_talks/using-laravel-collections-outside-laravel.md diff --git a/source/_includes/talks-table-row.html.twig b/source/_includes/talks-table-row.html.twig index 9eac5be3..f0cfed62 100644 --- a/source/_includes/talks-table-row.html.twig +++ b/source/_includes/talks-table-row.html.twig @@ -20,7 +20,11 @@ {% endif %} - {{ row.event.type|default('Talk') }} + {% if row.talk.type %} + {{ row.talk.type }} + {% else %} + {{ row.event.type|default('Talk') }} + {% endif %} {% endif %} diff --git a/source/_talks/using-laravel-collections-outside-laravel.md b/source/_talks/using-laravel-collections-outside-laravel.md new file mode 100644 index 00000000..f8b058ef --- /dev/null +++ b/source/_talks/using-laravel-collections-outside-laravel.md @@ -0,0 +1,11 @@ +--- +title: Using Laravel Collections outside Laravel +slides: + url: ~ + embed: ~ +tags: [nomad-php, lightning-talk, laravel, collections] +type: Lightning talk +events: + - { event: nomad-php, date: '2017-12-21', 'time': 19:00 CET } +--- +Laravel 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 Laravel Collections within a non-Laravel project and put them to use within your own code.