Support the ongoing development of Laravel.io →
Database Packages Architecture
Last updated 2 years ago.
0
public function getSearch() {
		//set $keyword equal to form input on main.blade.php
		//keyword is id from form
		$keyword = Input::get('keyword');

		return View::make('store.search')
			->with('products', Product::where('title', 'LIKE', '%'.$keyword.'%')->get())
			->with('keyword', $keyword);
	}
Last updated 2 years ago.
0

Yes,swg19, that is the core of the search, but my question is a little broader. For example, I am looking at data grid: http://www.datatables.net/

Is this what everyone is using in Laravel 4 for their data tables ui?

Last updated 2 years ago.
0

We use phpGrid (http://phpgrid.com) for pretty much everything we develop for both Laravel 4 and 5. It has built-in, advanced and global search and it's pretty easy to get it running.

advanced search built-in search

I recommend you start with their online tutorials

Last updated 5 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

cjjsjr5656 cjjsjr5656 Joined 14 Apr 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.