GitHub - chevere/var-dump: A multi-purpose colorful modern alternative to var_du...
source link: https://github.com/chevere/var-dump
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
VarDump
Subscribe to the newsletter to don't miss any update regarding Chevere.
Quick start
- Install VarDump using Composer.
composer require --dev chevere/var-dump
- Use
vd
to dump information about any variable. It replacesvar_dump
ordump
.
// var dump
vd($myVar, $foo);
- Use
vdd
to do the same asvd
anddie(0)
. It replacesdd
.
// var dump and die
vdd($myVar);
Documentation
Documentation is available at chevere.org.
License
Copyright 2022 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK