PHP - Quo package.

Fund package maintenance!

0.3.2 2022-06-14 21:27 UTC

This package is auto-updated.

Last update: 2023-03-15 01:48:53 UTC


Quo for php

Github action status Packagist Version Follow Protoqol on Twitter

Quo for PHP

Quo is still in beta and should not be used in production environments. But with the help of a config file (see CLI) you can easily disable Quo on production environments.

Quo is a free, open-source, client-side debugger and can be found here.

This specific package is a companion package for Quo for PHP.

Using a framework? No problem.

Quo is framework-agnostic and can run on any PHP (see requirements) project using composer.

Want to help keep open-source sustainable?

You can help by contributing to the code or donating using the button below! Both are highly appreciated and contribute directly to keeping open-source free and sustainable!




Requirement Version
PHP ^7.1, ^8.1
ext-json *
ext-iconv *
ext-curl *

To install run the following command.

composer require protoqol/quo-php


Quo has a function called quo() which you can call anywhere, every variable passed to it will appear in your Quo Client.

quo($var, ...$moreVars);


Note that for the beta version of Quo a custom hostname and port can not be used yet, this will always default to However, when your PHP application does not run on the top level of your OS it might be required to change the hostname and port. The config hostname should always point to your top level localhost address.

Quo for PHP has an .ini file located at meta/quo-config.ini. This file stores the configuration Quo uses. It is recommended to use a custom configuration for this, more about this in the CLI section (see "Publish Quo config").

# Should Quo be enabled in this environment

# Should Quo throw an exception when no connection is made to the client?
# If you're trying to get Quo to work this might come in useful, if not, keep it off.

# Where Quo sends its payload to
PORT = 7312

# Encrypt all data sent?
# If ENABLED = 1 you should supply the public key retrieved from the Quo client here.
PUBLIC_KEY = <key>


You can edit the configuration via the CLI with the following commands.

Change default host and port.

php ./vendor/bin/quo [hostname] [port]

Publish Quo config (quo-config.ini) to your project root directory, this overwrites the internal configuration.

php ./vendor/bin/quo publish-config

Change host and port to pre-configurations.

php ./vendor/bin/quo -vb (or --virtualbox)  # Changes it to ``
php ./vendor/bin/quo -d (or --docker)       # Changes it to `host.docker.internal:7312`
php ./vendor/bin/quo -l (or --local)        # Changes it to ``

And you're all set!


Issues, bugs and feature requests can be reported here!


See Contributing to see how you can contribute to Quo for PHP!



Quo for PHP is licensed under the MIT License. Please see License File for more information.