repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh-HK/filament-tree.php
resources/lang/zh-HK/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展開', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/pt_PT/filament-tree.php
resources/lang/pt_PT/filament-tree.php
<?php return [ 'root' => 'Raiz', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Guardar', 'button.expand_all' => 'Expandir Tudo', '...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/ar/filament-tree.php
resources/lang/ar/filament-tree.php
<?php return [ 'root' => 'الرئيسي', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'حفظ', 'button.expand_all' => 'توسيع الكل', 'button.collapse_...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/nl/filament-tree.php
resources/lang/nl/filament-tree.php
<?php return [ 'root' => 'Basis', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Opslaan', 'button.expand_all' => 'Alles uitklappen', ...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/fr/filament-tree.php
resources/lang/fr/filament-tree.php
<?php return [ 'root' => 'Racine', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Sauver', 'button.expand_all' => 'Tout développer', ...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/it/filament-tree.php
resources/lang/it/filament-tree.php
<?php return [ 'root' => 'Radice', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Salva', 'button.expand_all' => 'Espandi tutto', '...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh_Hans/filament-tree.php
resources/lang/zh_Hans/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展开', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh_CN/filament-tree.php
resources/lang/zh_CN/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展开', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh_TW/filament-tree.php
resources/lang/zh_TW/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展開', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh_Hant/filament-tree.php
resources/lang/zh_Hant/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展開', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/fa/filament-tree.php
resources/lang/fa/filament-tree.php
<?php return [ 'root' => 'مسیر اصلی', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'ذخیره', 'button.expand_all' => 'بازکردن همه', ...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/zh_HK/filament-tree.php
resources/lang/zh_HK/filament-tree.php
<?php return [ 'root' => '根', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => '保存', 'button.expand_all' => '全部展開', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/id_ID/filament-tree.php
resources/lang/id_ID/filament-tree.php
<?php return [ 'root' => 'Induk', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Simpan', 'button.expand_all' => 'Perluas Semua', '...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/lang/es/filament-tree.php
resources/lang/es/filament-tree.php
<?php return [ 'root' => 'Raíz', /* |-------------------------------------------------------------------------- | Buttons |-------------------------------------------------------------------------- */ 'button.save' => 'Guardar', 'button.expand_all' => 'Expandir', 'button.collapse_a...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/pages/tree.blade.php
resources/views/pages/tree.blade.php
<x-filament-panels::page class="filament-tree-page"> {{ $this->tree }} </x-filament-panels::page>
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/forms/tree/group.blade.php
resources/views/components/forms/tree/group.blade.php
@props([ 'groupKey' => null, 'depth' => 0, 'node' => [], ]) @php $key = $node['id'] ?? null; $label = $node['label'] ?? $key; $children = $node['children'] ?? []; $hasChildren = count($children) > 0; @endphp <div role="treeitem"> <x-filament-tree::forms.tree.item :key="$key" ...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/forms/tree/item.blade.php
resources/views/components/forms/tree/item.blade.php
@props([ 'key', 'depth', 'label' => null, 'groupKey' => null, 'hasChildren' => false, ]) <div class="filament-forms-tree-component-option-node flex items-center gap-1" data-treenode="{{ $key }}" data-treenode-group="{{ $groupKey }}" data-treenode-depth="{{ $depth }}" > @if ($hasChi...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/actions/action.blade.php
resources/views/components/actions/action.blade.php
@props([ 'action', 'dynamicComponent', 'icon' => null, ]) @php $isDisabled = $action->isDisabled(); $url = $action->getUrl(); @endphp <x-dynamic-component :badge="$action->getBadge()" :badge-color="$action->getBadgeColor()" :component="$dynamicComponent" :form="$action->getFormToSu...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/actions/index.blade.php
resources/views/components/actions/index.blade.php
@props([ 'actions', 'alignment' => null, 'record' => null, // 'wrap' => false, ]) @php use Filament\Support\Enums\Alignment; $actions = array_filter( $actions, function ($action) use ($record): bool { if (! $action instanceof \SolutionForest\FilamentTree\Actions\Mo...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/modal/heading.blade.php
resources/views/components/modal/heading.blade.php
<x-dynamic-component component="filament::modal.heading" :attributes="\Filament\Support\prepare_inherited_attributes($attributes)" > {{ $slot }} </x-dynamic-component>
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/modal/actions.blade.php
resources/views/components/modal/actions.blade.php
<x-dynamic-component component="filament::actions" :actions="$actions ?? []" :alignment="$alignment ?? null" :fullWidth="$fullWidth ?? false" :attributes="\Filament\Support\prepare_inherited_attributes($attributes)" > {{ $slot }} </x-dynamic-component>
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/modal/subheading.blade.php
resources/views/components/modal/subheading.blade.php
<x-dynamic-component component="filament::modal.description" :attributes="\Filament\Support\prepare_inherited_attributes($attributes)" > {{ $slot }} </x-dynamic-component>
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/modal/index.blade.php
resources/views/components/modal/index.blade.php
<x-dynamic-component component="filament::modal.index" :alignment="$alignment ?? null" :ariaLabelledby="$ariaLabelledby ?? null" :autofocus="$autofocus ?? null" :closeButton="$closeButton ?? null" :closeByClickingAway="$closeByClickingAway ?? null" :closeByEscaping="$closeByEscaping ?? nul...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/tree/item-display.blade.php
resources/views/components/tree/item-display.blade.php
@props(['title', 'icon', 'description', 'record']) @php use Illuminate\Support\HtmlString; @endphp <div {{ $attributes->merge([ 'class' => 'tree-item-display' ]) }}> @if ($icon) <div class="icon-ctn"> <x-dynamic-component :component="$icon"/> </div> @endif <...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/tree/index.blade.php
resources/views/components/tree/index.blade.php
@php $containerKey = 'filament_tree_container_' . $this->getId(); $maxDepth = $getMaxDepth() ?? 1; $records = collect($this->getRootLayerRecords() ?? []); $toolbarActions = $tree->getToolbarActions() ?? []; @endphp <div class="filament-tree-component" wire:disabled="updateTree" {{-- x-ignore --...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/tree/item.blade.php
resources/views/components/tree/item.blade.php
@php use Illuminate\Database\Eloquent\Model; @endphp @php use Filament\Facades\Filament; @endphp @php use SolutionForest\FilamentTree\Components\Tree; @endphp @props(['record', 'containerKey', 'tree', 'title' => null, 'icon' => null, 'description' => null]) @php /** @var $record Model */ /** @var $containerKey ...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/components/tree/list.blade.php
resources/views/components/tree/list.blade.php
@props([ 'records', 'containerKey', 'tree', 'collapsed' => null, ]) <ol @class([ 'filament-tree-list', 'dd-list', 'hidden' => $collapsed, ])> @foreach ($records ?? [] as $record) @php $title = $this->getTreeRecordTitle($record); $icon = $this->getTreeRecor...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/forms/tree.blade.php
resources/views/forms/tree.blade.php
@php $statePath = $getStatePath(); @endphp <x-dynamic-component :component="$getFieldWrapperView()" :field="$field" > <div {{ $attributes ->merge($getExtraAttributes()) ->class([ 'filament-forms-tree-component py-2 px-5 border rounded-xl s...
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/group.blade.php
resources/views/actions/group.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/link-action.blade.php
resources/views/actions/link-action.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/icon-button-action.blade.php
resources/views/actions/icon-button-action.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/button-action.blade.php
resources/views/actions/button-action.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/grouped-action.blade.php
resources/views/actions/grouped-action.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/actions/modal/actions/button-action.blade.php
resources/views/actions/modal/actions/button-action.blade.php
{{-- Deprecated with filament v4 --}}
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
solutionforest/filament-tree
https://github.com/solutionforest/filament-tree/blob/10713ab3aefc99479e1917c92e66c1ab685c3514/resources/views/widgets/tree.blade.php
resources/views/widgets/tree.blade.php
<x-filament-widgets::widget class="filament-widgets-tree-widget"> {{ $this->tree }} <x-filament-actions::modals /> </x-filament-widgets::widget>
php
MIT
10713ab3aefc99479e1917c92e66c1ab685c3514
2026-01-05T03:02:24.169574Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/.php-cs-fixer.php
.php-cs-fixer.php
<?php $finder = PhpCsFixer\Finder::create() ->exclude('somedir') ->notPath('src/Symfony/Component/Translation/Tests/fixtures/resources.php') ->in(__DIR__); $config = new PhpCsFixer\Config(); return $config->setRules([ '@PSR12' => true, 'array_syntax' => ['syntax' => 'short'], 'braces' => [ ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ToOne.php
src/ToOne.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Identifier; use JsonApiPhp\JsonApi\Internal\ResourceField; use JsonApiPhp\JsonApi\Internal\ResourceFieldTrait; use JsonApiPhp\JsonApi\Internal\ToOneMember; final class ToOne implements Identifier, ResourceField { use Re...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/PaginatedCollection.php
src/PaginatedCollection.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Collection; use JsonApiPhp\JsonApi\Internal\PrimaryData; final class PaginatedCollection implements PrimaryData { public function __construct(private readonly Pagination $pagination, private readonly Collection $collect...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/MetaDocument.php
src/MetaDocument.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\MetaDocumentMember; use JsonSerializable; final class MetaDocument implements JsonSerializable { private readonly object $doc; public function __construct(Meta $meta, MetaDocumentMember ...$members) { $this...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ErrorDocument.php
src/ErrorDocument.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\ErrorDocumentMember; use JsonSerializable; /** * A Document containing an array of Error objects * @see http://jsonapi.org/format/#document-top-level */ final class ErrorDocument implements JsonSerializable { private...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/EmptyRelationship.php
src/EmptyRelationship.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\RelationshipMember; use JsonApiPhp\JsonApi\Internal\ResourceField; use JsonApiPhp\JsonApi\Internal\ResourceFieldTrait; /** * A relationship with no data */ class EmptyRelationship implements ResourceField { use Resour...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Pagination.php
src/Pagination.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\PaginationLink; use JsonApiPhp\JsonApi\Internal\ToManyMember; class Pagination implements ToManyMember { /** * @var PaginationLink[] */ private readonly array $links; public function __construct(Pagin...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ResourceIdentifierCollection.php
src/ResourceIdentifierCollection.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Collection; use JsonApiPhp\JsonApi\Internal\PrimaryData; class ResourceIdentifierCollection implements PrimaryData, Collection { /** * @var ResourceIdentifier[] */ private readonly array $identifiers; ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Attribute.php
src/Attribute.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\ResourceField; use JsonApiPhp\JsonApi\Internal\ResourceFieldTrait; /** * @see http://jsonapi.org/format/#document-resource-object-attributes */ final class Attribute implements ResourceField { use ResourceFieldTrait; ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/CompoundDocument.php
src/CompoundDocument.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\PrimaryData; use JsonSerializable; /** * A Document with the "included" member * @see http://jsonapi.org/format/#document-compound-documents */ final class CompoundDocu...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/DataDocument.php
src/DataDocument.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\PrimaryData; use JsonSerializable; /** * A Document containing the "data" member * @see http://jsonapi.org/format/#document-top-level */ final class DataDocument implem...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ToMany.php
src/ToMany.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Identifier; use JsonApiPhp\JsonApi\Internal\ResourceField; use JsonApiPhp\JsonApi\Internal\ResourceFieldTrait; use JsonApiPhp\JsonApi\Internal\ToManyMember; final class ToMany implements Identifier, ResourceField { use ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/functions.php
src/functions.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Attachable; function combine(Attachable ...$members): object { $obj = (object)[]; foreach ($members as $member) { $member->attachTo($obj); } return $obj; } function child($o, string $name): mixed { ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ResourceObject.php
src/ResourceObject.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\BaseResource; use JsonApiPhp\JsonApi\Internal\PrimaryData; use JsonApiPhp\JsonApi\Internal\ResourceMember; final class ResourceObject extends BaseResource implements PrimaryData { public function __construct(string $typ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ToNull.php
src/ToNull.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\ResourceField; use JsonApiPhp\JsonApi\Internal\ResourceFieldTrait; use JsonApiPhp\JsonApi\Internal\ToOneMember; final class ToNull implements ResourceField { use ResourceFieldTrait; /** * @var ToOneMember[] ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Meta.php
src/Meta.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use DomainException; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\ErrorDocumentMember; use JsonApiPhp\JsonApi\Internal\ErrorMember; use JsonApiPhp\JsonApi\Internal\MetaDocumentMember; use JsonApiPhp\JsonApi\Internal\R...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Included.php
src/Included.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Attachable; use JsonApiPhp\JsonApi\Internal\PrimaryData; use LogicException; /** * A set of included resources. */ final class Included implements Attachable { /** * @var ResourceObject[] */ private arra...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error.php
src/Error.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\ErrorDocumentMember; use JsonApiPhp\JsonApi\Internal\ErrorMember; /** * An Error Object * @see */ final class Error implements ErrorDocumentMember { private readonly object $error; public function __construct(Er...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/NullData.php
src/NullData.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\PrimaryData; final class NullData implements PrimaryData { /** * @param object $o * @internal */ public function attachTo(object $o): void { $o->data = null; } }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/NewResourceObject.php
src/NewResourceObject.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\BaseResource; use JsonApiPhp\JsonApi\Internal\PrimaryData; use JsonApiPhp\JsonApi\Internal\ResourceMember; /** * A resource to-be-created on the server. Does not have the `id` yet. * * Class NewResourceObject */ final c...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ResourceIdentifier.php
src/ResourceIdentifier.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use DomainException; use JsonApiPhp\JsonApi\Internal\PrimaryData; final class ResourceIdentifier implements PrimaryData { private readonly object $obj; public function __construct(string $type, string $id, Meta ...$metas) { if (isValidNam...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/JsonApi.php
src/JsonApi.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\ErrorDocumentMember; use JsonApiPhp\JsonApi\Internal\MetaDocumentMember; final class JsonApi implements MetaDocumentMember, DataDocumentMember, ErrorDocumentMember { p...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/ResourceCollection.php
src/ResourceCollection.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi; use JsonApiPhp\JsonApi\Internal\Collection; use JsonApiPhp\JsonApi\Internal\PrimaryData; class ResourceCollection implements PrimaryData, Collection { /** * @var ResourceObject[] */ private readonly array $resources; public function...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/RelatedLink.php
src/Link/RelatedLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\RelationshipMember; use function JsonApiPhp\JsonApi\child; final class RelatedLink implements RelationshipMember, DataDocu...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/AboutLink.php
src/Link/AboutLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\ErrorMember; use JsonApiPhp\JsonApi\Internal\LinkTrait; use function JsonApiPhp\JsonApi\child; final class AboutLink implements ErrorMember { use LinkTrait; /** * @param object $o * @internal *...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/PrevLink.php
src/Link/PrevLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\PaginationLink; use function JsonApiPhp\JsonApi\child; final class PrevLink implements PaginationLink { use LinkTrait; /** * @param object $o * @internal ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/SelfLink.php
src/Link/SelfLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\DataDocumentMember; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\RelationshipMember; use JsonApiPhp\JsonApi\Internal\ResourceMember; use function JsonApiPhp\JsonApi\child; final class Sel...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/NextLink.php
src/Link/NextLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\PaginationLink; use function JsonApiPhp\JsonApi\child; final class NextLink implements PaginationLink { use LinkTrait; /** * @param object $o * @internal ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/LastLink.php
src/Link/LastLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\PaginationLink; use function JsonApiPhp\JsonApi\child; final class LastLink implements PaginationLink { use LinkTrait; /** * @param object $o * @internal ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Link/FirstLink.php
src/Link/FirstLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Link; use JsonApiPhp\JsonApi\Internal\LinkTrait; use JsonApiPhp\JsonApi\Internal\PaginationLink; use function JsonApiPhp\JsonApi\child; final class FirstLink implements PaginationLink { use LinkTrait; /** * @param object $o * @internal ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/PrimaryData.php
src/Internal/PrimaryData.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface PrimaryData extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/Collection.php
src/Internal/Collection.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; interface Collection extends PrimaryData { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/RelationshipMember.php
src/Internal/RelationshipMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface RelationshipMember extends ToOneMember, ToManyMember { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/Identifier.php
src/Internal/Identifier.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface Identifier { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ResourceFieldTrait.php
src/Internal/ResourceFieldTrait.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; use function JsonApiPhp\JsonApi\isValidName; /** * @internal */ trait ResourceFieldTrait { private readonly string $name; private function validateFieldName(string $fieldName): void { if (isValidName($fieldName) === false) { ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ToManyMember.php
src/Internal/ToManyMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface ToManyMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ResourceField.php
src/Internal/ResourceField.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; interface ResourceField extends ResourceMember { public function name(): string; }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ResourceMember.php
src/Internal/ResourceMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface ResourceMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ErrorMember.php
src/Internal/ErrorMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface ErrorMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ErrorDocumentMember.php
src/Internal/ErrorDocumentMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface ErrorDocumentMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/MetaDocumentMember.php
src/Internal/MetaDocumentMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface MetaDocumentMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/DataDocumentMember.php
src/Internal/DataDocumentMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface DataDocumentMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/LinkTrait.php
src/Internal/LinkTrait.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; use JsonApiPhp\JsonApi\Meta; /** * @internal */ trait LinkTrait { private string|object $link; public function __construct(string $url, Meta ...$metas) { if ($metas) { $this->link = (object)['href' => $url]; ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/ToOneMember.php
src/Internal/ToOneMember.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface ToOneMember extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/PaginationLink.php
src/Internal/PaginationLink.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; interface PaginationLink extends Attachable { }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/BaseResource.php
src/Internal/BaseResource.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; use DomainException; use LogicException; use function JsonApiPhp\JsonApi\isValidName; /** * Class BaseResource * @internal */ class BaseResource implements Attachable { protected object $obj; protected array $registry = []; publi...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Internal/Attachable.php
src/Internal/Attachable.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Internal; /** * @internal */ interface Attachable { /** * Adds this object's data to $o * @param object $o * @internal */ public function attachTo(object $o): void; }
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/SourcePointer.php
src/Error/SourcePointer.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; use function JsonApiPhp\JsonApi\child; final class SourcePointer implements ErrorMember { /** * @param string $pointer JSON Pointer [RFC6901] to the associated entity in the request document ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/Detail.php
src/Error/Detail.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; final class Detail implements ErrorMember { /** * @param string $detail a human-readable explanation specific to this occurrence of the problem. */ public function __construct(private re...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/SourceParameter.php
src/Error/SourceParameter.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; use function JsonApiPhp\JsonApi\child; final class SourceParameter implements ErrorMember { /** * @param string $parameter a string indicating which URI query parameter caused the error. */...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/Title.php
src/Error/Title.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; final class Title implements ErrorMember { /** * @param string $title a short, human-readable summary of the problem that SHOULD NOT change from occurrence * to occurren...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/Id.php
src/Error/Id.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; final class Id implements ErrorMember { /** * @param string $id a unique identifier for this particular occurrence of the problem */ public function __construct(private readonly string $...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/Status.php
src/Error/Status.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; final class Status implements ErrorMember { /** * @param string $status the HTTP status code applicable to this problem, expressed as a string value */ public function __construct(privat...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/src/Error/Code.php
src/Error/Code.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Internal\ErrorMember; final class Code implements ErrorMember { /** * @param string $code an application-specific error code, expressed as a string value */ public function __construct(private readonly string...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/ErrorDocumentTest.php
test/ErrorDocumentTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\Error; use JsonApiPhp\JsonApi\Error\Code; use JsonApiPhp\JsonApi\Error\Detail; use JsonApiPhp\JsonApi\Error\Id; use JsonApiPhp\JsonApi\Error\SourceParameter; use JsonApiPhp\JsonApi\Error\SourcePointer; use JsonApiPhp\JsonApi\Err...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/CompoundDocumentTest.php
test/CompoundDocumentTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\Attribute; use JsonApiPhp\JsonApi\CompoundDocument; use JsonApiPhp\JsonApi\Included; use JsonApiPhp\JsonApi\Link\LastLink; use JsonApiPhp\JsonApi\Link\NextLink; use JsonApiPhp\JsonApi\Link\RelatedLink; use JsonApiPhp\JsonApi\Lin...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/ResourceObjectTest.php
test/ResourceObjectTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\Attribute; use JsonApiPhp\JsonApi\DataDocument; use JsonApiPhp\JsonApi\EmptyRelationship; use JsonApiPhp\JsonApi\Link\RelatedLink; use JsonApiPhp\JsonApi\Link\SelfLink; use JsonApiPhp\JsonApi\Meta; use JsonApiPhp\JsonApi\Resourc...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/JsonApiTest.php
test/JsonApiTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\JsonApi; use JsonApiPhp\JsonApi\Meta; use JsonApiPhp\JsonApi\MetaDocument; class JsonApiTest extends BaseTestCase { public function testJsonApiMayContainVersionAndMeta() { $this->assertEncodesTo( ' ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/MetaDocumentTest.php
test/MetaDocumentTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\JsonApi; use JsonApiPhp\JsonApi\Meta; use JsonApiPhp\JsonApi\MetaDocument; class MetaDocumentTest extends BaseTestCase { /** * A valid document may contain just a meta object */ public function testMetaDocumen...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/ResourceIdentifierTest.php
test/ResourceIdentifierTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\ResourceIdentifier; class ResourceIdentifierTest extends BaseTestCase { public function testNameValidation() { $this->expectException(\DomainException::class); new ResourceIdentifier('invalid:id', 'foo'); ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/BaseTestCase.php
test/BaseTestCase.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use PHPUnit\Framework\TestCase; abstract class BaseTestCase extends TestCase { public static function assertEncodesTo(string $expected, $obj, string $message = '') { self::assertEquals( json_decode($expected), json...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/PaginationTest.php
test/PaginationTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\Attribute; use JsonApiPhp\JsonApi\CompoundDocument; use JsonApiPhp\JsonApi\DataDocument; use JsonApiPhp\JsonApi\Included; use JsonApiPhp\JsonApi\Link\FirstLink; use JsonApiPhp\JsonApi\Link\LastLink; use JsonApiPhp\JsonApi\Link\N...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/ExamplesTest.php
test/ExamplesTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use PHPUnit\Framework\TestCase; class ExamplesTest extends TestCase { /** * @dataProvider examples * @param string $file */ public function testOutputEncodesToJson(string $file) { $this->assertJson(`php $file`); } ...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/MetaTest.php
test/MetaTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\Meta; use PHPUnit\Framework\TestCase; class MetaTest extends TestCase { public function testKeyMustBeValid() { $this->expectException(\DomainException::class); $this->expectExceptionMessage("Invalid characte...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false
json-api-php/json-api
https://github.com/json-api-php/json-api/blob/e34075c8335cb3512e38059c13a9a37217d3a178/test/LinkObjectTest.php
test/LinkObjectTest.php
<?php declare(strict_types=1); namespace JsonApiPhp\JsonApi\Test; use JsonApiPhp\JsonApi\DataDocument; use JsonApiPhp\JsonApi\Link\SelfLink; use JsonApiPhp\JsonApi\Meta; use JsonApiPhp\JsonApi\ResourceIdentifier; class LinkObjectTest extends BaseTestCase { public function testLinkObject() { $this->asser...
php
MIT
e34075c8335cb3512e38059c13a9a37217d3a178
2026-01-05T03:02:38.439490Z
false