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
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestCase.php
tests/TestCase.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Schema\Blueprint; use Illuminate\Mail\Events\MessageSending; use Illuminate\Mail\Events\MessageSent; use Illuminate\Support\Facades\Event; use Orchestra\Testbench\TestCase as Orchestr...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Notifications/TestNotification.php
tests/TestSupport/Notifications/TestNotification.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Notifications; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; use Wnx\Sends\Tests\TestSupport\Models\TestModel; class TestNotification extends Notification { public TestModel $user; public fu...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailNewSyntax.php
tests/TestSupport/Mails/TestMailNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Address; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Queue\SerializesModels; class TestMailNewSyntax...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderWrongModelNewSyntax.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderWrongModelNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderWrongModel.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderWrongModel.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; use Wnx\Sends\Tests\TestSupport\Models\TestModelWithoutHasSendsContract; class TestMailWithRelatedModelsHeaderWrongModel extends Mail...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithPublicProperties.php
tests/TestSupport/Mails/TestMailWithPublicProperties.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; use Wnx\Sends\Tests\TestSupport\Models\TestModel; class TestMailWithPublicProperties extends Mailable { use StoreMailables; u...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithMailClassHeaderNewSyntax.php
tests/TestSupport/Mails/TestMailWithMailClassHeaderNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderNewSyntax.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeader.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeader.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; use Wnx\Sends\Tests\TestSupport\Models\TestModel; class TestMailWithRelatedModelsHeader extends Mailable { use StoreMailables; ...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderAndPublicProperties.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderAndPublicProperties.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; use Wnx\Sends\Tests\TestSupport\Models\TestModel; class TestMailWithRelatedModelsHeaderAndPublicProperties extends Mailable { use...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderPassAsArguments.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderPassAsArguments.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; use Wnx\Sends\Tests\TestSupport\Models\AnotherTestModel; use Wnx\Sends\Tests\TestSupport\Models\TestModel; class TestMailWithRelatedM...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMail.php
tests/TestSupport/Mails/TestMail.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; class TestMail extends Mailable { use StoreMailables; use SerializesModels; public function build() { return...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderAndPublicPropertiesNewSyntax.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderAndPublicPropertiesNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithPublicPropertiesNewSyntax.php
tests/TestSupport/Mails/TestMailWithPublicPropertiesNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithMailClassHeader.php
tests/TestSupport/Mails/TestMailWithMailClassHeader.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\StoreMailables; class TestMailWithMailClassHeader extends Mailable { use StoreMailables; use SerializesModels; public function build() ...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderPassAsArgumentsNewSyntax.php
tests/TestSupport/Mails/TestMailWithRelatedModelsHeaderPassAsArgumentsNewSyntax.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Mails; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Mail\Mailables\Content; use Illuminate\Mail\Mailables\Envelope; use Illuminate\Mail\Mailables\Headers; use Illuminate\Queue\SerializesModels; use Wnx\Sends\Support\St...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Models/TestModelWithoutHasSendsContract.php
tests/TestSupport/Models/TestModelWithoutHasSendsContract.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Models; use Illuminate\Database\Eloquent\Model; class TestModelWithoutHasSendsContract extends Model { protected $table = 'test_models'; }
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Models/TestModel.php
tests/TestSupport/Models/TestModel.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Models; use Illuminate\Database\Eloquent\Model; use Wnx\Sends\Contracts\HasSends; use Wnx\Sends\Support\HasSendsTrait; class TestModel extends Model implements HasSends { use HasSendsTrait; }
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/Models/AnotherTestModel.php
tests/TestSupport/Models/AnotherTestModel.php
<?php declare(strict_types=1); namespace Wnx\Sends\Tests\TestSupport\Models; use Illuminate\Database\Eloquent\Model; use Wnx\Sends\Contracts\HasSends; use Wnx\Sends\Support\HasSendsTrait; class AnotherTestModel extends Model implements HasSends { use HasSendsTrait; protected $table = 'test_models'; }
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/TestSupport/resources/views/emails/test.blade.php
tests/TestSupport/resources/views/emails/test.blade.php
<h1>Test</h1> <p>This is a test mail.</p>
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/Listeners/AttachSendUuidListenerTest.php
tests/Listeners/AttachSendUuidListenerTest.php
<?php declare(strict_types=1); use Illuminate\Mail\Events\MessageSending; use function PHPUnit\Framework\assertNotNull; use function PHPUnit\Framework\assertTrue; use Symfony\Component\Mime\Email; use Wnx\Sends\Listeners\AttachSendUuidListener; it('attaches send uuid header', function () { $event = new Message...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/Listeners/StoreOutgoingMailListenerTest.php
tests/Listeners/StoreOutgoingMailListenerTest.php
<?php declare(strict_types=1); use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Notification; use function Pest\Laravel\assertDatabaseCount; use function Pest\Laravel\assertDatabaseHas; use function Pest\Laravel\assertDatabaseMissing; use Wnx\Sends\Tests\TestSupport\Mails\TestMail; use Wnx\Sends\...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/tests/Models/SendTest.php
tests/Models/SendTest.php
<?php declare(strict_types=1); use function PHPUnit\Framework\assertTrue; use Wnx\Sends\Models\Send; use Wnx\Sends\Tests\TestSupport\Mails\TestMailWithMailClassHeader; it('finds send model by given uuid', function () { /** @var Send $send */ $send = Send::factory()->create(); /** @var Send $result */ ...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/config/sends.php
config/sends.php
<?php return [ /* * The fully qualified class name of the `Send` model. */ 'send_model' => \Wnx\Sends\Models\Send::class, /** * If set to true, the content of sent mails is saved to the database. */ 'store_content' => env('SENDS_STORE_CONTENT', false), 'headers' => [ /...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
stefanzweifel/laravel-sends
https://github.com/stefanzweifel/laravel-sends/blob/ec056df71e8cd9cb8218d43c79340bb0e9464a51/database/factories/SendFactory.php
database/factories/SendFactory.php
<?php namespace Wnx\Sends\Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Wnx\Sends\Models\Send; use Wnx\Sends\Tests\TestSupport\Mails\TestMailWithMailClassHeader; class SendFactory extends Factory { protected $model = Send::class; public function definition() { retur...
php
MIT
ec056df71e8cd9cb8218d43c79340bb0e9464a51
2026-01-05T02:21:26.758052Z
false
overtrue/package-builder
https://github.com/overtrue/package-builder/blob/f36992cd38fae1dc169ff83a228c0e3d52626336/src/Application.php
src/Application.php
<?php /* * This file is part of the overtrue/package-builder. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Overtrue\PackageBuilder; use Overtrue\PackageBuilder\Commands\BuildCommand; use Symfony\Co...
php
MIT
f36992cd38fae1dc169ff83a228c0e3d52626336
2026-01-05T02:21:16.794042Z
false
overtrue/package-builder
https://github.com/overtrue/package-builder/blob/f36992cd38fae1dc169ff83a228c0e3d52626336/src/Commands/BuildCommand.php
src/Commands/BuildCommand.php
<?php /* * This file is part of the overtrue/package-builder. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Overtrue\PackageBuilder\Commands; use Symfony\Component\Console\Command\Command; use Symfo...
php
MIT
f36992cd38fae1dc169ff83a228c0e3d52626336
2026-01-05T02:21:16.794042Z
false
overtrue/package-builder
https://github.com/overtrue/package-builder/blob/f36992cd38fae1dc169ff83a228c0e3d52626336/tests/bootstrap.php
tests/bootstrap.php
<?php /* * This file is part of the overtrue/package-builder. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ define('TEST_TEMP_DIR', 'tests/Temp');
php
MIT
f36992cd38fae1dc169ff83a228c0e3d52626336
2026-01-05T02:21:16.794042Z
false
overtrue/package-builder
https://github.com/overtrue/package-builder/blob/f36992cd38fae1dc169ff83a228c0e3d52626336/tests/Commands/BuildCommandTest.php
tests/Commands/BuildCommandTest.php
<?php /* * This file is part of the overtrue/package-builder. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Overtrue\Tests\Commands; use Overtrue\PackageBuilder\Application; use PHPUnit\Framework\Te...
php
MIT
f36992cd38fae1dc169ff83a228c0e3d52626336
2026-01-05T02:21:16.794042Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/phpunit.php
phpunit.php
<?php error_reporting(E_ALL); $autoloader = __DIR__ . '/vendor/autoload.php'; if (! file_exists($autoloader)) { echo "Composer autoloader not found: $autoloader" . PHP_EOL; echo "Please issue 'composer install' and try again." . PHP_EOL; exit(1); } require $autoloader;
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Reflector.php
src/Reflector.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionClass; use ReflectionParameter; use ReflectionNamedType; class Reflector { protected array $actionParameters = []; protected array ...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Dumper.php
src/Dumper.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionParameter; class Dumper { public function __construct( protected Config $config, protected Reflector $reflector, ...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Creator.php
src/Creator.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; class Creator { public function __construct( protected Config $config, ) { } public function create(string $verb, string $path, st...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Route.php
src/Route.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use JsonSerializable; use pmjones\ThrowableProperties; use Throwable; /** * @property-read string $class * @property-read string $method * @property-re...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Action.php
src/Action.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; class Action { public function __construct( protected string $class, protected array $requiredParameters, protected array $opti...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Helper.php
src/Helper.php
<?php declare(strict_types=1); namespace AutoRoute; class Helper { public function __construct(protected Generator $generator) { } public function __invoke(string $class, mixed ...$values) : string { return $this->generator->generate($class, ...$values); } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/AutoRoute.php
src/AutoRoute.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use Psr\Log\LoggerInterface; class AutoRoute { protected ?Actions $actions = null; protected Config $config; protected ?Creator $creator = n...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Actions.php
src/Actions.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use DirectoryIterator; use RecursiveDirectoryIterator; use RecursiveIteratorIterator; use RecursiveRegexIterator; use RegexIterator; class Actions { p...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Reverse.php
src/Reverse.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionParameter; /** * @property-read string $class * @property-read string $verb * @property-read string $path * @property-read array $parame...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Config.php
src/Config.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; /** * @property-read string $namespace * @property-read int $namespaceLen * @property-read string $directory * @property-read string $baseUrl * @prope...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Router.php
src/Router.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use Psr\Log\LoggerInterface; use ReflectionParameter; use Throwable; class Router { protected Action $action; protected array $arguments = []; ...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Filter.php
src/Filter.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionParameter; class Filter { public function __construct(protected Reflector $reflector) { } public function parameter(Reflect...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Logger.php
src/Logger.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use Psr\Log\AbstractLogger; use Stringable; class Logger extends AbstractLogger { protected array $messages = []; public function log( $l...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Generator.php
src/Generator.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionParameter; class Generator { public function __construct( protected Actions $actions, protected Filter $filter, ) { ...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Reverser.php
src/Reverser.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute; use ReflectionParameter; use ReflectionNamedType; class Reverser { protected string $currClass; protected string $prevClass; protected array...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Exception/NotFound.php
src/Exception/NotFound.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute\Exception; class NotFound extends Exception { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Exception/Exception.php
src/Exception/Exception.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute\Exception; abstract class Exception extends \Exception { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Exception/MethodNotAllowed.php
src/Exception/MethodNotAllowed.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute\Exception; class MethodNotAllowed extends Exception { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Exception/InvalidArgument.php
src/Exception/InvalidArgument.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute\Exception; class InvalidArgument extends Exception { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/src/Exception/InvalidNamespace.php
src/Exception/InvalidNamespace.php
<?php /** * * This file is part of AutoRoute for PHP. * * @license http://opensource.org/licenses/MIT MIT * */ declare(strict_types=1); namespace AutoRoute\Exception; class InvalidNamespace extends Exception { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/DumperTest.php
tests/DumperTest.php
<?php declare(strict_types=1); namespace AutoRoute; class DumperTest extends \PHPUnit\Framework\TestCase { public function testDumpRoutes() { $autoRoute = new AutoRoute( namespace: 'AutoRoute\\Http', directory: __DIR__ . DIRECTORY_SEPARATOR . 'Http', baseUrl: '/api/...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/RouterTest.php
tests/RouterTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\Http\FooItem\Add\GetFooItemAdd; use AutoRoute\Http\FooItem\Add\HeadFooItemAdd; use AutoRoute\Http\FooItem\Edit\GetFooItemEdit; use AutoRoute\Http\FooItem\Extras\GetFooItemExtras; use AutoRoute\Http\FooItem\GetFooItem; use AutoRoute\Http\FooItem\HeadFoo...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/IgnoreTest.php
tests/IgnoreTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\HttpIgnore\Admin\Dashboard\GetAdminDashboard; use AutoRoute\HttpIgnore\FooItem\Add\GetFooItemAdd; use AutoRoute\HttpIgnore\FooItem\Edit\GetFooItemEdit; use AutoRoute\HttpIgnore\FooItem\Extras\GetFooItemExtras; use AutoRoute\HttpIgnore\FooItem\GetFooIte...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/GeneratorTest.php
tests/GeneratorTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\Http\Admin\Dashboard\GetAdminDashboard; use AutoRoute\Http\FooItem\Add\GetFooItemAdd; use AutoRoute\Http\FooItem\Edit\GetFooItemEdit; use AutoRoute\Http\FooItem\Extras\GetFooItemExtras; use AutoRoute\Http\FooItem\GetFooItem; use AutoRoute\Http\FooItem\...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/LoggerTest.php
tests/LoggerTest.php
<?php declare(strict_types=1); namespace AutoRoute; class LoggerTest extends \PHPUnit\Framework\TestCase { public function test() { $logger = new Logger(); $logger->debug('foo'); $expect = ['(debug) foo']; $actual = $logger->getMessages(); $this->assertSame($expect, $ac...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/RouteTest.php
tests/RouteTest.php
<?php declare(strict_types=1); namespace AutoRoute; use LogicException; class RouteTest extends \PHPUnit\Framework\TestCase { public function testAsArray() { $route = new Route( 'FooClass', '__invoke', ['arg0', 'arg1'] ); $expect = [ 'c...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/CreatorTest.php
tests/CreatorTest.php
<?php declare(strict_types=1); namespace AutoRoute; class CreatorTest extends \PHPUnit\Framework\TestCase { public function test() { $autoRoute = new AutoRoute( namespace: 'AutoRoute\\Http', directory: __DIR__ . DIRECTORY_SEPARATOR . 'Http', suffix: 'Action', ...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HelperTest.php
tests/HelperTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\Http\FooItem\Edit\GetFooItemEdit; class HelperTest extends \PHPUnit\Framework\TestCase { protected $generator; protected function setUp() : void { $autoRoute = new AutoRoute( namespace: 'AutoRoute\\Http', d...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/ValuedTest.php
tests/ValuedTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\HttpValued\Admin\Dashboard\GetAdminDashboard; use AutoRoute\HttpValued\FooItem\Add\GetFooItemAdd; use AutoRoute\HttpValued\FooItem\Edit\GetFooItemEdit; use AutoRoute\HttpValued\FooItem\Extras\GetFooItemExtras; use AutoRoute\HttpValued\FooItem\GetFooIte...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/SuffixTest.php
tests/SuffixTest.php
<?php declare(strict_types=1); namespace AutoRoute; use AutoRoute\HttpSuffix\Admin\Dashboard\GetAdminDashboardAction; use AutoRoute\HttpSuffix\FooItem\Add\GetFooItemAddAction; use AutoRoute\HttpSuffix\FooItem\Edit\GetFooItemEditAction; use AutoRoute\HttpSuffix\FooItem\Extras\GetFooItemExtrasAction; use AutoRoute\Http...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/ReflectorTest.php
tests/ReflectorTest.php
<?php declare(strict_types=1); namespace AutoRoute; class ReflectorTest extends \PHPUnit\Framework\TestCase { public function test() { $reflector = new Reflector(new Config( namespace: 'AutoRoute\\Http', directory: __DIR__ . DIRECTORY_SEPARATOR . 'Http', )); $t...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Get.php
tests/HttpValued/Get.php
<?php namespace AutoRoute\HttpValued; class Get { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItems/GetFooItems.php
tests/HttpValued/FooItems/GetFooItems.php
<?php namespace AutoRoute\HttpValued\FooItems; class GetFooItems { public function __invoke(int $page = 1) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItems/Archive/GetFooItemsArchive.php
tests/HttpValued/FooItems/Archive/GetFooItemsArchive.php
<?php namespace AutoRoute\HttpValued\FooItems\Archive; use AutoRoute\Value\Ymd; class GetFooItemsArchive { public function __invoke(Ymd $ymd) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Admin/Dashboard/GetAdminDashboard.php
tests/HttpValued/Admin/Dashboard/GetAdminDashboard.php
<?php namespace AutoRoute\HttpValued\Admin\Dashboard; class GetAdminDashboard { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Repo/GetRepo.php
tests/HttpValued/Repo/GetRepo.php
<?php namespace AutoRoute\HttpValued\Repo; use AutoRoute\Value\OwnerRepo; class GetRepo { public function __invoke(OwnerRepo $ownerRepo) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Repo/Issue/GetRepoIssue.php
tests/HttpValued/Repo/Issue/GetRepoIssue.php
<?php namespace AutoRoute\HttpValued\Repo\Issue; use AutoRoute\Value\OwnerRepo; class GetRepoIssue { public function __invoke(OwnerRepo $ownerRepo, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Repo/Issue/Comment/GetRepoIssueComment.php
tests/HttpValued/Repo/Issue/Comment/GetRepoIssueComment.php
<?php namespace AutoRoute\HttpValued\Repo\Issue\Comment; use AutoRoute\Value\OwnerRepo; class GetRepoIssueComment { public function __invoke(OwnerRepo $ownerRepo, int $issueNum, int $commentNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
tests/HttpValued/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
<?php namespace AutoRoute\HttpValued\Repo\Issue\Comment\Add; use AutoRoute\Value\OwnerRepo; class GetRepoIssueCommentAdd { public function __invoke(OwnerRepo $ownerRepo, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/DeleteFooItem.php
tests/HttpValued/FooItem/DeleteFooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; use AutoRoute\Value\Id; class DeleteFooItem extends FooItem { public function __invoke(Id $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/HeadFooItem.php
tests/HttpValued/FooItem/HeadFooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; use AutoRoute\Value\Id; class HeadFooItem extends FooItem { public function __invoke(Id $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/PostFooItem.php
tests/HttpValued/FooItem/PostFooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; class PostFooItem extends FooItem { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/FooItem.php
tests/HttpValued/FooItem/FooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; abstract class FooItem { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/GetFooItem.php
tests/HttpValued/FooItem/GetFooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; use AutoRoute\Value\Id; class GetFooItem extends FooItem { public function __invoke(Id $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/PatchFooItem.php
tests/HttpValued/FooItem/PatchFooItem.php
<?php namespace AutoRoute\HttpValued\FooItem; use AutoRoute\Value\Id; class PatchFooItem extends FooItem { public function __invoke(Id $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/Add/GetFooItemAdd.php
tests/HttpValued/FooItem/Add/GetFooItemAdd.php
<?php namespace AutoRoute\HttpValued\FooItem\Add; class GetFooItemAdd { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/Add/HeadFooItemAdd.php
tests/HttpValued/FooItem/Add/HeadFooItemAdd.php
<?php namespace AutoRoute\HttpValued\FooItem\Add; class HeadFooItemAdd { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/Variadic/GetFooItemVariadic.php
tests/HttpValued/FooItem/Variadic/GetFooItemVariadic.php
<?php namespace AutoRoute\HttpValued\FooItem\Variadic; class GetFooItemVariadic { public function __invoke(int $id, string ...$more) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/Edit/GetFooItemEdit.php
tests/HttpValued/FooItem/Edit/GetFooItemEdit.php
<?php namespace AutoRoute\HttpValued\FooItem\Edit; class GetFooItemEdit { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpValued/FooItem/Extras/GetFooItemExtras.php
tests/HttpValued/FooItem/Extras/GetFooItemExtras.php
<?php namespace AutoRoute\HttpValued\FooItem\Extras; class GetFooItemExtras { public function __invoke(int $id, float $foo, string $bar, $baz, bool $dib, array $gir = []) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Getvariadic.php
tests/Http/Getvariadic.php
<?php namespace AutoRoute\Http; class Getvariadic { public function __invoke(string ...$args) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Getoptional.php
tests/Http/Getoptional.php
<?php namespace AutoRoute\Http; class Getoptional { public function __invoke(string $name = null) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Get.php
tests/Http/Get.php
<?php namespace AutoRoute\Http; class Get { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Getrequired.php
tests/Http/Getrequired.php
<?php namespace AutoRoute\Http; class Getrequired { public function __invoke(string $name) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItems/GetFooItems.php
tests/Http/FooItems/GetFooItems.php
<?php namespace AutoRoute\Http\FooItems; class GetFooItems { public function __invoke(int $page = 1) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItems/Archive/GetFooItemsArchive.php
tests/Http/FooItems/Archive/GetFooItemsArchive.php
<?php namespace AutoRoute\Http\FooItems\Archive; class GetFooItemsArchive { public function __invoke(int $year = null, int $month = null, int $day = null) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Admin/Dashboard/GetAdminDashboard.php
tests/Http/Admin/Dashboard/GetAdminDashboard.php
<?php namespace AutoRoute\Http\Admin\Dashboard; class GetAdminDashboard { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Repo/GetRepo.php
tests/Http/Repo/GetRepo.php
<?php namespace AutoRoute\Http\Repo; class GetRepo { public function __invoke(string $ownerName, string $repoName) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Repo/Issue/GetRepoIssue.php
tests/Http/Repo/Issue/GetRepoIssue.php
<?php namespace AutoRoute\Http\Repo\Issue; class GetRepoIssue { public function __invoke(string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Repo/Issue/Comment/GetRepoIssueComment.php
tests/Http/Repo/Issue/Comment/GetRepoIssueComment.php
<?php namespace AutoRoute\Http\Repo\Issue\Comment; class GetRepoIssueComment { public function __invoke(string $ownerName, string $repoName, int $issueNum, int $commentNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
tests/Http/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
<?php namespace AutoRoute\Http\Repo\Issue\Comment\Add; class GetRepoIssueCommentAdd { public function __invoke(string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/DeleteFooItem.php
tests/Http/FooItem/DeleteFooItem.php
<?php namespace AutoRoute\Http\FooItem; class DeleteFooItem extends FooItem { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/HeadFooItem.php
tests/Http/FooItem/HeadFooItem.php
<?php namespace AutoRoute\Http\FooItem; class HeadFooItem extends FooItem { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/PostFooItem.php
tests/Http/FooItem/PostFooItem.php
<?php namespace AutoRoute\Http\FooItem; class PostFooItem extends FooItem { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/FooItem.php
tests/Http/FooItem/FooItem.php
<?php namespace AutoRoute\Http\FooItem; abstract class FooItem { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/GetFooItem.php
tests/Http/FooItem/GetFooItem.php
<?php namespace AutoRoute\Http\FooItem; class GetFooItem extends FooItem { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/PatchFooItem.php
tests/Http/FooItem/PatchFooItem.php
<?php namespace AutoRoute\Http\FooItem; class PatchFooItem extends FooItem { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/Add/GetFooItemAdd.php
tests/Http/FooItem/Add/GetFooItemAdd.php
<?php namespace AutoRoute\Http\FooItem\Add; class GetFooItemAdd { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/Add/HeadFooItemAdd.php
tests/Http/FooItem/Add/HeadFooItemAdd.php
<?php namespace AutoRoute\Http\FooItem\Add; class HeadFooItemAdd { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/Variadic/GetFooItemVariadic.php
tests/Http/FooItem/Variadic/GetFooItemVariadic.php
<?php namespace AutoRoute\Http\FooItem\Variadic; class GetFooItemVariadic { public function __invoke(int $id, string ...$more) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false