Download the PHP package devgeniem/dustpress-debugger without Composer

On this page you can find all versions of the php package devgeniem/dustpress-debugger. 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 dustpress-debugger

geniem-github-banner

DustPress Plugin: DustPress Debugger

DustPress Debugger is a WordPress plugin which displays the data loaded by your current DustPress model in a json viewer.

Installation

Composer

Install with composer by running:

OR add it into your composer.json:

Manually

Activation

To enable the debugger go to the WordPress dashboard and activate the plugin. After activation users with with the manage_options capability can enable the debugger on the user profile page by checking the DustPress Debugger enabled checkbox.

You can also activate the debugger on any user by defining DUSTPRESS_DEBUGGER_ALWAYS_ON constant in your project. This will override the manual settings, so it is not recommended to use this setting in production!

Usage

Install the browser extension, open your devtools and select the "dustpress-debugger" tab. If on chrome you will need to request scripting & cookie access to the relevant urls when opening the view for the first time.

Building the browser extension

Select the specified node version in the .nvmrc file by installing nvm and running:

Or by installing it manually.

Then run the following commands:

For a firefox build which uses manifest version 2 you can run:

The built assets will be in the dist/ folder.

Development version

You can build the development version of the extension by running the commands specified in the building section but instead of npm run build run the following:

Or for the firefox version:

This will build the assets and wait for changes to files. Then add the contents of the dist/ folder as a temporary or unpackaged plugin depending on which browser you are using.

Add data with JavaScript

You can manually add data into the debugger by using the extend function of the global debugger object in JavaScript. The first parameter is your data. The second parameter is the key under which your data is added. You can add multiple data sets under the same key.

If you are using the DustPress.js plugin, the data loaded via AJAX is automatically added into the debugger view.


All versions of dustpress-debugger with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
devgeniem/dustpress Version >=1.28.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 devgeniem/dustpress-debugger contains the following files

Loading the files please wait ....