Download the PHP package wordcoolframework/cool-dump without Composer

On this page you can find all versions of the php package wordcoolframework/cool-dump. 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 cool-dump

CoolDump

CoolDump is a tool for beautifully and understandably displaying data in both web and CLI environments. This class enables rendering arrays, objects, and various values in both environments (browser and terminal).

📦 Installation & Usage

Installation

To use CoolDump, first add it to your project:

Usage in Project

🚀 Main Functions

wc(...$data)

Displays data in either a web or CLI environment and stops script execution.

wcJson(...$data)

Displays data in JSON output.

🎯 Features

✅ Automatic execution environment detection (CLI or web)
✅ Categorized data display
✅ Support for various data types
✅ Debug information including:

🔧 Implementation Details

renderHtml($data, $level)

Processes data as HTML for browser display.

renderCli($data, $level)

Processes data as text for terminal display.

getCodeSnippet($file, $line, $padding = 5)

Extracts and displays the code snippet related to the wc execution location.

getFunQuote()

Returns a random quote about programming and debugging.

🛠 Helper Functions

isWeb()

Checks whether the script is running in a web or CLI environment.

getType($value)

Determines the data type.

🌍 Global Helper Functions

wc() and wcJson() are globally defined helper functions that can be used anywhere in the project without instantiating a class.


🚀 CoolDump – A better and faster debugging tool! 🎯


All versions of cool-dump with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 wordcoolframework/cool-dump contains the following files

Loading the files please wait ....