News

Lambo CLI for Quick Application Creation With Laravel and Valet

Published
Lambo CLI for Quick Application Creation With Laravel and Valet image

A new version of Laravel Lambo is available, written from scratch in PHP:

Lambo is a command-line tool that replaces the Laravel installer and takes care of everyday tasks when creating a Laravel app:

  • Runs laravel new
  • Initializes a git repo
  • Replaces the .env database credentials with the default macOS MySQL credentials
  • Replaces the APP_URL with the conventional Valet URL based on folder and Valet TLD
  • Generates an app key
  • Opens the project in your favorite editor
  • Opens the project in the browser

You can also customize behavior by creating a config file and an "after" file to run additional commands after creating the project.

You install this project globally with composer, similar to other tools like the Laravel Installer:

composer global require tightenco/lambo:^1.0

The source code provides an excellent example of how to craft CLI applications using PHP and tools like Laravel, Symfony, and Laravel Zero.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article