Libraries tagged by default values
yireo/magento1-producttemplates
237 Downloads
Allows for new products to be filled in with default values
adhocore/get-in
13 Downloads
Handy Traversal of chained objects with error trap and default value (suited for View).
reynevan/cli-options
5 Downloads
Tiny, dependency-free CLI options parser for PHP: long/short options, flags, --key=value, combined short flags, typed defaults.
michael-rubel/laravel-safe-request
12266 Downloads
Makes your FormRequest keys retrieved from `$request->safe()` method by default to prevent retrieval of unvalidated input values.
zippendo/zippendo-php
18 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`.
timadey/laravel-lazy-settings
34 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.
wibesoft-company/laravel-request-default
25 Downloads
A Laravel library to set default values for request parameters.
tusimo/eloquent-default
12 Downloads
set default value for eloquent
railt/default-value-extension
0 Downloads
professionalweb/integration-hub-default-values
179 Downloads
Subsystem for integration hub to set default values
oierbravo/components_default_values
0 Downloads
Default values for twig components
mpscholten/value-or-default
29 Downloads
Simple default values for your code
mituu/acf-default-value-initializer
7 Downloads
ACF plugin to automatically initialize default values for existing posts and users
lapalabs/value-resolver
58 Downloads
A tiny library to typecasting and default value resolving.
jamieynonan/default-property-normalizer
482 Downloads
Normalizer default value and Denormalizer by setter for Symfony Serializer