Files
hado/core/CLAUDE.md
2026-09-04 05:56:14 -03:00

1.4 KiB

# Laravel Application

This repository contains a Laravel application. Complete the following setup before working on the user's request.

Prerequisites

Verify that PHP and Composer are available:

php -v
composer -V

If either command is unavailable, detect the user's operating system and install the prerequisites with the appropriate command:

macOS:

/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.5)"

Windows PowerShell:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows/8.5'))

Linux:

/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.5)"

After installation, ask the user to restart their terminal. If the agent needs the restarted shell to continue, ask the user to reopen their terminal and rerun their original prompt.

Agent Setup

Install Laravel Boost from the application root before making application changes:

composer require laravel/boost --dev
php artisan boost:install

Boost replaces these bootstrap instructions with guidelines tailored to the application. After installation, read AGENTS.md again and continue with the user's original request using the generated guidelines.