Support the ongoing development of →
Eloquent Views Forms
Last updated 2 years ago.

I don't get it why you want to use regular expressions here. If I understood your problem correctly, you can do something like this:

if (Input::has('item_id')) {
	$items = array_map(
		function($id) {
			return Item::findOrFail($id);


Of course I assume that you have your saved checklist in $checklist variable before this block.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

Gillko gillko Joined 21 Aug 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.