clef Yii Command to search/download Yii extensions

  1. Requirements
  2. Installation
  3. Usage
  4. Changelog
  5. Caveats
  6. Bugs/Feature Requests

CLEF is a Command Line Extension Finder. Well, actually is nothing more than a bunch of lines utilizing curl + pcre to parse the extension repository and send back the results.

With CLEF you can search, get information and download any of the extensions hosted in the official Yii repository (http://www.yiiframework.com/extensions).

Requirements

  • Yii (any version i suppose)
  • PHP with mod_curl

Installation

Place the php file you'll find in the zip under protected/commands

Usage

Get the updated usage by calling: ~~~ [sh] yiic help clef ~~~

Changelog

  • 01/2/11: [new] Listings by category (v0.19)
  • 31/1/11: [fix] Fixed regexp on list action to also match extensions with dashes (v0.18)
  • 31/1/11: Initial upload (v0.17)

Caveats

  • Only the first page of results is parsed & returned.
  • Not being a pcre expert, I have to warn you that this code may explode in your shell.

Bugs/Feature Requests

Bugs & feature requests can be filed @ the github page.

8 0
9 followers
666 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Console
Developed by: eval
Created on: Jan 30, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions