Download the PHP package ogini/oginisearch-laravel-scout without Composer

On this page you can find all versions of the php package ogini/oginisearch-laravel-scout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package oginisearch-laravel-scout

OginiSearch Laravel Scout Driver

A comprehensive Laravel Scout driver for OginiSearch, providing full-text search capabilities with advanced features and performance optimizations.

Features

Requirements

Installation

  1. Install the package via Composer:

  2. Publish the configuration file:

  3. Set up your OginiSearch configuration in config/ogini.php or via environment variables:

Configuration

The package provides extensive configuration options in config/ogini.php:

Basic Usage

Model Configuration

Configure your Eloquent models to use OginiSearch:

Searching

Enhanced Laravel Integration

The package provides seamless Laravel request integration with automatic type casting for pagination parameters.

Automatic Type Casting

All pagination parameters automatically handle both integer and string values:

Laravel Request Validation Benefits

This enhancement eliminates common integration issues:

Supported Parameters

All pagination-related parameters support automatic string-to-integer conversion:

Invalid values are automatically corrected to sensible minimums.

Advanced Features

1. Dynamic Model Discovery & Bulk Processing

The package includes a powerful dynamic model discovery system that automatically finds all searchable models in your Laravel application, making bulk operations seamless and universal.

Bulk Import Command

Import all your searchable models with a single command:

Dynamic Model Resolution

The system supports flexible model naming:

Bulk Processing Performance

Universal Compatibility

The dynamic system works with:

2. Advanced Client Methods

Query Suggestions

Synonym Management

Stopword Configuration

2. Asynchronous Operations

Using the Async Client

Queue Integration

Parallel Execution

3. Event System

The package dispatches events for various operations, allowing you to listen and respond to search activities:

Available Events

Listening to Events

Custom Event Listener

4. Performance Features

Query Optimization

Caching

Connection Pooling

Batch Processing

Error Handling

The package provides comprehensive error handling with detailed exception information:

Update Management

The package includes an intelligent update checking system:

Check for Updates

Programmatic Update Checking

Testing

The package includes comprehensive testing with enterprise-grade quality assurance:

Test Coverage

Run Tests

Running Tests with Real API Calls

Some integration tests require a real Ogini server running locally. These tests are automatically skipped in CI/CD environments but can be run locally for comprehensive testing:

Note: Tests marked with @group real-api-calls are excluded from CI pipelines and composer test to ensure fast, reliable automated testing without external dependencies.

Quality Assurance

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Write tests for your changes
  4. Ensure all tests pass
  5. Submit a pull request

License

This package is open-sourced software licensed under the MIT license.


All versions of oginisearch-laravel-scout with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ^10.0|^11.0
laravel/scout Version ^10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ogini/oginisearch-laravel-scout contains the following files

Loading the files please wait ....