appshed / extension-api
API for AppShed remote screens
Requires
- php: >=5.4.0
Requires (Dev)
- kherge/box: ~2.5
- php-mock/php-mock-phpunit: ~0.2
- phpunit/phpunit: ~4.4
- sami/sami: ~2.0
This package is auto-updated.
Last update: 2024-11-29 04:30:23 UTC
README
This is the api for remote screens.
Installing
Composer
You can install the API in your project just run composer require appshed/extension-api
.
Phar
If you don't want to use composer, you can download the phar.
This is a package of everything you need, you just need to require_once 'appshed-api.phar'
.
Look in the phar-examples
folder to see how it might be used.
Examples
Be sure to run composer install
if you want to run the examples from this repo.
Docs
You can see the api docs on github pages.
Contributing
Phar
Please be sure to update the phar before committing. You need to use Box to do this.
To build the phar:
./vendor/bin/box build -v
Docs
The API doc is built using sami.
To generate the API doc:
./vendor/bin/sami.php update sami.php
You can then commit the doc folder to the gh-pages
branch, something like:
mv doc ~/doc-tmp
git checkout gh-pages
rm -rf .
mv ~/doc-tmp/* .
git add .
git commit
Tests
To run the tests
./vendor/bin/phpunit