Download the PHP package acadea/fullsite-search without Composer
On this page you can find all versions of the php package acadea/fullsite-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download acadea/fullsite-search
More information about acadea/fullsite-search
Files in acadea/fullsite-search
Package fullsite-search
Short Description Laravel package to perform full site search based on Laravel Scout
License MIT
Homepage https://github.com/acadea/fullsite-search
Informations about the package fullsite-search
Laravel Full Site Search
Laravel package to perform full site search based on Laravel Scout. Bringing the search everything
box to live in a laravel app.
Support us
Learn the idea behind this package in my:
Follow us on Youtube: https://www.youtube.com/channel/acadeaio
Buy us a coffee: https://www.buymeacoffee.com/acadea
Paypal: https://www.paypal.com/donate/?hosted_button_id=HPD9HHN3HBPDC
Quick Start
Each model returned has 3 additional attributes:
- a.
match
-- the match + neighbouring text found from our DB records - b.
model
-- the related model name - c.
view_link
-- the URL for the user to navigate in the frontend to view the resource
To return the results as an API response:
For your convenience, we have bootstrapped the API endpoint for you. You can disable this in the config file.
Just set the fullsite-search.api.disabled
config to true
.
Example:
URL: /api/site-search?search=in
We get:
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- sam-ngu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.