diff --git a/src/Symfony/Component/VarDumper/LICENSE b/src/Symfony/Component/VarDumper/LICENSE new file mode 100644 index 000000000000..0b3292cf9023 --- /dev/null +++ b/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. diff --git a/src/Symfony/Component/VarDumper/README.md b/src/Symfony/Component/VarDumper/README.md new file mode 100644 index 000000000000..b38d82f9d0f6 --- /dev/null +++ b/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. diff --git a/src/Symfony/Component/VarDumper/composer.json b/src/Symfony/Component/VarDumper/composer.json new file mode 100644 index 000000000000..8b1c37e7bc91 --- /dev/null +++ b/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" +}