Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
el-schneider/statamic-maintenance-mode
claude-code
cursor
statamic
maintenance-mode
pest
testing
pint
playwright
asset-builds

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Install
php artisan boost:add-skill el-schneider/statamic-maintenance-mode

Save this content to: AGENTS.md

# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Project Overview

This is a Statamic CMS addon (`el-schneider/statamic-maintenance-mode`) that enables maintenance mode with page whitelisting. When active, visitors see a maintenance page while users with CP access can browse normally.

**Statamic Compatibility:** 5.0+ and 6.0+

## Common Commands

```bash
# Run tests
./vendor/bin/pest

# Run a single test file
./vendor/bin/pest tests/Feature/MaintenanceModeTest.php

# Run tests with filter
./vendor/bin/pest --filter="test name"

# Code style (Laravel preset with strict types)
./vendor/bin/pint

# Check code style without fixing
./vendor/bin/pint --test
```

## Testing

Uses Pest 4.0 with Statamic's `AddonTestCase` (via Orchestra Testbench 10.0). Tests run against an SQLite in-memory database configured in `phpunit.xml`. The base `TestCase` extends `Statamic\Testing\AddonTestCase` and configures flat-file users repository.

## Manual Testing

A full Statamic instance is available for manual testing at `../statamic-maintenance-mode-test/`.

**URL:** http://statamic-maintenance-mode-test.test/ (served via Laravel Herd)

**Super Admin Credentials:**

- Email: `[email protected]`
- Password: `claude`

Use the Playwright MCP tools for browser-based manual testing against this instance.

## Asset Builds

Do not commit rebuilt `resources/dist` assets for routine dependency/test maintenance. The `Build assets for distribution` GitHub Action rebuilds and commits dist files on `main` when frontend sources or package files change.

## Dependency Security

Keep `.npmrc` hardening intact. Do not bypass `min-release-age=7` unless explicitly applying a known security fix that has not aged past the release window.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a Statamic CMS addon (el-schneider/statamic-maintenance-mode) that enables maintenance mode with page whitelisting. When active, visitors see a maintenance page while users with CP access can browse normally.

Statamic Compatibility: 5.0+ and 6.0+

Common Commands

# Run tests
./vendor/bin/pest

# Run a single test file
./vendor/bin/pest tests/Feature/MaintenanceModeTest.php

# Run tests with filter
./vendor/bin/pest --filter="test name"

# Code style (Laravel preset with strict types)
./vendor/bin/pint

# Check code style without fixing
./vendor/bin/pint --test

Testing

Uses Pest 4.0 with Statamic's AddonTestCase (via Orchestra Testbench 10.0). Tests run against an SQLite in-memory database configured in phpunit.xml. The base TestCase extends Statamic\Testing\AddonTestCase and configures flat-file users repository.

Manual Testing

A full Statamic instance is available for manual testing at ../statamic-maintenance-mode-test/.

URL: http://statamic-maintenance-mode-test.test/ (served via Laravel Herd)

Super Admin Credentials:

Use the Playwright MCP tools for browser-based manual testing against this instance.

Asset Builds

Do not commit rebuilt resources/dist assets for routine dependency/test maintenance. The Build assets for distribution GitHub Action rebuilds and commits dist files on main when frontend sources or package files change.

Dependency Security

Keep .npmrc hardening intact. Do not bypass min-release-age=7 unless explicitly applying a known security fix that has not aged past the release window.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin