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 |
|---|---|---|---|---|---|---|---|---|
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/MixedTest.php | tests/Multi/ZipFilled/MixedTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Multi\ZipFilled;
use IterTools\Multi;
use IterTools\Tests\Fixture;
class MixedTest extends \PHPUnit\Framework\TestCase
{
/**
* @test zipFilled with three different iterables of the same size
* @dataProvider dataProviderForZipFilledThreeI... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/GeneratorTest.php | tests/Multi/ZipFilled/GeneratorTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Multi\ZipFilled;
use IterTools\Multi;
use IterTools\Tests\Fixture;
class GeneratorTest extends \PHPUnit\Framework\TestCase
{
/**
* @test zipFilled with two generators of the same size
* @dataProvider dataProviderForZipFilledTwoGenerators... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/IteratorTest.php | tests/Multi/ZipFilled/IteratorTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Multi\ZipFilled;
use IterTools\Multi;
use IterTools\Tests\Fixture;
class IteratorTest extends \PHPUnit\Framework\TestCase
{
/**
* @test zipFilled with two iterators of the same size
* @dataProvider dataProviderForZipFilledTwoIteratorsSam... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Multi/ZipFilled/IteratorToArrayTest.php | tests/Multi/ZipFilled/IteratorToArrayTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Multi\ZipFilled;
use IterTools\Multi;
class IteratorToArrayTest extends \PHPUnit\Framework\TestCase
{
/**
* @test zipFilled with two arrays of the same size
* @dataProvider dataProviderForZipFilledTwoArraysSameSize
* @param m... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/PairwiseTest.php | tests/Single/PairwiseTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class PairwiseTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataPr... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/ReindexTest.php | tests/Single/ReindexTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class ReindexTest extends \PHPUnit\Framework\TestCase
{
/**
* @test reindex example usage
*/
public function te... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FlatMapTest.php | tests/Single/FlatMapTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class FlatMapTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataPro... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/DropWhileTest.php | tests/Single/DropWhileTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class DropWhileTest extends \PHPUnit\Framework\TestCase
{
/**
* @test dropWhile array
* @dataProvider dataProviderForArray
* @param array $iterable
* @param ... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/TakeWhileTest.php | tests/Single/TakeWhileTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class TakeWhileTest extends \PHPUnit\Framework\TestCase
{
/**
* @test takeWhile array
* @dataProvider dataProviderForArray
* @param array $iterable
* @param ... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/LimitTest.php | tests/Single/LimitTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class LimitTest extends \PHPUnit\Framework\TestCase
{
/**
* @test limit array
* @dataProvider dataProviderForArray
* @param array $iterable
* @param in... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FilterTest.php | tests/Single/FilterTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class FilterTest extends \PHPUnit\Framework\TestCase
{
/**
* @test filter array
* @dataProvider dataProviderForArray
* @param array $iterable
* @param ... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/CompressAssociativeTest.php | tests/Single/CompressAssociativeTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class CompressAssociativeTest extends \PHPUnit\Framework\TestCase
{
/**
* @test compressAssociative example usage
*... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/SkipTest.php | tests/Single/SkipTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class SkipTest extends \PHPUnit\Framework\TestCase
{
/**
* @test skip example usage
*/... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/SliceTest.php | tests/Single/SliceTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class SliceTest extends \PHPUnit\Framework\TestCase
{
/**
* @test slic... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | true |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/GroupByTest.php | tests/Single/GroupByTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class GroupByTest extends \PHPUnit\Framework\TestCase
{
/**
* @test groupBy array
* @dataProvider dataProviderForArray
* @param array $iterable
* @param callable $group... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | true |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FlattenTest.php | tests/Single/FlattenTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class FlattenTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataPro... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FilterKeysTest.php | tests/Single/FilterKeysTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class FilterKeysTest extends \PHPUnit\Framework\TestCase
{
/**
* @test filterKeys example usage
*/
public funct... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/ReverseTest.php | tests/Single/ReverseTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class ReverseTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataProvider dataProviderForArray
* @param array $da... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/StringTest.php | tests/Single/StringTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
class StringTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataProvider dataProviderForAsciiStrings
* @param string $string
* @param array $expected
*/
public function testStringAscii... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/ChunkwiseTest.php | tests/Single/ChunkwiseTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class ChunkwiseTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataP... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/CompressTest.php | tests/Single/CompressTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class CompressTest extends \PHPUnit\Framework\TestCase
{
/**
* @test compress array
* @dataProvider dataProviderForArray
* @param array $data
* @param arr... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/ChunkwiseOverlapTest.php | tests/Single/ChunkwiseOverlapTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class ChunkwiseOverlapTest extends \PHPUnit\Framework\TestCase
{
/**
*... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | true |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/RepeatTest.php | tests/Single/RepeatTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
class RepeatTest extends \PHPUnit\Framework\TestCase
{
private const REPETITIONS = 5;
/**
* @test repeat integer
* @dataProvider dataProviderForInteger
* @param int $integer
* @param ... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FilterTrueTest.php | tests/Single/FilterTrueTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class FilterTrueTest extends \PHPUnit\Framework\TestCase
{
/**
* @test filterTrue example usage
*/
public function testFilterTrueExampleUsage(): void
{
// Given
$... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/FilterFalseTest.php | tests/Single/FilterFalseTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
class FilterFalseTest extends \PHPUnit\Framework\TestCase
{
/**
* @test filterFalse example usage
*/
public function testFilterFalseExampleUsage(): void
{
// Given
... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Single/MapTest.php | tests/Single/MapTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Single;
use IterTools\Single;
use IterTools\Tests\Fixture;
use IterTools\Tests\Fixture\GeneratorFixture;
class MapTest extends \PHPUnit\Framework\TestCase
{
/**
* @test map array
* @dataProvider dataProviderForArray
* @dataProvider ... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Sort/SortTest.php | tests/Sort/SortTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Sort;
use IterTools\Sort;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class SortTest extends \PHPUnit\Framework\TestCase
{
/**
* @test sort exam... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | false |
markrogoyski/itertools-php | https://github.com/markrogoyski/itertools-php/blob/ced0d7ecdad7b6556ec2d415206c56def69ff0d7/tests/Sort/AsortTest.php | tests/Sort/AsortTest.php | <?php
declare(strict_types=1);
namespace IterTools\Tests\Sort;
use IterTools\Sort;
use IterTools\Tests\Fixture\ArrayIteratorFixture;
use IterTools\Tests\Fixture\GeneratorFixture;
use IterTools\Tests\Fixture\IteratorAggregateFixture;
class AsortTest extends \PHPUnit\Framework\TestCase
{
/**
* @test asort ex... | php | MIT | ced0d7ecdad7b6556ec2d415206c56def69ff0d7 | 2026-01-05T04:05:19.040395Z | true |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/src/BaseEloquentOverrides.php | src/BaseEloquentOverrides.php | <?php
namespace Imanghafoori\Relativity;
trait BaseEloquentOverrides
{
protected function guessBelongsToManyRelation()
{
$debug = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 3);
$name = $debug[1]['args'][8] ?? $debug[2]['function'];
if ($name == 'morphedByMany') {
$na... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/src/AbstractRelation.php | src/AbstractRelation.php | <?php
namespace Imanghafoori\Relativity;
class AbstractRelation
{
private $relationData = null;
private $constraints = [];
public function __construct($data)
{
$this->relationData = $data;
}
public function __call($method, $args)
{
$this->constraints[] = [$method, $args]... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/src/DynamicRelations.php | src/DynamicRelations.php | <?php
namespace Imanghafoori\Relativity;
use Illuminate\Support\Str;
trait DynamicRelations
{
use BaseEloquentOverrides;
protected static $dynamicRelations = [];
public function getDynamicRelations()
{
return static::$dynamicRelations;
}
public static function defineNewMethod($name... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/src/Exceptions/UndefinedDynamicRelationException.php | src/Exceptions/UndefinedDynamicRelationException.php | <?php
namespace Imanghafoori\Relativity\Exceptions;
use Exception;
class UndefinedDynamicRelationException extends Exception
{
public function __construct(string $relation)
{
$this->message = sprintf("Undefined dynamic relation '%s' called", $relation);
}
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/HasManyThroughTest.php | tests/HasManyThroughTest.php | <?php
namespace Imanghafoori\Relativity\Tests;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Imanghafoori\Relativity\Tests\RelativeModels\A2;
use Imanghafoori\Relativity\Tests\RelativeModels\A4;
use Imanghafoori\Relativity\Tests\RelativeModels\User;
use Imanghafoori\Relativity\T... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelationsTest.php | tests/RelationsTest.php | <?php
namespace Imanghafoori\Relativity\Tests;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Events\QueryExecuted;
use Imanghafoori\Relativity\Tests\Normal\A2 as A2N;
use Imanghafoori\Relativity\Tests\RelativeModels\A2;
use Imanghafoori\Relativity\Tests\Relat... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/BasicTest.php | tests/BasicTest.php | <?php
namespace Imanghafoori\Relativity\Tests;
use Imanghafoori\Relativity\Tests\RelativeModels\User;
use Imanghafoori\Relativity\Tests\RelativeModels\Comment;
use Imanghafoori\Relativity\Exceptions\UndefinedDynamicRelationException;
class BasicTest extends TestCase
{
public function test_remove_relation()
{... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/TestCase.php | tests/TestCase.php | <?php
namespace Imanghafoori\Relativity\Tests;
class TestCase extends \Orchestra\Testbench\TestCase
{
//
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/PolymorphicRelationsTest.php | tests/PolymorphicRelationsTest.php | <?php
namespace Imanghafoori\Relativity\Tests;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Eloquent\Relations\Relation;
use Imanghafoori\Relativity\Tests\RelativeModels\Tag;
use Imanghafoori\Relativity\Tests\RelativeModels\Post;
use Imanghafoori\Relativity\... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/Video.php | tests/RelativeModels/Video.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Video extends Model
{
use DynamicRelations;
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/Tag.php | tests/RelativeModels/Tag.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Tag extends Model
{
use DynamicRelations;
protected $guarded = [];
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/User.php | tests/RelativeModels/User.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class User extends Model
{
use DynamicRelations;
protected $table = 'a1';
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/AttachableComment.php | tests/RelativeModels/AttachableComment.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class AttachableComment extends Model
{
use DynamicRelations;
protected $table = 'poly_morph_comments';
protected $guarded = [];
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/Comment.php | tests/RelativeModels/Comment.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Comment extends Model
{
use DynamicRelations;
protected $table = 'a3';
protected $guarded = [];
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/A2.php | tests/RelativeModels/A2.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class A2 extends Model
{
use DynamicRelations;
protected $table = 'a2';
protected $primaryKey = 'none_id';
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/A4.php | tests/RelativeModels/A4.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class A4 extends Model
{
use DynamicRelations;
protected $table = 'a4';
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/RelativeModels/Post.php | tests/RelativeModels/Post.php | <?php
namespace Imanghafoori\Relativity\Tests\RelativeModels;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Post extends Model
{
use DynamicRelations;
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/Video.php | tests/Normal/Video.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class Video extends Model
{
/**
* Get all of the tags for the post.
*/
public function tags()
{
return $this->morphToMany(Tag::class, 'taggable');
}
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/Tag.php | tests/Normal/Tag.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Tag extends Model
{
use DynamicRelations;
protected $guarded = [];
/**
* Get all of the posts that are assigned this tag.
*/
public function po... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/User.php | tests/Normal/User.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
protected $table = 'a1';
public function comments()
{
return $this->hasMany(Comment::class);
}
public function comments2()
{
return $this->hasMany(Comment... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/AttachableComment.php | tests/Normal/AttachableComment.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class AttachableComment extends Model
{
protected $table = 'poly_morph_comments';
protected $guarded = [];
public function commentable()
{
return $this->morphTo('commentable', 'morphed_type', 'morp... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/Comment.php | tests/Normal/Comment.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
protected $table = 'a3';
public function a1()
{
return $this->belongsTo(User::class);
}
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/A2.php | tests/Normal/A2.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class A2 extends Model
{
protected $table = 'a2';
protected $primaryKey = 'none_id';
public function a1()
{
return $this->belongsToMany(User::class, 'pivot', 'a2_id', 'a1_id', 'none_id', null);
... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/A4.php | tests/Normal/A4.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
class A4 extends Model
{
protected $table = 'a4';
public function a1()
{
return $this->belongsTo(User::class);
}
}
| php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
imanghafoori1/eloquent-relativity | https://github.com/imanghafoori1/eloquent-relativity/blob/9b968fc94692a508bd002a21bb65b6e01cd98f0f/tests/Normal/Post.php | tests/Normal/Post.php | <?php
namespace Imanghafoori\Relativity\Tests\Normal;
use Illuminate\Database\Eloquent\Model;
use Imanghafoori\Relativity\DynamicRelations;
class Post extends Model
{
use DynamicRelations;
/**
* Get all of the tags for the post.
*/
public function tags()
{
return $this->morphToMany... | php | MIT | 9b968fc94692a508bd002a21bb65b6e01cd98f0f | 2026-01-05T04:05:39.545843Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/.phpstorm.meta.php | .phpstorm.meta.php | <?php
/* @noinspection ALL */
// @formatter:off
// phpcs:ignoreFile
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
override(new \I... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | true |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector;
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
use Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector;
use Rector\Config\RectorConfig;
use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTyp... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/_ide_helper_models.php | _ide_helper_models.php | <?php
// @formatter:off
// phpcs:ignoreFile
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace App\Models{
/**
*
*
* @property i... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/_ide_helper.php | _ide_helper.php | <?php
/* @noinspection ALL */
// @formatter:off
// phpcs:ignoreFile
/**
* A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel 11.36.1.
*
* This file should not be included in your code, only analyzed by your IDE!
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | true |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/kr/texts.php | lang/vendor/cookie-consent/kr/texts.php | <?php
return [
'message' => '보다 나은 사용자 경험을 위해 쿠키를 허용해 주십시요.',
'agree' => '쿠키 허용',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/de/texts.php | lang/vendor/cookie-consent/de/texts.php | <?php
return [
'message' => 'Diese Seite verwendet Cookies um das Nutzererlebnis zu steigern.',
'agree' => 'Akzeptieren',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/sk/texts.php | lang/vendor/cookie-consent/sk/texts.php | <?php
return [
'message' => 'Táto stránka používa cookies na vylepšenie vášho užívateľského zážitku.',
'agree' => 'Súhlasím',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/pt_BR/texts.php | lang/vendor/cookie-consent/pt_BR/texts.php | <?php
return [
'message' => 'Este site utiliza cookies. Ao continuar navegando, você concorda com as condições.',
'agree' => 'Aceitar',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/bn/texts.php | lang/vendor/cookie-consent/bn/texts.php | <?php
return [
'message' => 'এই সাইটে কুকি ব্যবহারের অনুমতি প্রদান করার মাধ্যমে আপনার অভিজ্ঞতা উন্নত করা হবেে।',
'agree' => 'কুকি ব্যবহারের অনুমতি দিন',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/th/texts.php | lang/vendor/cookie-consent/th/texts.php | <?php
return [
'message' => 'เราใช้คุกกี้เพื่อเพิ่มประสบการณ์ในการเยี่ยมชมเว็บไซต์นี้ อณุญาตคุกกี้เพื่อรับประสบการณ์ที่ดีขึ้น',
'agree' => 'ตกลง',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/tr/texts.php | lang/vendor/cookie-consent/tr/texts.php | <?php
return [
'message' => 'Bu sitedeki deneyiminizi çerezlere izin vererek geliştirebilirsiniz.',
'agree' => 'Çerezlere izin ver',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/nb/texts.php | lang/vendor/cookie-consent/nb/texts.php | <?php
return [
'message' => 'Din opplevelse på dette nettstedet vil bli forbedret ved å tillate informasjonskapsler (cookies).',
'agree' => 'Tillat informasjonskapsler',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/bg/texts.php | lang/vendor/cookie-consent/bg/texts.php | <?php
return [
'message' => 'Този сайт използва бисквитки, за да подобри вашето потребителско изживяване.',
'agree' => 'Приемам',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/cs/texts.php | lang/vendor/cookie-consent/cs/texts.php | <?php
return [
'message' => 'Tato stránka používá cookies na vylepšení vašeho uživatelského zážitku.',
'agree' => 'Souhlasím',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/en/texts.php | lang/vendor/cookie-consent/en/texts.php | <?php
return [
'message' => 'Your experience on this site will be improved by allowing cookies.',
'agree' => 'Allow cookies',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/pl/texts.php | lang/vendor/cookie-consent/pl/texts.php | <?php
return [
'message' => 'Twoje doświadczenia na tej witrynie będą lepsze dzięki cookies.',
'agree' => 'Zezwalaj na cookie',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/ar/texts.php | lang/vendor/cookie-consent/ar/texts.php | <?php
return [
'message' => 'سيتم تحسين تجربتنا على هذا الموقع من خلال السماح بملفات تعريف الارتباط',
'agree' => 'السماح',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/vi/texts.php | lang/vendor/cookie-consent/vi/texts.php | <?php
return [
'message' => 'Trải nghiệm của bạn trên trang web này sẽ được cải thiện bằng cách cho phép Cookie.',
'agree' => 'Cho phép Cookie',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/nl/texts.php | lang/vendor/cookie-consent/nl/texts.php | <?php
return [
'message' => 'Uw ervaring op deze site wordt verbeterd door het gebruik van cookies.',
'agree' => 'Sta cookies toe',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/fr/texts.php | lang/vendor/cookie-consent/fr/texts.php | <?php
return [
'message' => "Ce site nécessite l'autorisation de cookies pour fonctionner correctement.",
'agree' => 'Accepter',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/pt/texts.php | lang/vendor/cookie-consent/pt/texts.php | <?php
return [
'message' => 'Este site utiliza cookies. Ao navegar no site estará a consentir a sua utilização.',
'agree' => 'Aceitar',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/it/texts.php | lang/vendor/cookie-consent/it/texts.php | <?php
return [
'message' => 'Questo sito utilizza i cookies per offrire un\'esperienza migliore all\'utente.',
'agree' => 'Consenti i cookies',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/oc/texts.php | lang/vendor/cookie-consent/oc/texts.php | <?php
return [
'message' => 'Vòstra experiéncia sul site serà melhora en autorizant los cookies.',
'agree' => 'Autorizar los cookies',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/hu/texts.php | lang/vendor/cookie-consent/hu/texts.php | <?php
return [
'message' => 'A megfelelő élmény biztosításához sütikre van szükség.',
'agree' => 'Sütik engedélyezése',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/el/texts.php | lang/vendor/cookie-consent/el/texts.php | <?php
return [
'message' => 'Η ιστοσελίδα μας χρησιμοποιεί cookies για να βελτιώσει την εμπειρία περιήγησής σας.',
'agree' => 'Αποδοχή',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/ca/texts.php | lang/vendor/cookie-consent/ca/texts.php | <?php
return [
'message' => "La seva experiència en aquest lloc serà millorada amb l'ús de cookies.",
'agree' => 'Acceptar',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/eo/texts.php | lang/vendor/cookie-consent/eo/texts.php | <?php
return [
'message' => 'Tiu ĉi retejo uzas kuketojn por plibonigi vian sperton.',
'agree' => 'Akcepti kuketojn',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/ro/texts.php | lang/vendor/cookie-consent/ro/texts.php | <?php
return [
'message' => 'Experiența ta pe acest site va fi îmbunătățită dacă acceptați folosirea de cookie-uri.',
'agree' => 'Acceptă cookie',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/id/texts.php | lang/vendor/cookie-consent/id/texts.php | <?php
return [
'message' => 'Pengalaman anda pada situs ini akan meningkat dengan cara mengizinkan cookies.',
'agree' => 'Izinkan Cookies',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/ru/texts.php | lang/vendor/cookie-consent/ru/texts.php | <?php
return [
'message' => 'На этом сайте используются файлы cookies для улучшения вашего пользовательского интерфейса.',
'agree' => 'Разрешить',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/sv/texts.php | lang/vendor/cookie-consent/sv/texts.php | <?php
return [
'message' => 'Vi använder kakor (cookies) för att webbplatsen ska fungera på ett bra sätt för dig. Genom att surfa vidare godkänner du att vi använder kakor.',
'agree' => 'Jag förstår',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/mk/texts.php | lang/vendor/cookie-consent/mk/texts.php | <?php
return [
'message' =>'Вашето искуство на оваа страница ќе се подобри со дозволување колачиња',
'agree' => 'Дозволи',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/es/texts.php | lang/vendor/cookie-consent/es/texts.php | <?php
return [
'message' => 'Su experiencia en este sitio será mejorada con el uso de cookies.',
'agree' => 'Aceptar',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/da/texts.php | lang/vendor/cookie-consent/da/texts.php | <?php
return [
'message' => 'Din oplevelse på dette websted vil blive forbedret ved at tillade cookies.',
'agree' => 'Tillad cookies',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/lang/vendor/cookie-consent/et/texts.php | lang/vendor/cookie-consent/et/texts.php | <?php
return [
'message' => 'Sellel veebilehel on kasutusel cookies-failid teie kasutajaliidese parandamiseks.',
'agree' => 'Sain aru',
];
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Helpers/EnumHelper.php | app/Helpers/EnumHelper.php | <?php
declare(strict_types=1);
namespace App\Helpers;
use Illuminate\Support\Str;
class EnumHelper
{
public static function values(array $cases = []): array
{
return array_column($cases, 'value');
}
public static function toArray(array $cases = []): array
{
$data = [];
f... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
declare(strict_types=1);
namespace App\Http\Controllers;
abstract class Controller
{
//
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Color.php | app/Filament/Color.php | <?php
declare(strict_types=1);
namespace App\Filament;
use Filament\Support\Colors\Color as BaseColor;
class Color extends BaseColor
{
public const BUTTERCUP = [
50 => '253, 253, 233',
100 => '253, 251, 196',
200 => '251, 243, 141',
300 => '249, 229, 75',
400 => '245, 211... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Pages/Dashboard.php | app/Filament/Pages/Dashboard.php | <?php
declare(strict_types=1);
namespace App\Filament\Pages;
use App\Enumerations\Database;
use App\Helpers\EnumHelper;
use Filament\Actions\Action;
use Filament\Forms\Components\Select;
use Filament\Pages\Dashboard as BasePage;
use Filament\Widgets\AccountWidget;
use Filament\Widgets\FilamentInfoWidget;
use Illumin... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Resources/BlogPostResource.php | app/Filament/Resources/BlogPostResource.php | <?php
declare(strict_types=1);
namespace App\Filament\Resources;
use App\Enumerations\BlogPostStatus;
use App\Filament\Resources\BlogPostResource\Pages\CreateBlogPost;
use App\Filament\Resources\BlogPostResource\Pages\EditBlogPost;
use App\Filament\Resources\BlogPostResource\Pages\ListBlogPosts;
use App\Helpers\Enum... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Resources/BlogPostResource/Pages/CreateBlogPost.php | app/Filament/Resources/BlogPostResource/Pages/CreateBlogPost.php | <?php
declare(strict_types=1);
namespace App\Filament\Resources\BlogPostResource\Pages;
use App\Filament\Resources\BlogPostResource;
use Filament\Resources\Pages\CreateRecord;
class CreateBlogPost extends CreateRecord
{
protected static string $resource = BlogPostResource::class;
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Resources/BlogPostResource/Pages/EditBlogPost.php | app/Filament/Resources/BlogPostResource/Pages/EditBlogPost.php | <?php
declare(strict_types=1);
namespace App\Filament\Resources\BlogPostResource\Pages;
use App\Filament\Resources\BlogPostResource;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
class EditBlogPost extends EditRecord
{
protected static string $resource = BlogPostResource::class;
protected ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Filament/Resources/BlogPostResource/Pages/ListBlogPosts.php | app/Filament/Resources/BlogPostResource/Pages/ListBlogPosts.php | <?php
declare(strict_types=1);
namespace App\Filament\Resources\BlogPostResource\Pages;
use App\Filament\Resources\BlogPostResource;
use Filament\Actions;
use Filament\Resources\Pages\ListRecords;
class ListBlogPosts extends ListRecords
{
protected static string $resource = BlogPostResource::class;
protect... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Observers/BlogPostObserver.php | app/Observers/BlogPostObserver.php | <?php
declare(strict_types=1);
namespace App\Observers;
use App\Enumerations\BlogPostStatus;
use App\Models\BlogPost;
class BlogPostObserver
{
/**
* Handle the BlogPost "created" event.
*/
public function created(BlogPost $blogPost): void
{
//
}
/**
* Handle the BlogPost ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Enumerations/Database.php | app/Enumerations/Database.php | <?php
declare(strict_types=1);
namespace App\Enumerations;
enum Database: string
{
case APP = 'sqlite';
case CACHE = 'cache_db';
case QUEUE = 'queue_db';
case PULSE = 'pulse_db';
case TELESCOPE = 'telescope_db';
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Enumerations/Role.php | app/Enumerations/Role.php | <?php
declare(strict_types=1);
namespace App\Enumerations;
enum Role: string
{
case SUPER_ADMIN = 'super admin';
case ADMIN = 'admin';
case USER = 'user';
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Enumerations/BlogPostStatus.php | app/Enumerations/BlogPostStatus.php | <?php
declare(strict_types=1);
namespace App\Enumerations;
enum BlogPostStatus: string
{
case DRAFT = 'draft';
case PUBLISHED = 'published';
case HIDDEN = 'hidden';
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.