Download the PHP package jundelleb/php-console-helper without Composer
On this page you can find all versions of the php package jundelleb/php-console-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jundelleb/php-console-helper
More information about jundelleb/php-console-helper
Files in jundelleb/php-console-helper
Download jundelleb/php-console-helper
More information about jundelleb/php-console-helper
Files in jundelleb/php-console-helper
Vendor jundelleb
Package php-console-helper
Short Description A simple command-line helper functions built for developers.
License MIT
Package php-console-helper
Short Description A simple command-line helper functions built for developers.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-console-helper
PHP Console Helpers
A simple command-line helper functions built for developers. This package uses the following libraries:
- fzaninotto's Faker
Getting Setup
composer global require jundelleb/php-console-helper
- Make sure to place the
~/.composer/vendor/bin
directory (or the equivalent directory for your OS) in your PATH so thepch
executable can be located by your system.
Helpers
Faker
(faker)Converter
(convert)
Basic Usage
-
Generate random name:
pch faker name
Output: Isom Medhurst
-
Generate a sentence with 10 words:
pch faker sentence --params=10
Output: Aut qui et eum itaque voluptatibus qui rem sit blanditiis.
Please visit Faker for complete lists of available formatters.
-
Convert input string to md5:
pch convert:md5 test
Output: 098f6bcd4621d373cade4e832627b4f6
-
Convert input string to base64 encoded:
pch convert:base64 test
Output: dGVzdA==
-
Decode base64 encoded string:
pch convert:base64 dGVzdA== --decode
Output: test
Enjoy! :)
All versions of php-console-helper with dependencies
PHP Build Version
Package Version
The package jundelleb/php-console-helper contains the following files
Loading the files please wait ....