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
mirafive/sdk-laravel
claude-code
cursor
octane
queues
testing
composer
release
changelog

mirafive/sdk-laravel: the Laravel integration of MIRA FIVE. It wraps mirafive/sdk-php and adds no transport of its own. The public surface is fixed by the mirafive/sdk-laravel section of API.md in the protocol repository; change it there first.

Install
php artisan boost:add-skill mirafive/sdk-laravel

Save this content to: AGENTS.md

# AGENTS.md

`mirafive/sdk-laravel`: the Laravel integration of MIRA FIVE. It wraps `mirafive/sdk-php` and adds no transport of its own. The public surface is fixed by the `mirafive/sdk-laravel` section of `API.md` in the
protocol repository; change it there first.

## Local development

`mirafive/sdk-php` is not on Packagist yet. `composer.json` keeps requiring `mirafive/sdk-php: ^1.0`; for local work
use the gitignored `composer.local.json`, a copy of `composer.json` that adds a path repository to the sibling checkout:

```json
"repositories": [
    {"type": "path", "url": "../sdk-php", "options": {"symlink": true, "versions": {"mirafive/sdk-php": "1.0.0"}}}
]
```

```bash
COMPOSER=composer.local.json composer install
COMPOSER=composer.local.json composer check   # pint --test, phpstan (larastan, level max), pest
vendor/bin/pint                                # fix formatting
vendor/bin/pest                                # tests only
```

Keep `composer.local.json` in step with `composer.json` when dependencies change. CI installs from `composer.json`
and stays red until `mirafive/sdk-php` 1.0 is published on Packagist.

## Rules

- PHP 8.3 syntax and functions only (no property hooks, asymmetric visibility, pipe operator, `array_find`, …).
  CI runs PHP 8.3–8.5 against Laravel 11, 12 and 13; Laravel 11 needs `audit.block-insecure` off to install.
- Never reimplement delivery, retries or evaluation. If the core lacks a hook, describe the change for sdk-php.
- Octane: no request state in singletons. The core buffer is flushed after every request; anything per request
  lives on the request (see `Tags::BOOTSTRAPPED`) or is resolved from `Container::getInstance()` at call time.
- Build on the core's seams, never around them: `enabled`, `flushOnShutdown: false` (Laravel flushes on terminate),
  `handOff` + `deliverPrepared` for queues. The disabled client still throws on bad input.
- Tests never touch the network: bind `tests/Support/FakeTransport` as `MiraFive\Http\Transport` (`TestCase` does).
- Comments only for non-obvious constraints, one or two lines.
- Do not run git write commands; the maintainer commits.

## Releasing

To release, add a `## X.Y.Z — YYYY-MM-DD` section to `CHANGELOG.md`, commit, then `git tag vX.Y.Z && git push origin vX.Y.Z`. `.github/workflows/release.yml` checks the changelog, runs `composer check` and creates the GitHub release; Packagist picks the tag up by itself.

AGENTS.md

mirafive/sdk-laravel: the Laravel integration of MIRA FIVE. It wraps mirafive/sdk-php and adds no transport of its own. The public surface is fixed by the mirafive/sdk-laravel section of API.md in the protocol repository; change it there first.

Local development

mirafive/sdk-php is not on Packagist yet. composer.json keeps requiring mirafive/sdk-php: ^1.0; for local work use the gitignored composer.local.json, a copy of composer.json that adds a path repository to the sibling checkout:

"repositories": [
    {"type": "path", "url": "../sdk-php", "options": {"symlink": true, "versions": {"mirafive/sdk-php": "1.0.0"}}}
]
COMPOSER=composer.local.json composer install
COMPOSER=composer.local.json composer check   # pint --test, phpstan (larastan, level max), pest
vendor/bin/pint                                # fix formatting
vendor/bin/pest                                # tests only

Keep composer.local.json in step with composer.json when dependencies change. CI installs from composer.json and stays red until mirafive/sdk-php 1.0 is published on Packagist.

Rules

  • PHP 8.3 syntax and functions only (no property hooks, asymmetric visibility, pipe operator, array_find, …). CI runs PHP 8.3–8.5 against Laravel 11, 12 and 13; Laravel 11 needs audit.block-insecure off to install.
  • Never reimplement delivery, retries or evaluation. If the core lacks a hook, describe the change for sdk-php.
  • Octane: no request state in singletons. The core buffer is flushed after every request; anything per request lives on the request (see Tags::BOOTSTRAPPED) or is resolved from Container::getInstance() at call time.
  • Build on the core's seams, never around them: enabled, flushOnShutdown: false (Laravel flushes on terminate), handOff + deliverPrepared for queues. The disabled client still throws on bad input.
  • Tests never touch the network: bind tests/Support/FakeTransport as MiraFive\Http\Transport (TestCase does).
  • Comments only for non-obvious constraints, one or two lines.
  • Do not run git write commands; the maintainer commits.

Releasing

To release, add a ## X.Y.Z — YYYY-MM-DD section to CHANGELOG.md, commit, then git tag vX.Y.Z && git push origin vX.Y.Z. .github/workflows/release.yml checks the changelog, runs composer check and creates the GitHub release; Packagist picks the tag up by itself.

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.
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
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle