Download the PHP package pete001/frost-php-sdk without Composer
On this page you can find all versions of the php package pete001/frost-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pete001/frost-php-sdk
More information about pete001/frost-php-sdk
Files in pete001/frost-php-sdk
Package frost-php-sdk
Short Description PHP SDK for the Poet Frost API
License MIT
Homepage https://github.com/pete001/poet-php-sdk
Informations about the package frost-php-sdk
Po.et Frost API PHP SDK
You think blockchain is cool? Check √
You're a techie publisher who wants to stamp and protect their work? Check √
You think Po.et is the most awesome platform to do this on? Check √
You ignore the haters, and pursue your love for sweet fresh PHP 7? Check √
Well alright then, sounds like you're in the right place!
Background
You already passed the check test, so all you need are the official docs.
Installing
Configuration
Dont check in dat private key yo, use the dot env!
Sign up and fetch your API key from here.
Add it to the .env
in the project root.
Usage
Because i like xmas, i made a simple factory to save time:
So far there are 3 juicy methods:
Create Work
Get Work
Get All Works
Tests
Project has 100% test coverage, but due to my hipster nature, the CI is run over at Gitlab. So you'll just have to take my word for it.
To run the test suites, simply execute:
If you wanna get fancy and check code coverage:
If you're as OCD as i am, you might wanna run some static analysis:
Contributing
All contributions are welcome! Just fire up a PR and pinky swear the code passes the tests, has new tests written to maintain 100% coverage and make sure its PSR-2 compliant:
License
As tempting as it is to troll the world by centralising the distribution of an app for the decentralised world... This is free, free for all!
MIT License