rsivakov / lambo
Super-powered 'laravel new' with Laravel and Valet.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 51
Language:Shell
pkg:composer/rsivakov/lambo
Requires
- php: >=5.5.9
- laravel/installer: >=3.0.1
- dev-master
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- dev-dependabot/composer/symfony/process-5.4.46
- dev-pr/83
- dev-mes/lambo-zero
- dev-am/laravel-zero-implementation
- dev-lampho
- dev-pr/32
This package is auto-updated.
Last update: 2025-10-06 20:40:20 UTC
README
Super-powered laravel new for Laravel and Valet.
Installation
For Laravel >= 6
composer global require tightenco/lambo
For Laravel 5.*
composer global require tightenco/lambo:"^0.4.7"
Upgrading
composer global update tightenco/lambo
If this doesn't get you the latest version, check the file at ~/.composer/composer.json. If your version spec for Lambo is ^0.1.#, change it to be ~0.1.
Usage
Make sure ~/.composer/vendor/bin is in your terminal's path.
cd ~/Sites lambo superApplication
This will laravel new superApplication, change into that directory, make an initial Git commit, and open your web browser to that app.
What exactly does it do?
laravel new $PROJECTNAMEcd $PROJECTNAME- Initialize a git repo, add all of the files, and make a commit with the text "Initial commit."
- Replace the
.envdatabase credentials with the default Mac MySQL credentials: database of$PROJECTNAME, userroot, and empty password - Replace the
.envAPP_URLwith$PROJECTNAME.$YOURVALETTLD - Open
$PROJECTNAME.$YOURVALETTLDin your browser
Note that, in case your $PROJECTNAME has dashes (-) in it, they will be replaced with underscores (_) in the database name.
There are also a few optional behaviors based on the parameters you pass (or define in your config file).
Optional Arguments
-
-hor--helpto get the help dialoglambo --help
-
-eor--editorto define your editor command. Whatever is passed here will be run as$EDITOR .after creating the project.# runs "subl ." in the project directory after creating the project lambo superApplication --editor subl -
-mor--messageto set the first commit message.lambo superApplication --message "This lambo runs fast!" -
-por--pathto specify where to install the application.lambo superApplication --path ~/Sites -
-qor--quietuse quiet/silent mode forgit,yarn/npmand laravel installer. -
-dor--devto choose thedevelopbranch instead ofmaster, getting the beta installlambo superApplication --dev
-
-aor--authto use Artisan to scaffold all of the routes and views you need for authenticationlambo superApplication --auth
-
-nor--nodeto runyarnif installed, otherwise runsnpm installafter creating the projectlambo superApplication --node
-
-bor--browserto define which browser you want to open the project in.lambo superApplication --browser "/Applications/Google Chrome Canary.app" -
-lor--linkto create a Valet link to the project directory.lambo superApplication --link
-
-sor--secureto secure the Valet site using https.lambo superApplication --secure
-
--create-dbcreate a new MySql database which has the same name as your project. This requiresmysqlcommand to be available on your system.lambo superApplication --create-db
-
--dbuserspecify the database username.lambo superApplication --dbuser USER
-
--dbpasswordspecify the database password.lambo superApplication --dbpassword SECRET
-
--vueto set the frontend to the default Laravel 5.* scaffolding (set by default)lambo superApplication --vue
-
--bootstrapto set the frontend to Bootstraplambo superApplication --bootstrap
-
--reactto set the frontend to Reactlambo superApplication --react
Commands
-
make-configcreates a config file so you don't have to pass the parameters every time you use Lambolambo make-config
-
edit-configedits your config filelambo edit-config
-
make-aftercreates an "after" file so you can run additional commands after Lambo finisheslambo make-after
-
edit-afteredits your after filelambo edit-after
Config File
You can create a config file at ~/.lambo/config rather than pass the same arguments each time you create a new project.
lambo make-config
If you wish to edit your config file later on you can always use the edit command:
lambo edit-config
After File
You can create an after file at ~/.lambo/after to run additional commands after you create a new project.
lambo make-after
The after file is a bash script so you can include any commands here such as installing additional composer dependencies
# Install additional composer dependencies as you would from the command line. echo "Installing Composer Dependencies" composer require tightenco/mailthief tightenco/quicksand
or copying additional files to your new project.
# To copy standard files to new lambo project place them in ~/.lambo/includes directory. echo "Copying Include Files" cp -R ~/.lambo/includes/ $PROJECTPATH
You also have access to variables from your config file such as $PROJECTPATH and $CODEEDITOR.
Requirements
- Mac or Linux.
- Git.
- Requires the Laravel installer and Laravel Valet to be globally installed.
A Linux fork of Valet can be found here
Acknowledgements
Inspired by Taylor Otwell and Adam Wathan's work on Valet.
Name from TJ Miller, inspired by Taylor's love for the lambo.

