Download the PHP package chevere/var-dump without Composer
On this page you can find all versions of the php package chevere/var-dump. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chevere/var-dump
More information about chevere/var-dump
Files in chevere/var-dump
Package var-dump
Short Description A multi-purpose colorful modern alternative to var_dump
License Apache-2.0
Homepage https://chevere.org
Informations about the package var-dump
VarDump
Summary
Multi-purpose colorful modern alternative to var_dump. It's a PHP library that provides an alternative to var_dump
and dump
functions. It's designed to be used in development environments to help you debug your code.
Features
- Colorful output with automatic light/dark modes
- HTML, Console, and Plain text output
- No JavaScript required
- Displays modifiers, types, values, references, and more
- Recursive detection
- Foldable arrays and objects with indentation display
- Lightweight codebase
Installing
VarDump is available through Packagist and the repository source is at chevere/var-dump.
Run the following command to install VarDump as a development dependency of your project:
Global installation
To make the vd()
function available globally in any PHP code, install VarDump globally:
If not already configured, add the global Composer dependencies to your php.ini
:
Run the following command to select and update the auto_prepend_file
directive in your php.ini
:
You can now use VarDump in any PHP script without requiring the library for each project.
Quick start
- Use
vd
to dump information about any variable (replacesvar_dump
anddump
) - Use
vdd
to do the same asvd
anddie(0)
(replacesdd
)
Demo
Documentation
Documentation is available at chevere.org.
License
Copyright Rodolfo Berrios A.
Chevere 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 var-dump with dependencies
chevere/message Version ^1.0.0
chevere/parameter Version ^1.0.0
chevere/writer Version ^1.0.1
kevinlebrun/colors.php Version ^1.0