PHPackages                             kohkimakimoto/luster - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. kohkimakimoto/luster

ActiveLibrary[CLI &amp; Console](/categories/cli)

kohkimakimoto/luster
====================

A command line application framework based on Laravel.

v5.0.12(10y ago)243MITPHPPHP &gt;=5.4.0

Since Jul 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kohkimakimoto/luster)[ Packagist](https://packagist.org/packages/kohkimakimoto/luster)[ Docs](https://github.com/kohkimakimoto/luster)[ RSS](/packages/kohkimakimoto-luster/feed)WikiDiscussions 5.0 Synced 1mo ago

READMEChangelogDependencies (15)Versions (14)Used By (0)

Luster
======

[](#luster)

[![Build Status](https://camo.githubusercontent.com/3d22897d4f68ba9a8a714f3115e831ca85f3c834348fa7e539fd3e100358eba8/68747470733a2f2f7472617669732d63692e6f72672f6b6f686b696d616b696d6f746f2f6c75737465722e737667)](https://travis-ci.org/kohkimakimoto/luster)[![Latest Stable Version](https://camo.githubusercontent.com/703cc72f41d41404fa4c5c589283838cb411067432c433b3711dbf2a79d55a6f/68747470733a2f2f706f7365722e707567782e6f72672f6b6f686b696d616b696d6f746f2f6c75737465722f762f737461626c65)](https://packagist.org/packages/kohkimakimoto/luster) [![Total Downloads](https://camo.githubusercontent.com/0ab959058df86fe46771bd895680549fd1e08e1397c9a611f987717bd02aed90/68747470733a2f2f706f7365722e707567782e6f72672f6b6f686b696d616b696d6f746f2f6c75737465722f646f776e6c6f616473)](https://packagist.org/packages/kohkimakimoto/luster) [![Latest Unstable Version](https://camo.githubusercontent.com/44d4d69a84f419f8eba90030070bf82ee5b0a9d1d7b85a64b4a783b1b6dfea04/68747470733a2f2f706f7365722e707567782e6f72672f6b6f686b696d616b696d6f746f2f6c75737465722f762f756e737461626c65)](https://packagist.org/packages/kohkimakimoto/luster) [![License](https://camo.githubusercontent.com/aa8c9eabc96d7627a9a0dd813bee77e88c9964d65966e176921b851ed5baf0ea/68747470733a2f2f706f7365722e707567782e6f72672f6b6f686b696d616b696d6f746f2f6c75737465722f6c6963656e7365)](https://packagist.org/packages/kohkimakimoto/luster)

A command line application framework based on [Laravel](http://laravel.com/).

> Note: Luster 5.0.x is based on Laravel5.0.

Requirements
------------

[](#requirements)

- PHP5.4 or later

Installation
------------

[](#installation)

Create `composer.json` for installing via composer..

```
{
    "require": {
        "kohkimakimoto/luster": "5.0.*"
    }
}

```

Run composer install command.

```
composer install

```

Usage
-----

[](#usage)

### Getting Started

[](#getting-started)

Run `luster init` to create your command line app project files.

```
php vendor/bin/luster init
Input your cli app name (default: luster)

```

Input your app name. You will get some directories and files. Look at `bin/[yourappname]`. It is a executable command file to bootstrap the app.

Run this command.

```
php bin/yourappname

```

Did you get messages like the following? It is OK. Luster has been installed correctly.

```
yourappname version 0.1.0

Usage:
 command [options] [arguments]

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
...

```

Let's start developing your command line app. Open `bin/yourappname` file by your text editor.

```
#!/usr/bin/env php
