frdmn / php-alfred
Library to create Alfred workflows using PHP
0.3.6
2017-01-01 07:57 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-09 20:06:55 UTC
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