2017 © Pedro Peláez
 

yii2-extension yii2-packagist-component

Yii 2 Packagist API extension component.

image

skeeks/yii2-packagist-component

Yii 2 Packagist API extension component.

  • Thursday, February 25, 2016
  • by skeeks-semenov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Packagist API wrapper component extension for Yii2

Component extension wrapper for Packagist API, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require "skeeks/yii2-packagist-component" "*"

or add, (*4)

"skeeks/yii2-packagist-component" : "*"

to the require section of your application's composer.json file., (*5)

Usage

use dosamigos\packagist\Packagist;

$api = new Packagist;

// get a package information  
$response = $api->package('yiisoft/yii2`)->getResponse();  
// dump response  
var_dump($response->body);

// get a filtered list  
$response = $api->all(['vendor' => '2amigos'])->getResponse();
if($response->isSuccessFul) {
    var_dump($response->body);
} else {
    var_dump($response->error);
}

// search packages
$response = $api->search('yii2')->getResponse();  
var_dump($response->body);  

skeeks! SkeekS CMS (Yii2) fast, simple, effective! skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com, (*6)

The Versions

25/02 2016

dev-master

9999999-dev

Yii 2 Packagist API extension component.

  Sources   Download

BSD-3-Clause

The Requires

 

component extension yii packagist

25/02 2016

0.1.2

0.1.2.0

Yii 2 Packagist API extension component.

  Sources   Download

BSD-3-Clause

The Requires

 

component extension yii packagist

24/02 2014

0.1.1

0.1.1.0

Yii 2 Packagist API extension component.

  Sources   Download

BSD-3-Clause

The Requires

 

component extension yii packagist

21/02 2014

0.1.0

0.1.0.0

Yii 2 Packagist API extension component.

  Sources   Download

BSD-3-Clause

The Requires

 

component extension yii packagist