Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 31, 2024 via composer

sebastian/exporter 3.1.5

Provides the functionality to export PHP variables for visualization
Package summary
Share
0
issues
1
license
2
BSD-3-Clause
Package created
16 Feb 2013
Version published
14 Sep 2022
Maintainers
1
Total deps
2
Direct deps
1
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
sebastian/exporter@3.1.5
sebastian/recursion-context@3.0.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of sebastian/exporter 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
sebastian/recursion-context3.0.2-BSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does sebastian/exporter do?

The 'sebastian/exporter' PHP package is an efficient tool that allows for visualization of PHP variables. Through the use of this package, developers can easily export variables, providing an overview of an application's state at a specific point in time. This package is especially practical for debugging purposes to ensure the expected data is present.

How do you use sebastian/exporter?

The usage of 'sebastian/exporter' is straightforward. Firstly, install it in your PHP project by running the command composer require sebastian/exporter for regular use, or composer require --dev sebastian/exporter to use it only in a development environment.

Here is a simple example of how to use the 'sebastian/exporter' package:

use SebastianBergmann\Exporter\Exporter;

$exporter = new Exporter;
print $exporter->export(new Exception);

In this code snippet, a new instance of Exporter class is created, and then export method is used to export an Exception object. The output will provide a visualization of the Exception object.

You can also export simple data types including integers, floats, strings, Booleans, and complex types such as arrays or objects. Another useful feature is the shortenedExport method which provides a compact view of the variables.

Where are the sebastian/exporter docs?

Regarding documentation, there seem to be no dedicated docs page for 'sebastian/exporter' beyond the readme file on the GitHub repository. So, the GitHub repo is the best place to find detailed usage instructions, seek information and get updates about the package. You can visit this repository at https://github.com/sebastianbergmann/exporter. The readme file contains various usage examples, and this would be the first point of reference for understanding how to use 'sebastian/exporter'.