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
yannelli/pocket-laravel
claude-code
cursor
sdk
testing
pest
phpstan
pint
composer
guzzle

This repository is the Pocket Laravel SDK — a PHP/Laravel client library (not a runnable web app or service). There is no dev server to start; "running" it means executing its test suite or exercising its classes from a PHP script.

Install
php artisan boost:add-skill yannelli/pocket-laravel

Save this content to: AGENTS.md

# AGENTS.md

## Cursor Cloud specific instructions

This repository is the **Pocket Laravel SDK** — a PHP/Laravel client library (not a runnable
web app or service). There is no dev server to start; "running" it means executing its test
suite or exercising its classes from a PHP script.

### Environment
- Runtime is **PHP 8.3 CLI** (installed as a system dependency) with the `mbstring`, `xml`/`dom`,
  `curl`, `zip`, `bcmath`, `intl`, `sqlite3`, `gd`, and `soap` extensions. Composer is not on
  `PATH`; use the repo-bundled phar via `php composer.phar ...`.
- `composer.lock` and `vendor/` are git-ignored, so dependencies are resolved fresh on install.
  The update script runs `php composer.phar install`, which populates `vendor/`.

### Standard commands
Composer scripts are documented in `CLAUDE.md` and `composer.json` (`test`, `analyse`, `format`,
`test-coverage`). Run them with the bundled phar, e.g. `php composer.phar test`, or invoke the
binaries directly (`vendor/bin/pest`, `vendor/bin/phpstan analyse`, `vendor/bin/pint`). To run a
single test: `vendor/bin/pest tests/Feature/RecordingsResourceTest.php` or
`vendor/bin/pest --filter "test name"`.

### Non-obvious caveats
- Tests mock the HTTP layer (see `tests/Helpers/MocksHttpResponses.php`), so **no `POCKET_API_KEY`
  or network access is required** to run `php composer.phar test`. A real key is only needed to
  hit the live Pocket API (`https://public.heypocketai.com`).
- To exercise the SDK standalone (outside a Laravel app), construct a `PocketClient` with a custom
  Guzzle `HandlerStack` and pass it to a resource (e.g. `new RecordingsResource($client)`), as the
  tests do in `tests/Helpers/MocksHttpResponses.php`.
- `php composer.phar format` (Laravel Pint) **rewrites files in place**. To check formatting
  without modifying the tree, use `vendor/bin/pint --test`.
- CI (`.github/workflows/run-tests.yml`) only runs Pest — not Pint or PHPStan. The repo currently
  has some pre-existing Pint style diffs and PHPStan (level 5) findings that are unrelated to any
  given change; don't treat those as regressions you introduced.

AGENTS.md

Cursor Cloud specific instructions

This repository is the Pocket Laravel SDK — a PHP/Laravel client library (not a runnable web app or service). There is no dev server to start; "running" it means executing its test suite or exercising its classes from a PHP script.

Environment

  • Runtime is PHP 8.3 CLI (installed as a system dependency) with the mbstring, xml/dom, curl, zip, bcmath, intl, sqlite3, gd, and soap extensions. Composer is not on PATH; use the repo-bundled phar via php composer.phar ....
  • composer.lock and vendor/ are git-ignored, so dependencies are resolved fresh on install. The update script runs php composer.phar install, which populates vendor/.

Standard commands

Composer scripts are documented in CLAUDE.md and composer.json (test, analyse, format, test-coverage). Run them with the bundled phar, e.g. php composer.phar test, or invoke the binaries directly (vendor/bin/pest, vendor/bin/phpstan analyse, vendor/bin/pint). To run a single test: vendor/bin/pest tests/Feature/RecordingsResourceTest.php or vendor/bin/pest --filter "test name".

Non-obvious caveats

  • Tests mock the HTTP layer (see tests/Helpers/MocksHttpResponses.php), so no POCKET_API_KEY or network access is required to run php composer.phar test. A real key is only needed to hit the live Pocket API (https://public.heypocketai.com).
  • To exercise the SDK standalone (outside a Laravel app), construct a PocketClient with a custom Guzzle HandlerStack and pass it to a resource (e.g. new RecordingsResource($client)), as the tests do in tests/Helpers/MocksHttpResponses.php.
  • php composer.phar format (Laravel Pint) rewrites files in place. To check formatting without modifying the tree, use vendor/bin/pint --test.
  • CI (.github/workflows/run-tests.yml) only runs Pest — not Pint or PHPStan. The repo currently has some pre-existing Pint style diffs and PHPStan (level 5) findings that are unrelated to any given change; don't treat those as regressions you introduced.
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core