laravel:bootstrap-check

Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable

jpcaparas/superpowers-laravel89 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: laravel:bootstrap-check
description: Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable
license: MIT
---

# Bootstrap Check (Laravel)

Quickly determine if the project should run with Sail or host tools, then list the correct commands for this session.

## Detect Runner

Run this snippet in your project root:

```bash
if [ -f sail ] || [ -x vendor/bin/sail ]; then
  echo "Sail detected. Use: sail artisan|composer|pnpm ...";
else
  echo "Sail not found. Use host tools: php artisan, composer, pnpm ...";
fi
```

Optional portable alias:

```bash
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
```

## Command Pairs

- `sail artisan about`    | `php artisan about`
- `sail artisan test`     | `php artisan test`
- `sail artisan migrate`  | `php artisan migrate`
- `sail composer install` | `composer install`
- `sail pnpm install`     | `pnpm install`
- `sail pnpm run dev`     | `pnpm run dev`

## Service Smoke Checks

- DB: `sail mysql -e 'select 1'` or `mysql -e 'select 1'`
- Cache: `sail redis ping` or `redis-cli ping`

More Backend Frameworks skills

← All Backend Frameworks skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY