Libraries tagged by enforce
pbiering/rcguard
428 Downloads
Roundcube plugin that enforces requirement of solving a Captcha during login
padosoft/laravel-ai-finops
4712 Downloads
Enterprise AI spend-governance for Laravel: cross-provider metering, budgets, policy enforcement, chargeback, forecasting, cost-aware routing and FinOps — the governance brick for AI agents. Hooks the official laravel/ai SDK at a single point.
omnisense/omnitravel
113 Downloads
Omnitravel: going from A to B under any PHP host, whoever keeps the data - a stop's or a station's next departures and arrivals in real time (delays, platforms, gates, cancellations), journeys across modes, where vehicles are, the network's stops and lines with their colours. One family for urban transit, trains and planes, in four contracts: timetables, itineraries, tracking, network. Providers are packages of their own (omnitravel/gtfs, omnitravel/transitous, omnitravel/navitia), each declaring its usage policy (rate limits, rights, attribution), enforced on every call and tightened by a site's configuration - on omnisense/contracts; the Symfony and Laravel bridges live in omnibridge.
omnisense/omnimeet
162 Downloads
Omnimeet: one contract for video meetings - open a room, let a participant in (a JavaScript engine and its options, an embedded frame, or an address), close it, read its state, hear the provider's callbacks - whatever carries the call: the two browsers themselves (omnimeet/direct) or a conferencing service (omnimeet/jitsi) - each gateway with its usage policy (omnisense/contracts: what its terms allow, its limits, enforced by a guard); and its Symfony bundle.
omnisense/omnilang
124 Downloads
Omnilang: translate a text or a page, whatever the engine, under any PHP host - plain text or HTML with its tags kept, formality where the engine has it, the source language detected, glossaries, whole documents. Four contracts (translate, detect, glossary, documents), a registry that falls back from one engine to the next, providers as packages of their own (omnilang/deepl, omnilang/google, omnilang/azure, omnilang/amazon, omnilang/libretranslate), each declaring its usage policy (rate limits, rights, attribution, data retention), enforced on every call and tightened by a site's configuration - on omnisense/contracts.
omnisense/omnical
121 Downloads
Omnical: calendars and public holidays under any PHP host, whoever keeps them - a user's calendars and their events read and written (time zones, recurrence kept as RRULE data, attendees and their answers, ETags against lost updates), busy time and the free spans everyone shares, a country's public and school holidays by region and type. One family in three contracts: calendar-events, free-busy, holidays. Providers are packages of their own (omnical/google, omnical/microsoft, omnical/caldav in code; omnical/openholidays, omnical/nager as data: a provider described by a definition file, loaded at run time with no class of its own), each declaring its usage policy, enforced on every call and tightened by a site's configuration - on omnisense/contracts. OAuth 2.0 (authorization code, PKCE, refresh) and secrets by reference included.
nkiraly/dbsteward
4181 Downloads
SQL database definition differencing tool. Structure and data is defined in a DTD-enforced, human-readable XML format. Outputs transactional SQL statement files to apply your changes.
motomedialab/laravel-redis-driver
2918 Downloads
A Laravel Redis driver override that enforces clearing of cache using prefixes, rather than a flush
milpa/governance
697 Downloads
Governance-as-contract: immutable ADRs compile into a Governance Profile and an inspectable, honestly-enforced Governance Plan — an enforced gate is only honest if its mechanism actually guards the subject.
microweber-packages/microweber-http
696 Downloads
Standalone Laravel HTTP client package with Guzzle/cURL adapters, SSL enforcement, SSRF guard and URL fetch guard
mdakashhossain1/arknox-monitor
181 Downloads
Usage tracking, billing and payment enforcement for Laravel sites (requests, Cloudflare R2, Redis).
lifephp/phpstan-rules
230 Downloads
Reusable generic PHPStan rules, starting with #[CreateBy] factory-only instantiation enforcement.
konfig/snaptrade-php-7-sdk
857 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.
koalafacade/filament-crash
22 Downloads
Filament plugin to enforce you client paid your filament project
justintime50/phpcs-short-scalar-types
1281 Downloads
PHPCS sniff to enforce short scalar type names in comments (bool, int, etc.)