2017 © Pedro Peláez
 

library consol

Micro framework for command line PHP apps

image

richjenks/consol

Micro framework for command line PHP apps

  • Tuesday, February 6, 2018
  • by richjenks
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Consol — Micro framework for command line PHP apps

It's like Slim for console applications, (*1)

Hello, World!

// index.php
$app = new RichJenks\Consol\App;

$app->map('hello', function ($app) {
    $app->say('Hello World');
});

# terminal
php index.php hello
# Hello, World!

Features

  • Routes terminal requests
  • Simplifies parameters and options
  • Generates command directory
  • Packages your app as a PHAR

Read full documentation at https://richjenks.github.io/consol/, (*2)

The Versions

06/02 2018

dev-master

9999999-dev https://richjenks.github.io/consol

Micro framework for command line PHP apps

  Sources   Download

Apache-2.0 Apache

The Requires

  • php >=5.5.0

 

console command line commandline