Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Laravel 5.2 #49

Open
lawrence615 opened this issue Sep 24, 2016 · 1 comment
Open

Support for Laravel 5.2 #49

lawrence615 opened this issue Sep 24, 2016 · 1 comment

Comments

@lawrence615
Copy link

Hello,

Does the package support Laravel 5.2+?

I keep getting this error

Fatal error: Call to undefined method Mmanos\Search\Search::search()
@francoism90
Copy link

francoism90 commented Oct 7, 2016

Works perfectly fine here on Laravel 5.3.
In config/app.php:

'providers' => [
      ...
      Mmanos\Search\SearchServiceProvider::class,
],

'aliases' => [
     ...
     'Search' => Mmanos\Search\Facade::class,
     'Input' => Illuminate\Support\Facades\Input::class,
]

Also don't forget to add use Search; at the top of your controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants