2017 © Pedro Peláez
 

library php-console-helper

A simple command-line helper functions built for developers.

image

jundelleb/php-console-helper

A simple command-line helper functions built for developers.

  • Sunday, March 20, 2016
  • by jundelleb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Console Helpers

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A simple command-line helper functions built for developers. This package uses the following libraries:, (*2)

Getting Setup

  1. composer global require jundelleb/php-console-helper
  2. Make sure to place the ~/.composer/vendor/bin directory (or the equivalent directory for your OS) in your PATH so the pch executable can be located by your system.

Helpers

  • Faker (faker)
  • Converter(convert)

Basic Usage

  1. Generate random name: pch faker name, (*3)

    Output: Isom Medhurst
  2. Generate a sentence with 10 words: pch faker sentence --params=10, (*4)

    Output: Aut qui et eum itaque voluptatibus qui rem sit blanditiis.

    Please visit Faker for complete lists of available formatters., (*5)

  3. Convert input string to md5: pch convert:md5 test, (*6)

    Output: 098f6bcd4621d373cade4e832627b4f6
  4. Convert input string to base64 encoded: pch convert:base64 test, (*7)

    Output: dGVzdA==
  5. Decode base64 encoded string: pch convert:base64 dGVzdA== --decode, (*8)

    Output: test

Enjoy! :), (*9)

The Versions

20/03 2016

dev-master

9999999-dev

A simple command-line helper functions built for developers.

  Sources   Download

MIT

The Requires

 

by Jundelle Boyles

15/03 2016

v0.0.1

0.0.1.0

A simple command-line helper functions built for developers.

  Sources   Download

MIT

The Requires

 

by Jundelle Boyles