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
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/SqliteModel.php
src/SqliteModel.php
<?php namespace Recca0120\Repository; use Illuminate\Database\ConnectionInterface; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Schema\Blueprint; use Recca0120\Repository\SqliteConnectionResolver as ConnectionResolver; abstract class SqliteModel extends Model { /** * $tableCreated. *...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/FileModel.php
src/FileModel.php
<?php namespace Recca0120\Repository; use Illuminate\Support\Collection; abstract class FileModel extends SqliteModel { /** * loadFromResource. * * @return Collection */ abstract protected function loadFromResource(); /** * initializeTable. * * @param string $table ...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/polyfill.php
src/polyfill.php
<?php use Recca0120\Repository\HigherOrderTapProxy; if (! function_exists('tap')) { /** * Call the given Closure with the given value then return the value. * * @param mixed $value * @param callable|null $callback * @return mixed */ function tap($value, $callback = null) ...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/Contracts/EloquentRepository.php
src/Contracts/EloquentRepository.php
<?php namespace Recca0120\Repository\Contracts; use Illuminate\Contracts\Pagination\LengthAwarePaginator; use Illuminate\Contracts\Pagination\Paginator; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\M...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/Concerns/SoftDeletingScope.php
src/Concerns/SoftDeletingScope.php
<?php namespace Recca0120\Repository\Concerns; use Recca0120\Repository\Method; trait SoftDeletingScope { /** * Add the with-trashed extension to the builder. * * @return $this */ public function withTrashed() { $this->methods[] = new Method(__FUNCTION__); return $thi...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/MethodTest.php
tests/MethodTest.php
<?php namespace Recca0120\Repository\Tests; use PHPUnit\Framework\TestCase; use Recca0120\Repository\Method; class MethodTest extends TestCase { public function test_instance() { $method = new Method('run', ['foo', 'bar']); $this->assertInstanceOf(Method::class, $method); $this->asser...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/CollectionTest.php
tests/CollectionTest.php
<?php namespace Recca0120\Repository\Tests; use Illuminate\Database\Schema\Blueprint; use PHPUnit\Framework\TestCase; use Recca0120\Repository\CollectionModel; use Recca0120\Repository\EloquentRepository; class CollectionTest extends TestCase { public function test_find() { $fakeModel = new FakeColle...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/CriteriaTest.php
tests/CriteriaTest.php
<?php namespace Recca0120\Repository\Tests; use Illuminate\Database\Query\Grammars\MySqlGrammar; use PHPUnit\Framework\TestCase; use Recca0120\Repository\Criteria; use Recca0120\Repository\Expression; class CriteriaTest extends TestCase { public function test_instance() { $this->assertInstanceOf(Crit...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/bootstrap.php
tests/bootstrap.php
<?php /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/EloquentRepositoryTest.php
tests/EloquentRepositoryTest.php
<?php namespace Recca0120\Repository\Tests; use Faker\Factory as FakerFactory; use Faker\Generator; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Schema\Blueprint; use PH...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/Concerns/QueriesRelationshipsTest.php
tests/Concerns/QueriesRelationshipsTest.php
<?php namespace Recca0120\Repository\Tests\Concerns; use Illuminate\Database\Eloquent\Builder; use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; use Mockery as m; use PHPUnit\Framework\TestCase; use Recca0120\Repository\Criteria; class QueriesRelationshipsTest extends TestCase { use MockeryPHPUnitIntegratio...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/Concerns/BuildsQueriesTest.php
tests/Concerns/BuildsQueriesTest.php
<?php namespace Recca0120\Repository\Tests\Concerns; use Illuminate\Database\Query\Builder; use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; use Mockery as m; use PHPUnit\Framework\TestCase; use Recca0120\Repository\Criteria; class BuildsQueriesTest extends TestCase { use MockeryPHPUnitIntegration; pu...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
recca0120/laravel-repository
https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/tests/Concerns/EloquentBuildsQueriesTest.php
tests/Concerns/EloquentBuildsQueriesTest.php
<?php namespace Recca0120\Repository\Tests\Concerns; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Query\Builder; use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; use Mockery as m; use PHPUnit\Framework\TestCase; use Recca0120\Repository\Criteria; class EloquentBuildsQueriesTest extends TestC...
php
MIT
d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd
2026-01-05T05:08:03.638560Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Sitemap.php
src/Sitemap.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use DateTimeInterface; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; class Sitemap implements VisitorInterface { /** * Location (URL). * * @var string */ ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Collection.php
src/Collection.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; abstract class Collection implements VisitorInterface { /** * @var VisitorInterface[] */ private $items = []; public function add(VisitorInterface $value) { ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/SitemapIndex.php
src/SitemapIndex.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; class SitemapIndex extends Collection { public function type(): string { return Sitemap::class; } public function accept(DriverInterface $driver) { $drive...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/ChunkedUrlset.php
src/ChunkedUrlset.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; class ChunkedUrlset extends ChunkedCollection { protected function getCollectionClass(): Collection { return new Urlset(); } }
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/ChunkedCollection.php
src/ChunkedCollection.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; abstract class ChunkedCollection { const LIMIT = 50000; /** * @var Collection[] */ private $collections; /** * @var int */ private $count; /** ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Url.php
src/Url.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use DateTimeInterface; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; class Url implements VisitorInterface { /** * Location (URL). * * @var string */ ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Urlset.php
src/Urlset.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; class Urlset extends Collection { public function type(): string { return Url::class; } public function accept(DriverInterface $driver) { $driver->visitUr...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Interfaces/DriverInterface.php
src/Interfaces/DriverInterface.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap\Interfaces; use Thepixeldeveloper\Sitemap\Extensions\Image; use Thepixeldeveloper\Sitemap\Extensions\Link; use Thepixeldeveloper\Sitemap\Extensions\Mobile; use Thepixeldeveloper\Sitemap\Extensions\News; use Thepixeldeveloper\Sitemap\Extensions\Video; ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Interfaces/VisitorInterface.php
src/Interfaces/VisitorInterface.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap\Interfaces; interface VisitorInterface { public function accept(DriverInterface $driver); }
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Drivers/XmlWriterDriver.php
src/Drivers/XmlWriterDriver.php
<?php declare(strict_types=1); namespace Thepixeldeveloper\Sitemap\Drivers; use Thepixeldeveloper\Sitemap\Extensions\Image; use Thepixeldeveloper\Sitemap\Extensions\Link; use Thepixeldeveloper\Sitemap\Extensions\Mobile; use Thepixeldeveloper\Sitemap\Extensions\News; use Thepixeldeveloper\Sitemap\Extensions\Video; use...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Extensions/Link.php
src/Extensions/Link.php
<?php namespace Thepixeldeveloper\Sitemap\Extensions; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; /** * Class Link * * @package Thepixeldeveloper\Sitemap\Subelements */ class Link implements VisitorInterface { /** * Language code f...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Extensions/Video.php
src/Extensions/Video.php
<?php namespace Thepixeldeveloper\Sitemap\Extensions; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; class Video implements VisitorInterface { /** * URL pointing to an image thumbnail. * * @var string */ protected $thum...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Extensions/Mobile.php
src/Extensions/Mobile.php
<?php namespace Thepixeldeveloper\Sitemap\Extensions; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; use XMLWriter; /** * Class Mobile * * @package Thepixeldeveloper\Sitemap\Subelements */ class Mobile implements VisitorInterface { public ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Extensions/Image.php
src/Extensions/Image.php
<?php namespace Thepixeldeveloper\Sitemap\Extensions; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; class Image implements VisitorInterface { /** * Location (URL). * * @var string */ protected $loc; /** * The...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/src/Extensions/News.php
src/Extensions/News.php
<?php namespace Thepixeldeveloper\Sitemap\Extensions; use Thepixeldeveloper\Sitemap\Interfaces\DriverInterface; use Thepixeldeveloper\Sitemap\Interfaces\VisitorInterface; /** * Class Image * * @package Thepixeldeveloper\Sitemap\Subelements */ class News implements VisitorInterface { /** * Location (URL)...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/CompleteTest.php
tests/CompleteTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\Drivers\XmlWriterDriver; use Thepixeldeveloper\Sitemap\Extensions\Image; use Thepixeldeveloper\Sitemap\Extensions\Link; use Thepixeldeveloper\Sitemap\Extensions\Mobile; use Thepixeld...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/SitemapTest.php
tests/SitemapTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\Sitemap; class SitemapTest extends TestCase { public function testGetters() { $location = 'https://example.com'; $sitemap = new Sitemap($location); ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/UrlsetTest.php
tests/UrlsetTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\Sitemap; use Thepixeldeveloper\Sitemap\Url; use Thepixeldeveloper\Sitemap\Urlset; class UrlsetTest extends TestCase { /** * @expectedException \InvalidArgumentException ...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/UrlTest.php
tests/UrlTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\Url; class UrlTest extends TestCase { public function testGetters() { $location = 'https://example.com'; $url = new Url($location); $url->setChangeF...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/SitemapIndexTest.php
tests/SitemapIndexTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\SitemapIndex; use Thepixeldeveloper\Sitemap\Url; class SitemapIndexTest extends TestCase { /** * @expectedException \InvalidArgumentException */ public function te...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/ChunkedUrlsetTest.php
tests/ChunkedUrlsetTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\ChunkedUrlset; use Thepixeldeveloper\Sitemap\Url; class ChunkedUrlsetTest extends TestCase { public function testChunkingWithOne() { $url = new Url('https://example....
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
ThePixelDeveloper/Sitemap
https://github.com/ThePixelDeveloper/Sitemap/blob/ee4cbd1406f1250534860b8c9b74020fee0c3650/tests/Drivers/XmlWriterDriverTest.php
tests/Drivers/XmlWriterDriverTest.php
<?php declare(strict_types=1); namespace Tests\Thepixeldeveloper\Sitemap\Drivers; use PHPUnit\Framework\TestCase; use Thepixeldeveloper\Sitemap\Drivers\XmlWriterDriver; use Thepixeldeveloper\Sitemap\Extensions\Image; use Thepixeldeveloper\Sitemap\Extensions\Link; use Thepixeldeveloper\Sitemap\Extensions\Mobile; use T...
php
MIT
ee4cbd1406f1250534860b8c9b74020fee0c3650
2026-01-05T05:08:07.161661Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/InvokeQueuedClosure.php
InvokeQueuedClosure.php
<?php namespace Illuminate\Events; use Illuminate\Support\Collection; class InvokeQueuedClosure { /** * Handle the event. * * @param \Laravel\SerializableClosure\SerializableClosure $closure * @param array $arguments * @return void */ public function handle($closure, array $...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/QueuedClosure.php
QueuedClosure.php
<?php namespace Illuminate\Events; use Closure; use Illuminate\Support\Collection; use Laravel\SerializableClosure\SerializableClosure; use function Illuminate\Support\enum_value; class QueuedClosure { /** * The underlying Closure. * * @var \Closure */ public $closure; /** * Th...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/CallQueuedListener.php
CallQueuedListener.php
<?php namespace Illuminate\Events; use Illuminate\Bus\Queueable; use Illuminate\Container\Container; use Illuminate\Contracts\Queue\Job; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; class CallQueuedListener implements ShouldQueue { use InteractsWithQueue, Queueable; /...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/functions.php
functions.php
<?php namespace Illuminate\Events; use Closure; if (! function_exists('Illuminate\Events\queueable')) { /** * Create a new queued Closure event listener. * * @param \Closure $closure */ function queueable(Closure $closure): QueuedClosure { return new QueuedClosure($closure);...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/Dispatcher.php
Dispatcher.php
<?php namespace Illuminate\Events; use Closure; use Exception; use Illuminate\Container\Container; use Illuminate\Contracts\Broadcasting\Factory as BroadcastFactory; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Contracts\Container\Container as ContainerContract; use Illuminate\Contracts\Event...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/NullDispatcher.php
NullDispatcher.php
<?php namespace Illuminate\Events; use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; use Illuminate\Support\Traits\ForwardsCalls; class NullDispatcher implements DispatcherContract { use ForwardsCalls; /** * The underlying event dispatcher instance. * * @var \Illuminate\Contra...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
illuminate/events
https://github.com/illuminate/events/blob/4cd2bf391de735f631e57b4398d51b611f1a410e/EventServiceProvider.php
EventServiceProvider.php
<?php namespace Illuminate\Events; use Illuminate\Contracts\Queue\Factory as QueueFactoryContract; use Illuminate\Support\ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { ...
php
MIT
4cd2bf391de735f631e57b4398d51b611f1a410e
2026-01-05T05:08:15.237387Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/LaravelSnsEventsServiceProvider.php
src/LaravelSnsEventsServiceProvider.php
<?php namespace Rennokki\LaravelSnsEvents; use Illuminate\Support\ServiceProvider; class LaravelSnsEventsServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { // } /** * Bootstrap services. * ...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/Http/Controllers/SnsController.php
src/Http/Controllers/SnsController.php
<?php namespace Rennokki\LaravelSnsEvents\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Rennokki\LaravelSnsEvents\Concerns\HandlesSns; use Rennokki\LaravelSnsEvents\Events\SnsNotification; use Rennokki\LaravelSnsEvents\Events\SnsSubscriptionConfirmation; class SnsController ex...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/Concerns/HandlesSns.php
src/Concerns/HandlesSns.php
<?php namespace Rennokki\LaravelSnsEvents\Concerns; use Aws\Sns\Message; use Aws\Sns\MessageValidator; use Exception; use Illuminate\Http\Request; use Illuminate\Support\Facades\App; trait HandlesSns { /** * Get the SNS message as array. * * @param \Illuminate\Http\Request $request * @retur...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/Concerns/GeneratesSnsMessages.php
src/Concerns/GeneratesSnsMessages.php
<?php namespace Rennokki\LaravelSnsEvents\Concerns; use Aws\Sns\Message; use Aws\Sns\MessageValidator; trait GeneratesSnsMessages { /** * Get the private key to sign the request for SNS. * * @var string */ protected static $snsPrivateKey; /** * The certificate to sign the reques...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/Events/SnsNotification.php
src/Events/SnsNotification.php
<?php namespace Rennokki\LaravelSnsEvents\Events; class SnsNotification { /** * The payload to be delivered in the listeners. * * @var array */ public $payload; /** * Create a new event instance. * * @param array $payload * @return void */ public functio...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/src/Events/SnsSubscriptionConfirmation.php
src/Events/SnsSubscriptionConfirmation.php
<?php namespace Rennokki\LaravelSnsEvents\Events; class SnsSubscriptionConfirmation extends SnsNotification { // }
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/EventTest.php
tests/EventTest.php
<?php namespace Rennokki\LaravelSnsEvents\Tests; use Illuminate\Support\Facades\Event; use Rennokki\LaravelSnsEvents\Events\SnsNotification; use Rennokki\LaravelSnsEvents\Events\SnsSubscriptionConfirmation; use Rennokki\LaravelSnsEvents\Tests\Events\CustomSnsEvent; use Rennokki\LaravelSnsEvents\Tests\Events\CustomSub...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/TestCase.php
tests/TestCase.php
<?php namespace Rennokki\LaravelSnsEvents\Tests; use Orchestra\Testbench\TestCase as Orchestra; use Rennokki\LaravelSnsEvents\Concerns\GeneratesSnsMessages; class TestCase extends Orchestra { use GeneratesSnsMessages; /** * Get package providers. * * @param \Illuminate\Foundation\Application...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/TestServiceProvider.php
tests/TestServiceProvider.php
<?php namespace Rennokki\LaravelSnsEvents\Tests; use Illuminate\Support\ServiceProvider; class TestServiceProvider extends ServiceProvider { /** * Register services. * * @return void */ public function register() { // } /** * Bootstrap services. * * @re...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/Controllers/CustomSnsController.php
tests/Controllers/CustomSnsController.php
<?php namespace Rennokki\LaravelSnsEvents\Tests\Controllers; use Illuminate\Http\Request; use Rennokki\LaravelSnsEvents\Http\Controllers\SnsController; use Rennokki\LaravelSnsEvents\Tests\Events\CustomSnsEvent; use Rennokki\LaravelSnsEvents\Tests\Events\CustomSubscriptionConfirmation; class CustomSnsController exten...
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/Controllers/SnsController.php
tests/Controllers/SnsController.php
<?php namespace Rennokki\LaravelSnsEvents\Tests\Controllers; use Rennokki\LaravelSnsEvents\Http\Controllers\SnsController as BaseSnsController; class SnsController extends BaseSnsController { // }
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/routes/web.php
tests/routes/web.php
<?php use Illuminate\Support\Facades\Route; Route::any('/sns', 'Rennokki\LaravelSnsEvents\Tests\Controllers\SnsController@handle') ->name('sns'); Route::any('/sns-custom', 'Rennokki\LaravelSnsEvents\Tests\Controllers\CustomSnsController@handle') ->name('custom-sns');
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/Events/CustomSubscriptionConfirmation.php
tests/Events/CustomSubscriptionConfirmation.php
<?php namespace Rennokki\LaravelSnsEvents\Tests\Events; use Rennokki\LaravelSnsEvents\Events\SnsSubscriptionConfirmation; class CustomSubscriptionConfirmation extends SnsSubscriptionConfirmation { // }
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
renoki-co/laravel-sns-events
https://github.com/renoki-co/laravel-sns-events/blob/a36a61aff3fb3005aafda799d5d6c69e72a71a9c/tests/Events/CustomSnsEvent.php
tests/Events/CustomSnsEvent.php
<?php namespace Rennokki\LaravelSnsEvents\Tests\Events; use Rennokki\LaravelSnsEvents\Events\SnsNotification; class CustomSnsEvent extends SnsNotification { // }
php
Apache-2.0
a36a61aff3fb3005aafda799d5d6c69e72a71a9c
2026-01-05T05:08:32.238986Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/Extension.php
src/Extension.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Extension\AbstractExtension; use Twig\TwigFunction; use yii\base\InvalidCallException; use yii\helpers\Inflector; use yii\helpers\String...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/Profile.php
src/Profile.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Extension\ProfilerExtension; use Twig\Profiler\Dumper\TextDumper; use \Twig\Profiler\Profile as TwigProfile; use yii\web\View; class Pr...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/ViewRenderer.php
src/ViewRenderer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Environment; use Twig\Lexer; use Twig\Loader\FilesystemLoader; use Yii; use yii\base\View; use yii\base\ViewRenderer as BaseViewRenderer...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/GetAttr.php
src/GetAttr.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Compiler; use Twig\Node\Expression\AbstractExpression; use Twig\Template as TwigTemplate; class GetAttr extends AbstractExpression { ...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/TwigEmptyLoader.php
src/TwigEmptyLoader.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Error\LoaderError; use Twig\Loader\LoaderInterface; use Twig\Source; /** * Empty loader used for environment initialisation * * @aut...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/Template.php
src/Template.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Source; use Twig\Environment; use Twig\Error\RuntimeError; use Twig\Template as TwigTemplate; use Twig\Markup; use Twig\Extension\CoreEx...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/ViewRendererStaticClassProxy.php
src/ViewRendererStaticClassProxy.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; /** * Class-proxy for static classes * Needed because you can't pass static class to Twig other way * * @author Leonid Svyatov <leonid@svyato...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/Optimizer.php
src/Optimizer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Environment; use Twig\Node\DoNode; use Twig\Node\Expression\ConstantExpression; use Twig\Node\Expression\FunctionExpression; use Twig\No...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/GetAttrAdjuster.php
src/GetAttrAdjuster.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig; use Twig\Environment; use Twig\Node\Expression\GetAttrExpression; use Twig\Node\Node; use Twig\NodeVisitor\NodeVisitorInterface; /** * GetAttrA...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/CssStyle_TokenParser.php
src/html/CssStyle_TokenParser.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; class CssStyle_TokenParser extends BaseCss_TokenParser { public function getNodeClass() { return '\yii\twig\html\StyleClassN...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/BaseCss_TokenParser.php
src/html/BaseCss_TokenParser.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; use Twig\Token; use Twig\TokenParser\AbstractTokenParser; abstract class BaseCss_TokenParser extends AbstractTokenParser { public funct...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/HtmlHelperExtension.php
src/html/HtmlHelperExtension.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; use Twig\Extension\AbstractExtension; use Twig\Extension\GlobalsInterface; use yii\twig\ViewRendererStaticClassProxy; class HtmlHelperExten...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/CssClassNode.php
src/html/CssClassNode.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; use Twig\Token; use Twig\Error\Error; class CssClassNode extends BaseClassNode { public function __construct(Token $name, $value, Token...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/StyleClassNode.php
src/html/StyleClassNode.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; use Twig\Token; use Twig\Error\Error; class StyleClassNode extends BaseClassNode { public function __construct(Token $name, $value, Tok...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/CssClass_TokenParser.php
src/html/CssClass_TokenParser.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; class CssClass_TokenParser extends BaseCss_TokenParser { public function getNodeClass() { return '\yii\twig\html\CssClassNod...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/src/html/BaseClassNode.php
src/html/BaseClassNode.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\twig\html; use Twig\Node\Node; use Twig\Compiler; abstract class BaseClassNode extends Node { public function compile(Compiler $compiler) { ...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/TestCase.php
tests/TestCase.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\twig; use yii\di\Container; use yii\helpers\ArrayHelper; use Yii; /** * This is the base class for all yii framework unit tests. */ abstract cla...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/ViewRendererTest.php
tests/ViewRendererTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\twig; use yii\helpers\FileHelper; use yii\web\AssetManager; use yii\web\View; use Yii; use yiiunit\twig\data\Order; use yiiunit\twig\data\Singer; ...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/bootstrap.php
tests/bootstrap.php
<?php // ensure we get report on all possible php errors error_reporting(-1); define('YII_ENABLE_ERROR_HANDLER', false); define('YII_DEBUG', true); $_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_FILENAME'] = __FILE__; require_once(__DIR__ . '/../vendor/autoload.php'); require_once(__DIR__ . '/../vendor/yi...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/compatibility.php
tests/compatibility.php
<?php /* * Ensures compatibility with PHPUnit < 6.x */ namespace PHPUnit\Framework\Constraint { if (!class_exists('PHPUnit\Framework\Constraint\Constraint') && class_exists('PHPUnit_Framework_Constraint')) { abstract class Constraint extends \PHPUnit_Framework_Constraint {} } } namespace PHPUnit\Fra...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/data/Order.php
tests/data/Order.php
<?php namespace yiiunit\twig\data; use yii\db\ActiveRecord; use yii\db\Connection; /** * Class Order * * @property integer $id * @property integer $customer_id * @property integer $created_at * @property string $total */ class Order extends ActiveRecord { public static $db; public static function get...
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/data/StaticAndConsts.php
tests/data/StaticAndConsts.php
<?php namespace yiiunit\twig\data; class StaticAndConsts { const FIRST_CONST = 'I am a const!'; public static $staticVar = 'I am a static var!'; public static function sticFunction($var) { return "I am a static function with param {$var}!"; } }
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
yiisoft/yii2-twig
https://github.com/yiisoft/yii2-twig/blob/1bae7be1e52f5b120fcdcebc4ccd91cdd861a592/tests/data/Singer.php
tests/data/Singer.php
<?php namespace yiiunit\twig\data; use yii\base\Model; /** * Singer */ class Singer extends Model { public $firstName; public $lastName; public $test; }
php
BSD-3-Clause
1bae7be1e52f5b120fcdcebc4ccd91cdd861a592
2026-01-05T05:08:39.408608Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/helpers.php
src/helpers.php
<?php use BitPress\BladeExtension\Container\BladeRegistrar; if (! function_exists('blade_extension')) { /** * @param string|array $abstract * @param \Closure|string|null $concrete */ function blade_extension($service, $concrete = null) { BladeRegistrar::register($service, $concr...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/BladeExtensionServiceProvider.php
src/BladeExtensionServiceProvider.php
<?php namespace BitPress\BladeExtension; use Illuminate\Support\ServiceProvider; use BitPress\BladeExtension\Contracts\BladeExtension; use BitPress\BladeExtension\Exceptions\InvalidBladeExtension; class BladeExtensionServiceProvider extends ServiceProvider { /** * Bootstrap package services * * @r...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/Exceptions/BladeExtensionException.php
src/Exceptions/BladeExtensionException.php
<?php namespace BitPress\BladeExtension\Exceptions; class BladeExtensionException extends \Exception { }
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/Exceptions/InvalidBladeExtension.php
src/Exceptions/InvalidBladeExtension.php
<?php namespace BitPress\BladeExtension\Exceptions; use BitPress\BladeExtension\Contracts\BladeExtension; class InvalidBladeExtension extends BladeExtensionException { public function __construct($extension) { parent::__construct(sprintf( "\"%s\" is an invalid Blade extension.\n\nBlade ex...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/Container/BladeRegistrar.php
src/Container/BladeRegistrar.php
<?php namespace BitPress\BladeExtension\Container; class BladeRegistrar { /** * Register and tag a blade service in the container * * @param string|array $abstract * @param \Closure|string|null $concrete */ public static function register($extension, $concrete = null) { ...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/Contracts/BladeExtension.php
src/Contracts/BladeExtension.php
<?php namespace BitPress\BladeExtension\Contracts; interface BladeExtension { /** * Register directives * * ```php * return [ * 'truncate' => [$this, 'truncate'] * ]; * ``` * * @return array */ public function getDirectives(); /** * Register cond...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
bitpressio/blade-extensions
https://github.com/bitpressio/blade-extensions/blob/eeb4f3acb7253ee28302530c0bd25c5113248507/src/Console/Commands/BladeExtensionMakeCommand.php
src/Console/Commands/BladeExtensionMakeCommand.php
<?php namespace BitPress\BladeExtension\Console\Commands; use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; class BladeExtensionMakeCommand extends GeneratorCommand { /** * The console command name. * * @var string */ protected $name = 'make:blade'; /** * The ...
php
MIT
eeb4f3acb7253ee28302530c0bd25c5113248507
2026-01-05T05:08:49.763946Z
false
crazybooot/base64-validation
https://github.com/crazybooot/base64-validation/blob/6e5290c20e99735f0228fcde7e81d2597191b9d5/src/Validators/Base64Validator.php
src/Validators/Base64Validator.php
<?php declare(strict_types = 1); namespace Crazybooot\Base64Validation\Validators; use Illuminate\Contracts\Validation\Validator; use Illuminate\Validation\Concerns\ValidatesAttributes; use Symfony\Component\HttpFoundation\File\File; use function base64_decode; use function explode; use function file_put_contents; us...
php
MIT
6e5290c20e99735f0228fcde7e81d2597191b9d5
2026-01-05T05:09:03.351722Z
false
crazybooot/base64-validation
https://github.com/crazybooot/base64-validation/blob/6e5290c20e99735f0228fcde7e81d2597191b9d5/src/Providers/ServiceProvider.php
src/Providers/ServiceProvider.php
<?php declare(strict_types = 1); namespace Crazybooot\Base64Validation\Providers; use Illuminate\Support\Facades\Validator; use Illuminate\Support\ServiceProvider as BaseServiceProvider; use function config; use function config_path; use function implode; use function trans; /** * Class QueueStatsServiceProvider *...
php
MIT
6e5290c20e99735f0228fcde7e81d2597191b9d5
2026-01-05T05:09:03.351722Z
false
crazybooot/base64-validation
https://github.com/crazybooot/base64-validation/blob/6e5290c20e99735f0228fcde7e81d2597191b9d5/config/base64validation.php
config/base64validation.php
<?php declare(strict_types = 1); return [ /* |-------------------------------------------------------------------------- | Replace rule validation message |-------------------------------------------------------------------------- | | If set true will be used validation messages for standard ...
php
MIT
6e5290c20e99735f0228fcde7e81d2597191b9d5
2026-01-05T05:09:03.351722Z
false
ferranfg/midjourney-discord-api-php
https://github.com/ferranfg/midjourney-discord-api-php/blob/65ec41a7cced09be0ae1e2264ec9f85c19087bf7/demo.php
demo.php
<?php include 'vendor/autoload.php'; use Ferranfg\MidjourneyPhp\Midjourney; $discord_channel_id = ''; $discord_user_token = ''; $midjourney = new Midjourney($discord_channel_id, $discord_user_token); // It takes about 1 minue to generate and upscale an image $message = $midjourney->generate('A cat riding a horse -...
php
MIT
65ec41a7cced09be0ae1e2264ec9f85c19087bf7
2026-01-05T05:09:09.240988Z
false
ferranfg/midjourney-discord-api-php
https://github.com/ferranfg/midjourney-discord-api-php/blob/65ec41a7cced09be0ae1e2264ec9f85c19087bf7/src/Midjourney.php
src/Midjourney.php
<?php namespace Ferranfg\MidjourneyPhp; use Exception; use GuzzleHttp\Client; class Midjourney { private const API_URL = 'https://discord.com/api/v9'; protected const APPLICATION_ID = '936929561302675456'; protected const DATA_ID = '938956540159881230'; protected const DATA_VERSION = '11668471142...
php
MIT
65ec41a7cced09be0ae1e2264ec9f85c19087bf7
2026-01-05T05:09:09.240988Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/src/Rct567/DomQuery/DomQueryNodes.php
src/Rct567/DomQuery/DomQueryNodes.php
<?php namespace Rct567\DomQuery; /** * Class DomQueryNodes * * @property string $tagName * @property string $nodeName * @property string $nodeValue * @property string $outerHTML * * @method string getAttribute(string $name) * * @package Rct567\DomQuery */ class DomQueryNodes implements \Countable, \Iterato...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/src/Rct567/DomQuery/DomQuery.php
src/Rct567/DomQuery/DomQuery.php
<?php namespace Rct567\DomQuery; /** * Class DomQuery * * @package Rct567\DomQuery */ class DomQuery extends DomQueryNodes { /** * Node data * * @var array[] */ private static $node_data = array(); /** * Get the combined text contents of each element in the set of matched ele...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
true
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/src/Rct567/DomQuery/CssToXpath.php
src/Rct567/DomQuery/CssToXpath.php
<?php namespace Rct567\DomQuery; /** * Class CssToXpath */ class CssToXpath { /** * Css selector to xpath cache * * @var array<string, string> */ private static $xpath_cache = array(); /** * Transform CSS selector expression to XPath * * @param string $path css selec...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQueryManipulationTest.php
tests/Rct567/DomQuery/Tests/DomQueryManipulationTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; class DomQueryManipulationTest extends \PHPUnit\Framework\TestCase { /* * Test wrap all */ public function testWrapAll() { $dom = DomQuery::create('<html><div class="container">'. '<div class="inner">Hello...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQueryTraversingMiscellaneousTest.php
tests/Rct567/DomQuery/Tests/DomQueryTraversingMiscellaneousTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; class DomQueryTraversingMiscellaneousTest extends \PHPUnit\Framework\TestCase { /* * Test add using selector */ public function testAddWithSelector() { $dom = new DomQuery('<a>1</a><span>2</span>'); $dom->find(...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQuerySelectorsTest.php
tests/Rct567/DomQuery/Tests/DomQuerySelectorsTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; use Rct567\DomQuery\CssToXpath; class DomQuerySelectorsTest extends \PHPUnit\Framework\TestCase { /* * Test css to xpath conversion */ public function testCssToXpath() { $css_to_xpath = array( 'a' => '//a',...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQueryTraversingFilterTest.php
tests/Rct567/DomQuery/Tests/DomQueryTraversingFilterTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; class DomQueryTraversingFilterTest extends \PHPUnit\Framework\TestCase { /* * Test is */ public function testIs() { $dom = new DomQuery('<a>hai</a> <a></a> <a id="mmm"></a> <a class="x"></a> <a class="xpp"></a> <header...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQueryTraversingTreeTest.php
tests/Rct567/DomQuery/Tests/DomQueryTraversingTreeTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; class DomQueryTraversingTreeTest extends \PHPUnit\Framework\TestCase { /* * Test find */ public function testFindWithSelection() { $dom = new DomQuery('<a>1</a><a>2</a><a id="last">3</a>'); $this->assertEquals(...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false
Rct567/DomQuery
https://github.com/Rct567/DomQuery/blob/4bc72c3da2e82eb7c08fa30582f71e91843423df/tests/Rct567/DomQuery/Tests/DomQueryAttributesTest.php
tests/Rct567/DomQuery/Tests/DomQueryAttributesTest.php
<?php namespace Rct567\DomQuery\Tests; use Rct567\DomQuery\DomQuery; class DomQueryAttributesTest extends \PHPUnit\Framework\TestCase { /* * Test get attribute value */ public function testGetAttributeValue() { $this->assertEquals('hello', DomQuery::create('<a title="hello"></a>')->attr...
php
MIT
4bc72c3da2e82eb7c08fa30582f71e91843423df
2026-01-05T05:09:18.310463Z
false