PHP code example of synxs-ar / laravel-worktrees
1. Go to this page and download the library: Download synxs-ar/laravel-worktrees 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/ */
synxs-ar / laravel-worktrees example snippets
bash
php artisan wt:new # crea y deja TODO listo (te hace unas preguntas)
php artisan wt:up 1 # lo prende (PHP + Vite). No pregunta nada.
bash
php artisan vendor:publish --tag=worktrees-config
bash
php artisan wt:new checkout-redesign # nace como "MiApp [checkout-redesign]"
php artisan wt:label 1 billing-fix # renombrar cuando quieras
php artisan wt:label 1 # ver el nombre actual
php artisan wt:label 1 --clear # volver a "MiApp [wt-desk-01]"