Skip to content

Commit

Permalink
[VarDumper] README, LICENSE and composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Sep 23, 2014
1 parent a69e962 commit 297d373
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/Symfony/Component/VarDumper/LICENSE
@@ -0,0 +1,19 @@
Copyright (c) 2004-2014 Fabien Potencier

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
14 changes: 14 additions & 0 deletions src/Symfony/Component/VarDumper/README.md
@@ -0,0 +1,14 @@
Symfony mechanim for exploring and dumping PHP variables
========================================================

This component provides a mechanism that allows exploring then dumping
any PHP variable.

It handles scalar, objects and resources properly, taking hard and soft
references into account. More than being immune to inifinite recursion
problems, it allows dumping where references link to each other.
It explores recursive structures using a breadth-first algorithm.

The component exposes all the parts involved in the different steps of
cloning then dumping a PHP variable, while applying size limits and having
specialized output formats and methods.
24 changes: 24 additions & 0 deletions src/Symfony/Component/VarDumper/composer.json
@@ -0,0 +1,24 @@
{
"name": "symfony/var-dumper",
"type": "library",
"description": "Symfony mechanism for exploring and dumping PHP variables",
"keywords": ["dump", "debug"],
"homepage": "http://symfony.com",
"license": "MIT",
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
}
],
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-symfony_debug": ""
},
"autoload": {
"psr-0": { "Symfony\\Component\\VarDumper\\": "" }
},
"target-dir": "Symfony/Component/VarDumper"
}

0 comments on commit 297d373

Please sign in to comment.