Download the PHP package djfm/algolia-search-symfony-doctrine-bundle without Composer

On this page you can find all versions of the php package djfm/algolia-search-symfony-doctrine-bundle. 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 algolia-search-symfony-doctrine-bundle

Algolia for Symfony

The perfect starting point to integrate Algolia within your Symfony project

CircleCI Total Downloads Latest Version License

DocumentationPHPLaravelCommunity ForumStack OverflowReport a bugFAQSupport

✨ Features

Algolia SearchBundle supports PHP > 7.1

💡 Getting Started

First, install Algolia Search Bundle Integration via the composer package manager:

You will also need to provide the Algolia App ID and Admin API key. By default, they are loaded from environment variables ALGOLIA_APP_ID and ALGOLIA_API_KEY.

If you use .env config file, you can set them there.

If you don't use environment variables, you can set them in your parameters.yml.

Indexing data

First, we need to define which entities should be indexed in Algolia. Each entry under the indices config key must contain at least the 2 following attributes:

Example:

Via CLI

Once your indices config is ready, you can use the built-in console command to batch import all existing data.

Before re-indexing everything, you may want to clear the index first, see how to remove data.

Simple Search

In this example we'll search for posts. The search method will query Algolia to get matching results and then will create a doctrine collection. The data are pulled from the database (that's why you need to pass the Doctrine Manager).

For full documentation, visit the Algolia Symfony Search Bundle.

Troubleshooting

Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the bundle.

Use the Dockerfile

If you want to contribute to this project without installing all its dependencies, you can use our Docker image. Please check our dedicated guide to learn more.

📄 License

Algolia Symfony Search Bundle is an open-sourced software licensed under the MIT license.


All versions of algolia-search-symfony-doctrine-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.2
algolia/algoliasearch-client-php Version ^3.0
doctrine/event-manager Version ^1.1 || ^2.0
doctrine/persistence Version ^2.1 || ^3.0
symfony/filesystem Version ^7.0
symfony/property-access Version ^7.0
symfony/serializer Version ^7.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 djfm/algolia-search-symfony-doctrine-bundle contains the following files

Loading the files please wait ....