2017 © Pedro Peláez
 

yii2-extension yii2-packagist-component

Yii 2 Packagist API extension component.

image

2amigos/yii2-packagist-component

Yii 2 Packagist API extension component.

  • Tuesday, March 4, 2014
  • by tonydspaniard
  • Repository
  • 12 Watchers
  • 1 Stars
  • 5,554 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % 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 "2amigos/yii2-packagist-component" "*"

or add, (*4)

"2amigos/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);  

2amigOS!, (*6)

Web development has never been so fun! www.2amigos.us, (*7)

The Versions

04/03 2014

dev-master

9999999-dev

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