Download the PHP package swow-cloud/xr without Composer

On this page you can find all versions of the php package swow-cloud/xr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package xr

XR

🔔 Subscribe to the newsletter to don't miss any update regarding Chevere.

https://user-images.githubusercontent.com/20590102/153045551-619c74cc-c4ae-41da-b7b6-bd8733e623a2.mp4

🦄 View demo

Code size

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Technical Debt CodeFactor Codacy Badge

XR is a dump debug server utility for PHP. No extras required, debug your PHP code anywhere.

Features

Contributing

Feel free to contribute on issues and discussions with your thoughts in how to improve XR.

Getting started

🚧 Min stability dev

You will require to add this to your composer.json file.

Start the server

The server will be available at http://localhost:27420

Demo

Open the debugger and then run:

XR Helpers

Dump variables

Use xr($var1, $var2,...) to dump any variable from your code.

Topic

Add a topic passing t:.

Emote

Add an emote passing e:.

Flags

Pass bitwise flags to trigger special behavior.

Send raw message

Use xrr to send a raw message to the server.

💡 xrr also supports flags f arguments.

Exception handling

Use registerThrowableHandler to enable XR to handle throwables.

Alternatively, you can use throwableHandler in any existing exception handler logic:

Error handling

You will require to handle errors as exceptions and from there use Exception handling.

Configuration

Optionally configure XR by creating a file named xr.php in your project directory with the following options:

The following example is a xr.php file with default settings.

For software providers

If you want to handle XR settings somewhere within your existing application logic (not depend on the xr.php file) you can do:

Docker

See DOCKER.

Message reference

The XR dump server can receive messages from anywhere:

License

Copyright 2022 Rodolfo Berrios A.

XR is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


All versions of xr with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
chevere/chevere Version ^0.3
chevere/throwable-handler Version ^0.1
chevere/var-dump Version ^0.1
chevere/trace Version ^0.1
rodber/php-sse-react Version ^0.1
samejack/php-argv Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package swow-cloud/xr contains the following files

Loading the files please wait ....