vdauchy/laravel-zero-portable

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vdauchy/laravel-zero-portable

dev-main 2021-09-14 14:30 UTC

This package is auto-updated.

Last update: 2025-10-14 23:58:59 UTC


README

Config-file-less wrapper around LaravelZero. This let you create a CLI from a single file as:

#!/usr/bin/env php
<?php

use VDauchy\LaravelZeroPortable\Commands\InspiringCommand;
use VDauchy\LaravelZeroPortable\LaravelZeroPortable;

$autoloader = require __DIR__ . '/vendor/autoload.php';

exit(LaravelZeroPortable::buildDefault(__DIR__, [
    InspiringCommand::class
])->run());