https://github.com/webino/develop
:wrench: Webino™ PHP projects development support [WIP]
https://github.com/webino/develop
library v3 webino wip
Last synced: 5 months ago
JSON representation
:wrench: Webino™ PHP projects development support [WIP]
- Host: GitHub
- URL: https://github.com/webino/develop
- Owner: webino
- License: bsd-3-clause
- Created: 2019-03-19T19:54:58.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2019-07-02T08:10:20.000Z (about 7 years ago)
- Last Synced: 2025-07-28T01:40:41.957Z (11 months ago)
- Topics: library, v3, webino, wip
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Webino Develop
Developer utilities.
[](http://travis-ci.org/webino/develop "Master Build Status")
[](https://coveralls.io/github/webino/develop?branch=master "Master Coverage Status")
[](https://scrutinizer-ci.com/g/webino/develop/?branch=master "Master Code Quality")
[](https://packagist.org/packages/webino/develop)
## Recommended Usage
Do use utility functions only for development usage.
## Setup
[](https://php.net "Required PHP version")
```bash
composer require webino\develop
```
## Quick Use
Utility functions, development only:
```php
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
[](http://travis-ci.org/webino/develop "Develop Build Status")
[](https://coveralls.io/github/webino/develop?branch=develop "Develop Coverage Status")
[](https://scrutinizer-ci.com/g/webino/develop/?branch=develop "Develop Code Quality")
[](https://packagist.org/packages/webino/develop "Packagist")
Static analysis:
```bash
composer analyse
```
Coding style check:
```bash
composer check
```
Coding style fix:
```bash
composer fix
```
Testing:
```bash
composer test
```
Git pre-commit setup:
```bash
ln -s ../../pre-commit .git/hooks/pre-commit
```
## Addendum
[](https://github.com/webino/develop/blob/master/LICENSE.md "BSD-3-Clause License")
[](https://packagist.org/packages/webino/develop "Packagist")

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.
[](https://github.com/webino/develop/issues)
[](https://github.com/webino/develop)