Ladep is the world's best deploy tool of Laravel framework.
composer install -vvv
$ php bin/ladep
$ ./bin/ladep
$ ./ladep.phar
Install the box tool, then run box build
to build
a PHAR file. Then you can launch the app: ./ladep.phar
. It's the easiest way to build a phar without any line of PHP code.
$ curl -LSs https://box-project.github.io/box2/installer.php | php
$ box build
[Phar]
; http://php.net/phar.readonly
phar.readonly = Off
; http://php.net/phar.require-hash
phar.require_hash = Off
create database homestead;
grant ALL privileges on homestead.* to 'homestead'@'localhost' identified by 'secret';
FLUSH PRIVILEGES;
https://moquet.net/blog/distributing-php-cli/
manifest.json [ { "name": "cliph.phar", "sha1": "fbcded58df0ea838c17d56a5e3cdace56127d538", "url": "http://mattketmo.github.io/cliph/downloads/my-cli-1.1.0.phar", "version": "1.1.0" } ]
; create sha1 value openssl sha1