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
juaniquillo/mjml-backend-components
claude-code
cursor
mjml
email
components
pest
phpstan
pint
testbench

Build responsive HTML emails from PHP: compose MJML trees via MjmlComponentBuilder / MjmlBackendComponent, inspect raw MJML with toHtml(), compile to production HTML with renderHtml().

Install
php artisan boost:add-skill juaniquillo/mjml-backend-components

Save this content to: AGENTS.md

# AGENTS.md - MJML Backend Components

Build responsive HTML emails from PHP: compose MJML trees via `MjmlComponentBuilder` / `MjmlBackendComponent`, inspect raw MJML with `toHtml()`, compile to production HTML with `renderHtml()`.

- Usage and drivers: `README.md`
- Contributing gates and conventions: `CONTRIBUTING.md`
- Changelog: `CHANGELOG.md`

## Commands

- `composer test:unit` — Pest suite (Orchestra Testbench)
- `composer analyse` — PHPStan level 7 (`src`, `config`)
- `composer lint:check` — Pint check mode (`src`, `config`, `tests`); run `vendor/bin/pint` to fix
- `composer rector:check` — Rector dry run
- `composer qa` — all of the above, in order (`qa:ci` is the CI variant running `pest --ci`)

## Gotchas

- `toHtml()` returns raw MJML markup; `renderHtml()` compiles it to HTML via the bound `CompilesMjml` driver.
- Tests boot through `tests/TestCase.php`, which registers the base backend-component provider first — keep that order so helpers like `isComponent()` exist.
- Enum cases without a builder shorthand are built via `MjmlComponentBuilder::make()`.
- `ext-v8js` is `suggest`-only: guard with `extension_loaded('v8js')` / `class_exists('V8Js')`, never add it to `require` or `require-dev`.
- Consumer AI resources live in `resources/boost/` (guideline + skill); keep their code snippets accurate.
- Never commit, tag, or push — the user handles all version control; leave changes uncommitted in the working tree.

AGENTS.md - MJML Backend Components

Build responsive HTML emails from PHP: compose MJML trees via MjmlComponentBuilder / MjmlBackendComponent, inspect raw MJML with toHtml(), compile to production HTML with renderHtml().

  • Usage and drivers: README.md
  • Contributing gates and conventions: CONTRIBUTING.md
  • Changelog: CHANGELOG.md

Commands

  • composer test:unit — Pest suite (Orchestra Testbench)
  • composer analyse — PHPStan level 7 (src, config)
  • composer lint:check — Pint check mode (src, config, tests); run vendor/bin/pint to fix
  • composer rector:check — Rector dry run
  • composer qa — all of the above, in order (qa:ci is the CI variant running pest --ci)

Gotchas

  • toHtml() returns raw MJML markup; renderHtml() compiles it to HTML via the bound CompilesMjml driver.
  • Tests boot through tests/TestCase.php, which registers the base backend-component provider first — keep that order so helpers like isComponent() exist.
  • Enum cases without a builder shorthand are built via MjmlComponentBuilder::make().
  • ext-v8js is suggest-only: guard with extension_loaded('v8js') / class_exists('V8Js'), never add it to require or require-dev.
  • Consumer AI resources live in resources/boost/ (guideline + skill); keep their code snippets accurate.
  • Never commit, tag, or push — the user handles all version control; leave changes uncommitted in the working tree.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib