Libraries tagged by enforcing

savinmikhail/comments-density

50 Favers
694 Downloads

PHP code comments analyzer and Composer plugin for measuring comment density, enforcing TODO/FIXME and DocBlock thresholds, and generating reports.

Go to Download


mike-bronner/clean-code

2 Favers
2478 Downloads

PHPCS ruleset and custom sniffs enforcing the clean-code standards defined at mikebronner.dev/clean-code.

Go to Download


konfig/snaptrade-php-sdk

1 Favers
26603 Downloads

Connect brokerage accounts to your app for live positions and trading. ## Rate limiting Two limits apply to requests signed with your `clientId`. The stricter one wins, and exceeding either returns `429 Too Many Requests`. - **Customer-level** — 250 requests/minute by default, scoped to your `clientId` and applied across all endpoints. Reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. - **Account-level** — 10 requests/minute per account, scoped to (`clientId`, `accountId`). All covered operations for one account draw on the same bucket — reading balances and reading positions share it — and enforcement does not depend on the HTTP method, so updating an account consumes the same bucket as reading it. Only enforced for Personal users, and only for integrations it has been rolled out to — it is not yet in force for every Personal integration. It also does not apply on every operation that documents a 429 below. Where it applies it is reported in `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and `X-RateLimit-Account-Reset`. Do not read the absence of those headers as proof the limit is off — some configurations omit the rate limit headers while still enforcing the limit, so header absence tells you nothing about your allowance. On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for the corresponding `*-Reset` value (seconds) before retrying, or fall back to exponential backoff with jitter. Not every 429 is explained by those headers. A separate per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers OAuth-authenticated requests and signed requests in configurations where the customer-level limit is not in effect — on the operations that use the default throttles. A few operations override those and are governed by the customer-level limit alone. The two do not stack: a signed request governed by the customer-level limit above is not additionally subject to the per-user one. If a 429 arrives with no header at zero — or with no `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the remaining counts as a hint, not a guarantee that the next request will succeed. Because the customer-level limit applies everywhere, any signed request can return 429. **OAuth-authenticated requests are an exception.** They are not subject to the customer-level limit and do not receive `X-RateLimit-Limit`, `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers or design around a customer-level allowance on this path. The account-level limit still applies to them on the account-data endpoints above, reported in the `X-RateLimit-Account-*` headers. On operations using the default throttles the per-user limit above applies to them as well, so an OAuth request can be rejected while the account headers still show capacity; on the few operations that override those throttles, OAuth callers have no per-user ceiling at all. Drive retries from `Retry-After` and exponential backoff with jitter rather than from the headers. See https://docs.snaptrade.com/docs/ratelimiting.

Go to Download


jolicode/jolimarkdown

15 Favers
1314 Downloads

A markdown fixer, for enforcing a consistent style in your markdown files.

Go to Download


hgg/parameter-validator

5 Favers
107368 Downloads

Framework for specifying and enforcing rules on key/value pairs

Go to Download


getdkan/rooted-json-data

1 Favers
197517 Downloads

Access and modify JSON-based data objects while enforcing JSON Schema

Go to Download


cosmira/soda

2 Favers
1134 Downloads

Keep your PHP code clean and maintainable by enforcing quality rules based on metrics

Go to Download


charm/options

0 Favers
6236 Downloads

A generic class for storing options while enforcing option types.

Go to Download


bradp/wordpress-pattern-category-phpcs

1 Favers
2122 Downloads

PHPCS sniffs for enforcing categories in WordPress block pattern files.

Go to Download


thefrosty/wordpress-mu-loader

3 Favers
5574 Downloads

Loads regular plugins from the plugins directory as must-use plugins, enforcing their activity while maintaining the typical update flow.

Go to Download


pereorga/phpstan-rules

2 Favers
6163 Downloads

Custom PHPStan rules enforcing an opinionated code style.

Go to Download


opscale-co/strict-rules

0 Favers
894 Downloads

Opinionated Opscale rules for enforcing software architecture guidelines

Go to Download


n-ramos/celebrimbor-filament-plugin

0 Favers
381 Downloads

Filament 5 plugin connecting an Eloquent resource to the Celebrimbor visual page builder, with interface contracts enforcing what the model/resource must expose.

Go to Download


motomedialab/compliance

1 Favers
1333 Downloads

A package for enforcing GDPR compliance rules

Go to Download


maplephp/dto

4 Favers
820 Downloads

DTO library in PHP provides benefits such as encapsulating data, enforcing immutability and facilitating data transformation.

Go to Download


<< Previous Next >>