Download the PHP package respectify/respectify-php without Composer
On this page you can find all versions of the php package respectify/respectify-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download respectify/respectify-php
More information about respectify/respectify-php
Files in respectify/respectify-php
Package respectify-php
Short Description PHP library for the Respectify API
License MPL-2.0
Informations about the package respectify-php
respectify-php
PHP library for the Respectify API. Respectify aims to improve internet discussions: encourage healthy, understanding discussion in comments and replies.
Getting started
This contains the Respectify client, which is currently available only as an asychronous API using ReactPHP.
Check out src/RespectifyClientAsync.php
. For info on the REST API that it wraps, have a look here.
Developing
To be able to make changes:
If you want to run unit tests:
and then to run tests:
Tests are run against mocks, but there is value in running against the real API. Do do this create a tests/.venv file, with content:
using real Respectify credentials.
Docs
Docs are generated in Markdown format for Docusaurus via the phpdocumentor-markdown-customised phpdoc theme. It is MIT-licensed. Please see the readme in that folder for more information.
You'll need twig
and php-documentor
installed (install the dev dependencies.)
If you have a phpdoc
command available (eg, set up as a Docker container):
then you can general doc like so:
All versions of respectify-php with dependencies
react/http Version ^1.10
react/event-loop Version ^1.1
react/promise Version ^3.2
psr/http-message Version ^1.0
guzzlehttp/psr7 Version ^2.7