Download the PHP package trinityrank/search without Composer
On this page you can find all versions of the php package trinityrank/search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trinityrank/search
More information about trinityrank/search
Files in trinityrank/search
Package search
Short Description Search for your website
License MIT
Homepage https://github.com/trinity-rank/search/
Informations about the package search
Very short description of the package
This package manage all data for search:
- import
- update
- delete)
- retrive data on frontend
We support multilanguage and shortcode ONLY if you are using our packages:
Installation
- Backend
Step 1: Install package
To get started with Laravel Search, use Composer command to add the package to your composer.json project's dependencies:
Step 2: Namespaces
- In every tenant config add theese namespaces to include posts/pages/categories in your search
Step 3: Add .env params
- Put your host and secret key into this variables
Step 4: Update config
- Add this in config/scout.php at the end (if already exist ignore this step)
Step 5: Database
- You need to publish migration file from package
And then you need to run migration for all tenants
Or only for one speciffic tenant
Step 7: Import search data
- First delete all existing data and old indexes and then do fresh import data and update filters
- Frontend
Step 1: Install package
Install this two packages
- trinityrank/search-multitenancy: latest version
- meilisearch/meilisearch-php: ^0.24.1 or latest
Step 2: Add .env params
Put your host and secret key into this variables
Step 3: Publishing
- You need to publish files from package (config and js file)
Step 4: JS
-
Include compiled JS file in your js mix
-
Than xecute
-
In your Blade file add this directive to include javascript
-
If you are adding into component add yhis part of code:
- If you are adding into layout you can add like this:
-