frdmn / php-alfred
Library to create Alfred workflows using PHP
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/frdmn/php-alfred
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-26 01:38:13 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