2017 © Pedro Peláez
 

project console-app

Boilerplate project files for creating Console Applications on executable PHAR file.

image

buonzz/console-app

Boilerplate project files for creating Console Applications on executable PHAR file.

  • Sunday, March 19, 2017
  • by buonzz
  • Repository
  • 0 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Console App

If you are trying to create a new Console Application that is distributed as .phar file, this template of files will surely help you make the process a lot easier and faster., (*1)

Features

  • PSR-4 autoloading compliant structure
  • Unit-Testing with PHPUnit
  • Comprehensive Guides and tutorial
  • Easy PHAR file building process
  • Eloquent ORM support
  • Powered by Symfony Console
  • Easy configuration via .env file

Build Environment

You need to have docker and docker-compose command installed in your local environment to build a new phar file.br/, (*2)

Put up the server dependencies, (*3)

docker-compose up -d

ssh to the container, (*4)

docker-compose exec cli bash

execute the build command, (*5)

cd /code
./build.sh

The compiled phar file should now be available in /code/dist/yourapp.phar br/ You can then upload it to your web server and let the users download/install it by:, (*6)

wget http://downloads.yourdomain.com/yourapp.phar
sudo mv yourapp.phar  /usr/local/bin/yourapp
chmod +x /usr/local/bin/yourapp
yourapp -V

shutdown the containers, (*7)

docker-compose down

The Versions

19/03 2017

dev-master

9999999-dev

Boilerplate project files for creating Console Applications on executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application

18/03 2017

v1.4.0

1.4.0.0

Boilerplate project files for creating Console Applications on executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application

25/02 2017

v1.3.0

1.3.0.0

Boilerplate project files for creating Console Applications on executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application

07/03 2016

v1.2.0

1.2.0.0

Boilerplate project files for creating Console Applications on executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application

05/03 2016

v1.1.0

1.1.0.0

Boilerplate package for executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application

04/03 2016

v1.0.0

1.0.0.0

Boilerplate package for executable PHAR file.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Darwin Biler

template phar package console application