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

Hubic Api Bundle Laravel Package

ckrupa/hubic-api-bundle

View on GitHub
Deep Wiki
Context7

HubicApiBundle

This Bundle provides a simple integration of the hubiC-API (https://api.hubic.com/) for Symfony2. The API wrapper is not the "official" hubic.com library for PHP/Symfony2!

Usage

<?php
$hubic_api = $this->container->get('ckrupa_hubic_api');
if(!$hubic_api->isLoggedIn())
{
    die('invalid oauth token!');
}
$result = $hubic_api->send('/account/credentials');

Installation

Step 1: Composer require

$ php composer.phar require "ckrupa/hubic-api-bundle":"dev-master"

Step 2: Enable the bundle in the kernel

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new HWI\Bundle\OAuthBundle\HWIOAuthBundle(),
        new Sensio\Bundle\BuzzBundle\SensioBuzzBundle(),
        new Ckrupa\HubicApiBundle\CkrupaHubicApiBundle(),
        // ...
    );
}

Step 3: Setup oAuth

oAuth is done by HWIOAuthBundle so checkout the documentation.

Sample configuration

here is an sample config for hwi 0.3

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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
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
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony