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
umanit/tiptap-bundle
claude-code
cursor
symfony-bundle
tiptap
stimulus
twig-components
phparkitect
vitest
conventional-commits

Guidance for AI coding agents working on umanit/tiptap-bundle. See README.md for what the bundle does.

Install
php artisan boost:add-skill umanit/tiptap-bundle

Save this content to: AGENTS.md

# AGENTS.md

Guidance for AI coding agents working on `umanit/tiptap-bundle`. See [README.md](README.md) for what the bundle does.

## Project

Public (MIT), standalone Symfony bundle: a TipTap editor (Twig components, Stimulus controllers, form type) and the
tooling to audit, clean and migrate contents written with another editor.

- `src/` PHP code (`Umanit\TiptapBundle`): `Builder`, `Provider`, `DTO` (editor configuration), `Form`, `Twig`,
  `Audit`, `Cleaning`, `Palette`, `Migration`, `Command`, `Doctrine`.
- `assets/` JavaScript package `@umanit/tiptap-bundle` (`src`, `tests`, `bin`, `dist/css`).
- `templates/`, `translations/` (en, fr), `icons/`, `config/`.
- `tests/` PHPUnit; `assets/tests/` Vitest.
- `docs/` user documentation; `playground/` Symfony app validating the install with Encore and AssetMapper.
- `CHANGELOG.md` follows Keep a Changelog: add an entry under `[Unreleased]` for any user-visible change.

## Rules

- **Standalone**: the bundle only depends on its own code, Symfony, Twig, PSR and `ext-dom` (Doctrine only inside
  `src/Doctrine`). `phparkitect.php` enforces it; express such guards as allow-lists.
- **Public repository**: nothing about any private codebase, product or customer in code, tests, docs, comments, commits
  or the changelog.
- **English everywhere**: code, comments, docs, commit messages (Conventional Commits, e.g. `feat(editor): …`).
- **Native PHP classes**: never `use` them, reference them with a leading backslash (`\Exception`,
  `\DateTimeImmutable`).
- Namespaces: PHP `Umanit\TiptapBundle`, Twig `Umanit:Tiptap:…`, translation domain `UmanitTiptapBundle`.
- Native CSS only (custom properties, nesting): no SCSS, no Bootstrap.
- Keep `docs/` and `README.md` in line with any change of behavior, option or command.

## Checks

After any change, run:

```shell
make full_static_analyze
```

It runs PHPStan, PHPCS, PHPArkitect, Twig CS Fixer, Rector (dry run), ESLint, PHPUnit and Vitest. Passing is the source
of truth; ignore IDE inspections. A single tool can be run with its own target (`make phpstan`, `make vitest`…).

## Environment

Nothing in the project requires Nix: the `Makefile` and the tools only need PHP, Composer, Node and Yarn on the `PATH`.

- PHP 8.4 (`.php-version`) with `ext-dom` and `ext-libxml`.
- Node and Yarn at the versions of `mise.toml` (`mise install`, or any other version manager; Yarn through Corepack).
- Setup: `composer install`, then `cd assets && yarn install`.

A Nix flake (`flake.nix`, loaded by `.envrc` when Nix is available) is provided as a convenience for contributors who use
it: `direnv allow` or `nix develop`. Do not assume it is active, and do not make a command depend on it.

AGENTS.md

Guidance for AI coding agents working on umanit/tiptap-bundle. See README.md for what the bundle does.

Project

Public (MIT), standalone Symfony bundle: a TipTap editor (Twig components, Stimulus controllers, form type) and the tooling to audit, clean and migrate contents written with another editor.

  • src/ PHP code (Umanit\TiptapBundle): Builder, Provider, DTO (editor configuration), Form, Twig, Audit, Cleaning, Palette, Migration, Command, Doctrine.
  • assets/ JavaScript package @umanit/tiptap-bundle (src, tests, bin, dist/css).
  • templates/, translations/ (en, fr), icons/, config/.
  • tests/ PHPUnit; assets/tests/ Vitest.
  • docs/ user documentation; playground/ Symfony app validating the install with Encore and AssetMapper.
  • CHANGELOG.md follows Keep a Changelog: add an entry under [Unreleased] for any user-visible change.

Rules

  • Standalone: the bundle only depends on its own code, Symfony, Twig, PSR and ext-dom (Doctrine only inside src/Doctrine). phparkitect.php enforces it; express such guards as allow-lists.
  • Public repository: nothing about any private codebase, product or customer in code, tests, docs, comments, commits or the changelog.
  • English everywhere: code, comments, docs, commit messages (Conventional Commits, e.g. feat(editor): …).
  • Native PHP classes: never use them, reference them with a leading backslash (\Exception, \DateTimeImmutable).
  • Namespaces: PHP Umanit\TiptapBundle, Twig Umanit:Tiptap:…, translation domain UmanitTiptapBundle.
  • Native CSS only (custom properties, nesting): no SCSS, no Bootstrap.
  • Keep docs/ and README.md in line with any change of behavior, option or command.

Checks

After any change, run:

make full_static_analyze

It runs PHPStan, PHPCS, PHPArkitect, Twig CS Fixer, Rector (dry run), ESLint, PHPUnit and Vitest. Passing is the source of truth; ignore IDE inspections. A single tool can be run with its own target (make phpstan, make vitest…).

Environment

Nothing in the project requires Nix: the Makefile and the tools only need PHP, Composer, Node and Yarn on the PATH.

  • PHP 8.4 (.php-version) with ext-dom and ext-libxml.
  • Node and Yarn at the versions of mise.toml (mise install, or any other version manager; Yarn through Corepack).
  • Setup: composer install, then cd assets && yarn install.

A Nix flake (flake.nix, loaded by .envrc when Nix is available) is provided as a convenience for contributors who use it: direnv allow or nix develop. Do not assume it is active, and do not make a command depend on it.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons