frdmn/php-alfred
Composer 安装命令:
composer require frdmn/php-alfred
包简介
Library to create Alfred workflows using PHP
README 文档
README
Forked from @jdfwarrior/Workflows to create a Packagist/Composer package.
See dferg.us for full class documentation.
Usage
<?php require __DIR__ . '/vendor/autoload.php'; // Create new workflow instance $alfred = new \frdmn\PhpAlfred\Workflows(); // Construct array with workflow data $array = [ [ 'uid' => 0, 'arg' => 'test', 'title' => 'Title' ] ]; // Print XML print $alfred->toXML($array);
Installation
- Install using Composer:
composer require frdmn/php-alfred
Contributing
- Fork it
- Create your feature branch:
git checkout -b feature/my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin feature/my-new-feature - Submit a pull request
Requirements / Dependencies
- PHP >= 5.3
- Composer
Version
0.3.6
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-04