Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Elastica Bundle Laravel Package

bok/elastica-bundle

View on GitHub
Deep Wiki
Context7

Configuring Elastica HTTP client

Setting HTTP Headers

It may be necessary to set HTTP headers on the Elastica client, for example an Authorization header.

They can be set using the headers configuration key:

# app/config/config.yml
fos_elastica:
    clients:
        default:
            host: example.com
            port: 80
            headers:
                Authorization: "Basic jdumrGK7rY9TMuQOPng7GZycmxyMHNoir=="

Setting cURL options

It may be necessary to set cURL options on the Elastica client.

They can be set using the curl configuration key:

# app/config/config.yml
fos_elastica:
    clients:
        default:
            host: example.com
            port: 80
            curl:
                !php/const \CURLOPT_SSL_VERIFYPEER: false
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
graham-campbell/flysystem
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/opensearch-client
directorytree/opensearch-adapter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin