This repository was archived by the owner on Feb 21, 2026. It is now read-only.
Description I suggest a new structure for the default/demo "after" script , which is created by lambo edit-after
The changes:
Echos all sections in the after script every time. Only the commands are commented out. (Better overview)
Composer require with --no-update option in order to defer the installation.
Copy command is verbose and shows all copied files. (see option -v)
Copy command uses other syntax for easier string concatenation of destination path.
Finishing task with "npm run build" added, because this is most likely required if you copy templates.
#!/usr/bin/env bash
echo "
-------------------------------------------------------------------------------
- lambo after: Install composer dependencies
-------------------------------------------------------------------------------
"
#composer require barryvdh/laravel-debugbar --dev --no-update
#composer require beyondcode/laravel-query-detector --dev --no-update
#composer update
echo "
-------------------------------------------------------------------------------
- lambo after: Copy files to project (Source ~/.lambo/includes)
-------------------------------------------------------------------------------
"
#cp -Rv ~/.lambo/includes/ "${PROJECTPATH}"
echo "
-------------------------------------------------------------------------------
- lambo after: Git commit modifications
-------------------------------------------------------------------------------
"
#git add .
#git commit -am "Installed composer packages and extra files."
echo "
-------------------------------------------------------------------------------
- lambo after: Finish
-------------------------------------------------------------------------------
"
#npm run build
Reactions are currently unavailable
I suggest a new structure for the default/demo "after" script, which is created by
lambo edit-afterThe changes:
--no-updateoption in order to defer the installation.