2017 © Pedro Peláez
 

library xonsole

A tiny framework around laravel console, so you can use laravel console outside larave itself

image

alash3al/xonsole

A tiny framework around laravel console, so you can use laravel console outside larave itself

  • Wednesday, November 8, 2017
  • by alash3al
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Xonsole

A tiny PHP framework based on laravel console, just for console based apps, now you can use the power of larave commands without a full laravel installation., (*1)

Usage

There is no magic, just goto the commands directory, and create your command under the namespace Xonsole\Commands, (*2)

<?php


namespace Xonsole\Commands;

use Illuminate\Console\Command;

class Hello extends Command
{
    protected $description = "a hello world command";

    protected $signature = "hello";

    public function handle() {
        $this->info("Hello World!");
    }
}

Then open your terminal and php app.php hello !, (*3)

PHAR

There is a tool called box included with Xonsole, its role is generating a PHAR package for your app., (*4)

php box build

and you will find the app.phar file that you can distribute anywhere!, (*5)

Author

I'm Mohammed Al Ashaal, a Backend Ninja!, (*6)

Contribution

Just create a pull request with your changes and I'll review then merge if needed., (*7)

The Versions

08/11 2017

dev-master

9999999-dev http://github.com/alash3al/xonsole

A tiny framework around laravel console, so you can use laravel console outside larave itself

  Sources   Download

MIT

The Requires

 

laravel phar command console cli