Libraries tagged by scopes
hariadi/laravel-boilerplate-generator
609 Downloads
Generate Model, attribute, relation, scope trait and repository for Laravel Boilerplate
boone-studios/laravel-api-keys
50 Downloads
Prefixed, hashed API keys with scope-to-permission mapping for multi-tenant Laravel APIs.
blackcube/active-record
15 Downloads
Scoped queries, elastic dynamic attributes, Hazeltree nested sets — a toolkit for ActiveRecord
aura/includer
3185 Downloads
Include multiple files from specified directories, in order, with variables extracted into a limited include scope.
larasaas/multi-tenant
236 Downloads
用于租户创建及管理,实现按租户查询的数据隔离。
lexical-scope/banner
46 Downloads
Displays a informative banner to users with FilamentPHP
zippendo/zippendo-php
13 Downloads
Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan's limit returns `403`.
vluzrmos/eloquent-simple-searchable
178 Downloads
An Eloquent Simple Searchable Scope.
timadey/laravel-lazy-settings
17 Downloads
Enum-driven, per-scope settings for Laravel with lazy persistence: definitions live in an enum, values are only stored when changed, reads fall back to declared defaults.
syntech/globalscopes
386 Downloads
A Laravel package to add general model scopes to all models
swp/settings-bundle
10098 Downloads
Scope and owner aware settings system. Define settings in configuration, keep customized values in storage.
struggle-for-php/sfp-psalm-typed-local-variable-plugin
478 Downloads
finding mismatch type assignment in function/method scope with psalm
sqonk/phext-context
805 Downloads
Contexts create a block level scope on a resource and automatically manage the creation and cleanup of that resource irrespective of any exceptions that arise while in use.
shaxzodbek-uzb/laravel-mcp-auth
10 Downloads
Bring-your-own-IdP OAuth 2.1 resource server for the official laravel/mcp package: external token validation (JWT/JWKS + RFC 7662 introspection), RFC 8707 audience binding, scope enforcement, and RFC 9728 discovery.
sgalinski/sg-apicore
33 Downloads
Modern API Core for TYPO3 - Modern, performance-driven TYPO3 API framework with attribute-based routing and endpoint metadata, multi-API/multi-version setup, tenant-aware request context, OpenAPI 3 generation with Swagger UI and CLI export, MCP/Model Context Protocol tool exposure over JSON-RPC and Streamable HTTP, token/user/backend authentication (opaque bearer + JWT + FE/BE contexts), scope enforcement, auto-CRUD resource registration via TCA/DataHandler, built-in response caching, rate limiting, structured request/response logging with redaction, backend dashboards for APIs/tokens/endpoints/rate-limits/logs, and optional legacy sg_rest compatibility.