Skip to content
/ develop Public

🔧 Webino™ PHP projects development support [WIP]

License

Notifications You must be signed in to change notification settings

webino/develop

Repository files navigation

Webino Develop

Developer utilities.

Build Status Coverage Status Code Quality Latest Stable Version

Recommended Usage

Do use utility functions only for development usage.

Setup

PHP from Packagist

composer require webino\develop

Quick Use

Utility functions, development only:

d($foo);  // var_dump();
dd($foo); // var_dump();exit;
p($foo);  // print_r();
pd($foo); // print_r();exit;
pr($foo); // return print_r();
e();  // throw new \Webino\DevException;

API

  • void d(mixed $subject)
    Var dumping the subject.

  • void d(mixed $subject)
    Dying var dumping the subject.

  • void p(mixed $subject)
    Enhanced subject print scream.

  • void pd(mixed $subject)
    Dying enhanced subject print scream.

  • string pr(mixed $subject)
    Enhanced subject print return.

  • void bd(mixed $subject)
    Debugger bar var dumping the subject.

  • void e(string $msg = '')
    Development exception.

Development

Build Status Coverage Status Code Quality Latest Unstable Version

Static analysis:

composer analyse

Coding style check:

composer check

Coding style fix:

composer fix

Testing:

composer test

Git pre-commit setup:

ln -s ../../pre-commit .git/hooks/pre-commit

Addendum

License Total Downloads GitHub code size in bytes

Please, if you are interested in this library report any issues and don't hesitate to contribute. We will appreciate any contributions on development of this library.

GitHub issues GitHub forks

About

🔧 Webino™ PHP projects development support [WIP]

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages