Skip to content
Chris Putnam edited this page Sep 2, 2019 · 7 revisions

Getting Started

OK, so you read this and your situation also seems like a good use-case for a PHP console tool? Here we go then!

Install PCon

(if you don't already have it installed)

  1. Clone this repository to the directory of your choice. This directory can be kept and updated for future use, and will inlude a special tool to help you create and managed console tools that you build. We'll call the directory "~/dev/pcon"
  2. CD to your local pcon folder (cd ~/dev/pcon)
  3. Make sure pcon is executable - run chmod +x ./pcon

Create a New Console Tool

  1. CD to your local pcon folder (cd ~/dev/pcon)
  2. Run ./pcon create (optionally, run ./pcon help create to see usage)
  3. Follow prompts to specify details
  4. Program your functionality

Customize and Test Your Tool

Reference Development Cookbook section

Package a Console Tool

  1. CD to your local pcon folder (cd ~/dev/pcon)
  2. Run ./pcon package (optionally, run ./pcon help package to see usage)
  3. Follow prompts to specify deails

Deliver a Packaged Console Tool

PENDING

Development Cookbook

Reference the information here to help you as you build your console tools.

Clone this wiki locally