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

Api Client Bundle Laravel Package

blitzr/api-client-bundle

View on GitHub
Deep Wiki
Context7

Blitzr Official PHP Bundle

A PHP API client bundle for the Blitzr API.

To use this bundle you will need an API key, you can request it at : https://blitzr.io.

Documentation

This service implements all the methods from the official Blitzr PHP client. Also you can use the PHP client documentation as a reference for this bundle.

You can also refer to the official Blitzr API reference to have more informations.

Installation

First add BlitzrApiClientBundle to your composer requirements.

$ composer require blitzr/api-client-bundle

Then enable the bundle in the Kernel.

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Blitzr\ApiClientBundle\BlitzrApiClientBundle(),
        // ...
    );
}

Add the API key to your configuration.

// app/config/config.yml

...

# BlitzrApiClientBundle
blitzr_api_client:
    api_key: "your_api_key"

That's all !

Getting Started

This bundle provides you a service, let's take an example of how to get an Artist or a Tag.

// Get the service
$blitzrClient = $this->get('blitzr_api_client.client');

// Request the artist
$artist = $blitzrClient->getArtist('year-of-no-light');

// Request a tag
$tag = $blitzrClient->getTag('rock');
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.
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver