diff --git a/source/_includes/talks-table-row.html.twig b/source/_includes/talks-table-row.html.twig index 9eac5be3a..f0cfed625 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 000000000..f8b058efb --- /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.