rezen / becho
You know, echo, but better!
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rezen/becho
Requires
- php: >=7.2.5
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2025-10-29 03:03:52 UTC
README
Don't use echo ... use becho!
Install
composer install rezen/becho
Example
In your app, wherever you init and configure things, add a wrapper
<?php // Basic example becho("Some yellow text", ['color' => BECHO_YELLOW]); // Or if you are not using a templating engine, you can echo safely ?> <input type="text" value="<?php becho($value, BECHO_ESC_ATTR); ?>" />