Weave Code
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
chamber-orchestra/pagination-bundle
claude-code
cursor
orm
symfony
paging
twig
api
paginator
pagination
doctrine
filter
symfony-bundle
Install
php artisan boost:add-skill chamber-orchestra/pagination-bundle

Save this content to: AGENTS.md

---
package: chamber-orchestra/pagination-bundle
source_path: AGENTS.md
repo: https://github.com/chamber-orchestra/pagination-bundle
---

# Repository Guidelines

## Project Structure & Module Organization
Source code lives in `src/` under the `ChamberOrchestra\PaginationBundle` namespace. Core pagination types are in `src/Pagination/`, paginators live in `src/Paginator/`, and Symfony integration sits in `src/DependencyInjection/` and `src/Twig/`. Bundle resources (services, templates, translations) are in `src/Resources/` with Twig views in `src/Resources/views/` and translations in `src/Resources/translations/`. Tests are organized under `tests/` with `tests/Unit/` and `tests/Integrational/`.

## Build, Test, and Development Commands
Install dependencies with Composer:
`composer install`

Run the test suite (PHPUnit):
`composer test`

Direct invocation is also acceptable:
`vendor/bin/phpunit`

## Coding Style & Naming Conventions
Follow PSR-12 formatting with 4-space indentation. Use PSR-4 autoloading conventions, matching namespaces to folder paths (e.g., `src/Pagination/Pagination.php` => `ChamberOrchestra\PaginationBundle\Pagination\Pagination`). Use `StudlyCaps` for classes, `CamelCase` for methods, and keep interface and trait names suffixed with `Interface` and `Trait` (see `src/Pagination/PaginationInterface.php` and `src/PaginationTrait.php`).

## Testing Guidelines
Testing uses PHPUnit. Place unit tests in `tests/Unit/` and integration tests in `tests/Integrational/`. Name test classes with a `*Test.php` suffix. Run the suite with `composer test` before opening a pull request. No coverage threshold is currently enforced.

## Commit & Pull Request Guidelines
There is no commit history yet, so no established convention. Use concise, imperative commit messages (e.g., “Add pagination range type”). For pull requests, include a clear description, the motivation, and any relevant test results. If you touch Twig templates or translations, mention the affected files explicitly.

## Release & Tagging
No release process is defined yet. When you introduce one, document the versioning scheme (e.g., SemVer), the tag format (e.g., `v8.0.1`), and the steps to publish a release. Include any required changelog updates and whether tags should be signed.

## Changelog
No changelog is tracked yet. If you add one, place it at `CHANGELOG.md` and keep entries grouped by version with a short list of notable changes. Link the changelog in release notes once tagging is in place.

## Configuration & Symfony Integration Notes
Symfony service wiring is in `src/Resources/config/services.yaml`. Twig pagination templates live in `src/Resources/views/`, and can be overridden by consumers. Translation keys are defined in `src/Resources/translations/`.

package: chamber-orchestra/pagination-bundle source_path: AGENTS.md repo: https://github.com/chamber-orchestra/pagination-bundle

Repository Guidelines

Project Structure & Module Organization

Source code lives in src/ under the ChamberOrchestra\PaginationBundle namespace. Core pagination types are in src/Pagination/, paginators live in src/Paginator/, and Symfony integration sits in src/DependencyInjection/ and src/Twig/. Bundle resources (services, templates, translations) are in src/Resources/ with Twig views in src/Resources/views/ and translations in src/Resources/translations/. Tests are organized under tests/ with tests/Unit/ and tests/Integrational/.

Build, Test, and Development Commands

Install dependencies with Composer: composer install

Run the test suite (PHPUnit): composer test

Direct invocation is also acceptable: vendor/bin/phpunit

Coding Style & Naming Conventions

Follow PSR-12 formatting with 4-space indentation. Use PSR-4 autoloading conventions, matching namespaces to folder paths (e.g., src/Pagination/Pagination.php => ChamberOrchestra\PaginationBundle\Pagination\Pagination). Use StudlyCaps for classes, CamelCase for methods, and keep interface and trait names suffixed with Interface and Trait (see src/Pagination/PaginationInterface.php and src/PaginationTrait.php).

Testing Guidelines

Testing uses PHPUnit. Place unit tests in tests/Unit/ and integration tests in tests/Integrational/. Name test classes with a *Test.php suffix. Run the suite with composer test before opening a pull request. No coverage threshold is currently enforced.

Commit & Pull Request Guidelines

There is no commit history yet, so no established convention. Use concise, imperative commit messages (e.g., “Add pagination range type”). For pull requests, include a clear description, the motivation, and any relevant test results. If you touch Twig templates or translations, mention the affected files explicitly.

Release & Tagging

No release process is defined yet. When you introduce one, document the versioning scheme (e.g., SemVer), the tag format (e.g., v8.0.1), and the steps to publish a release. Include any required changelog updates and whether tags should be signed.

Changelog

No changelog is tracked yet. If you add one, place it at CHANGELOG.md and keep entries grouped by version with a short list of notable changes. Link the changelog in release notes once tagging is in place.

Configuration & Symfony Integration Notes

Symfony service wiring is in src/Resources/config/services.yaml. Twig pagination templates live in src/Resources/views/, and can be overridden by consumers. Translation keys are defined in src/Resources/translations/.

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui