1. Go to this page and download the library: Download laramint/laravel-zonda library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laramint / laravel-zonda example snippets
namespace App\Commands;
use LaravelZero\Framework\Commands\Command;
class DoThingCommand extends Command
{
protected $signature = 'do:thing {name} {--force}';
protected $description = 'Do a thing.';
public function handle(): int
{
$this->info("Doing {$this->argument('name')}");
return self::SUCCESS;
}
}
bash
# Quick: permanently flip it in your loaded php.ini
php -r 'echo php_ini_loaded_file().PHP_EOL;'
# edit that file → set: phar.readonly = Off
# Or build via box directly (no wrapper subprocess to worry about):
php -d phar.readonly=0 vendor/laravel-zero/framework/bin/box compile --config=box.json
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.