Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 30 | All time: 11,119 This week: 673 |
Version | License | PHP version | Categories | |||
vegvisir 1.0 | MIT/X Consortium ... | 5 | PHP 5, Searching, Libraries, Design P... |
Install it using composer on your application:
composer require thiagoprz/vegvisir
Install chosen AdapterServiceProvider (see adapters for more information) service provider to config/app.php
:
..
'providers' => [
...
\Thiagoprz\Vegvisir\VegvisirElasticSearchServiceProvider::class,
],
...
Publish configuration by running
php artisan vendor:publish
and typing the number for your desired adapter (if using multiple adapters there's no need for running more than once, just choose one of them).
This will add the vegvisir.php
file to the config
directory. Bear in mind that this configuration contains directives for all adapters inside your application, those you don't need multiple configurations files for each adapter you use in case your application will be using more than one.
This package comes with built-in Adapters that can be easily use without any customization depending on your needs, of course you can and are encouraged to build your own Adapter to fill any specification or if you are using a different platform that the ones listed here.
This adapter connects to Elasticsearch host(s) and will insert/update/delete everytime changes happen to your model.
Follow the instructions in the adapter repository.
> Status: Under Development
This adapter connects to MongoDB and will insert/update/delete everytime changes happen to your model.
Follow the instructions in the adapter repository.
The main idea behind this project is to allow enhancing Laravel applications by using different databases from the main one (usually MySQL) as the entry point for search requests, those providing a better preformance and avoiding performance issues for large operations on the database. Based on this idea this repository will be useful for anyone who wants to implement their own search tool inside laravel application, it's really straight forward to create an adapter by following this steps.
| Adapter | STATUS | Release Version | Engine Version¹ | |-----------------------------------|-------------|-----------------|-----------------| | Elastic Search | Done | 0.0.1 | 7.11.0 | | MongoDB | In Progress | | | | MySQL | Todo | | | | Cassandra/ScyllaDB | Todo | | | | SQLite | Todo | | |
¹ Engine version means the version of the software used to build the package, there is a possibility that depending on the changes (specially breaking changes) made on the Third Party this package may not be stable or not work as expected.
vendor/phpunit/phpunit/phpunit --configuration phpunit.xml tests
Please feel free to create issues on this package, it will help a lot. I will address it as soon as possible.
This package is licensed under the MIT license.
<img width="36" height="36" src="assets/Vegvisir.svg">
Files (13) |
File | Role | Description | ||
---|---|---|---|---|
assets (1 file) | ||||
src (1 file, 5 directories) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
License.txt | Doc. | Documentation | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (13) | / | src |
File | Role | Description | ||
---|---|---|---|---|
config (1 file) | ||||
Exceptions (1 file) | ||||
Interfaces (2 files) | ||||
Observers (1 file) | ||||
Traits (1 file) | ||||
VegvisirServiceProvider.php | Class | Class source |
Files (13) | / | src | / | Interfaces |
File | Role | Description |
---|---|---|
AdapterInterface.php | Class | Class source |
RepositoryInterface.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.