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 |
|---|---|---|---|---|---|---|---|---|
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Support/Traits/AggregationTrait.php | src/Support/Traits/AggregationTrait.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Support/Traits/WithPipeArgs.php | src/Support/Traits/WithPipeArgs.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Support/Rectors/ToInternalExceptionRector.php | src/Support/Rectors/ToInternalExceptionRector.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Support/Rectors/HydratePipeFuncCallToStaticCallRector.php | src/Support/Rectors/HydratePipeFuncCallToStaticCallRector.php | <?php
/** @noinspection PhpClassNamingConventionInspection */
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Contracts/CollectorContract.php | src/Contracts/CollectorContract.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Contracts/ExceptionAwareContract.php | src/Contracts/ExceptionAwareContract.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Contracts/ThrowableContract.php | src/Contracts/ThrowableContract.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Contracts/ChannelContract.php | src/Contracts/ChannelContract.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Facades/ExceptionNotify.php | src/Facades/ExceptionNotify.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/AddKeywordChorePipe.php | src/Pipes/AddKeywordChorePipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/FixPrettyJsonPipe.php | src/Pipes/FixPrettyJsonPipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/AddChorePipe.php | src/Pipes/AddChorePipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/SprintfHtmlPipe.php | src/Pipes/SprintfHtmlPipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/SprintfPipe.php | src/Pipes/SprintfPipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/LimitLengthPipe.php | src/Pipes/LimitLengthPipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Pipes/SprintfMarkdownPipe.php | src/Pipes/SprintfMarkdownPipe.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Commands/TestCommand.php | src/Commands/TestCommand.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Commands/Concerns/Configureable.php | src/Commands/Concerns/Configureable.php | <?php
/** @noinspection MethodVisibilityInspection */
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Events/ReportedEvent.php | src/Events/ReportedEvent.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/src/Events/ReportingEvent.php | src/Events/ReportingEvent.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Pest.php | tests/Pest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/TestCase.php | tests/TestCase.php | <?php
/** @noinspection EfferentObjectCouplingInspection */
/** @noinspection PhpMissingParentCallCommonInspection */
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with th... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/ExceptionNotifyServiceProviderTest.php | tests/ExceptionNotifyServiceProviderTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Faker.php | tests/Faker.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/ExceptionNotifyManagerTest.php | tests/ExceptionNotifyManagerTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/FeatureTest.php | tests/FeatureTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Collectors/CollectorTest.php | tests/Collectors/CollectorTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Mail/ReportExceptionMailTest.php | tests/Mail/ReportExceptionMailTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/AbstractChannelTest.php | tests/Channels/AbstractChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/DumpChannelTest.php | tests/Channels/DumpChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/NotifyChannelTest.php | tests/Channels/NotifyChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/LogChannelTest.php | tests/Channels/LogChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/ChannelTest.php | tests/Channels/ChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/MailChannelTest.php | tests/Channels/MailChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Channels/StackChannelTest.php | tests/Channels/StackChannelTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Fixtures/MailableExtender.php | tests/Fixtures/MailableExtender.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
namespace Guanguans\Laravel... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Support/HeplersTest.php | tests/Support/HeplersTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Support/JsonFixerTest.php | tests/Support/JsonFixerTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Support/ExceptionContextTest.php | tests/Support/ExceptionContextTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Support/UtilsTest.php | tests/Support/UtilsTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Datasets/InvalidJsons.php | tests/Datasets/InvalidJsons.php | <?php
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-exception-notify
*/
dataset('invalid jsons', [
... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/tests/Commands/TestCommandTest.php | tests/Commands/TestCommandTest.php | <?php
/** @noinspection AnonymousFunctionStaticInspection */
/** @noinspection NullPointerExceptionInspection */
/** @noinspection PhpInternalEntityUsedInspection */
/** @noinspection PhpUnhandledExceptionInspection */
/** @noinspection PhpVoidFunctionResultUsedInspection */
/** @noinspection StaticClosureCanBeUsedIns... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
guanguans/laravel-exception-notify | https://github.com/guanguans/laravel-exception-notify/blob/20c4ad5a0910902e18aa4bbcc1e94357da030e32/config/exception-notify.php | config/exception-notify.php | <?php
/** @noinspection PhpUnusedAliasInspection */
declare(strict_types=1);
/**
* Copyright (c) 2021-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/laravel-ex... | php | MIT | 20c4ad5a0910902e18aa4bbcc1e94357da030e32 | 2026-01-05T04:37:11.584080Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/ServiceProvider.php | src/ServiceProvider.php | <?php
namespace Melihovv\LaravelPackageGenerator;
use Melihovv\LaravelPackageGenerator\Commands\PackageNew;
use Melihovv\LaravelPackageGenerator\Commands\PackageRemove;
class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
const CONFIG_PATH = __DIR__.'/../config/package-generator.php';
public ... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Exceptions/RuntimeException.php | src/Exceptions/RuntimeException.php | <?php
namespace Melihovv\LaravelPackageGenerator\Exceptions;
class RuntimeException extends \RuntimeException
{
/**
* @param string $command
* @param int $exitStatusCode
* @param int $code
* @param \Exception|\Throwable|null $previous
* @return static
*/
public static function co... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/PackageNew.php | src/Commands/PackageNew.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands;
use Exception;
use Illuminate\Console\Command;
use Melihovv\LaravelPackageGenerator\Commands\Traits\ChangesComposerJson;
use Melihovv\LaravelPackageGenerator\Commands\Traits\CopiesSkeleton;
use Melihovv\LaravelPackageGenerator\Commands\Traits\InteractsWithCom... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/PackageRemove.php | src/Commands/PackageRemove.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands;
use Exception;
use Illuminate\Console\Command;
use Melihovv\LaravelPackageGenerator\Commands\Traits\ChangesComposerJson;
use Melihovv\LaravelPackageGenerator\Commands\Traits\InteractsWithComposer;
use Melihovv\LaravelPackageGenerator\Commands\Traits\Interacts... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/ManipulatesPackageFolder.php | src/Commands/Traits/ManipulatesPackageFolder.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Illuminate\Support\Facades\File;
use Melihovv\LaravelPackageGenerator\Exceptions\RuntimeException;
trait ManipulatesPackageFolder
{
/**
* Create package folder.
*
* @param string $packagePath
*
* @throws RuntimeExcepti... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/InteractsWithUser.php | src/Commands/Traits/InteractsWithUser.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Illuminate\Support\Str;
trait InteractsWithUser
{
/**
* Get vendor part of the namespace part.
*
* @param string $default
*
* @return string
*/
protected function getVendor($default = '')
{
$vendor... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/ChangesComposerJson.php | src/Commands/Traits/ChangesComposerJson.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\File;
use Melihovv\LaravelPackageGenerator\Exceptions\RuntimeException;
trait ChangesComposerJson
{
/**
* Register package i... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/InteractsWithComposer.php | src/Commands/Traits/InteractsWithComposer.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Melihovv\LaravelPackageGenerator\Exceptions\RuntimeException;
trait InteractsWithComposer
{
/**
* Run "composer dump-autoload".
*/
protected function composerDumpAutoload()
{
$this->composerRunCommand('composer dump-a... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/InteractsWithGit.php | src/Commands/Traits/InteractsWithGit.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Illuminate\Support\Facades\File;
use Melihovv\LaravelPackageGenerator\Exceptions\RuntimeException;
trait InteractsWithGit
{
/**
* Clone repo.
*
* @param $url
* @param $dest
* @param $branch
*
* @throws Runtim... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/src/Commands/Traits/CopiesSkeleton.php | src/Commands/Traits/CopiesSkeleton.php | <?php
namespace Melihovv\LaravelPackageGenerator\Commands\Traits;
use Exception;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
use Illuminate\View\Engines\PhpEngine;
use Melihovv\LaravelPackageGenerator\Exceptions\RuntimeException;
trait CopiesSkeleton
{
use InteractsWithUser;
protected $... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/config/package-generator.php | config/package-generator.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Custom skeleton directory path
|--------------------------------------------------------------------------
|
| This value allows to override default package skeleton.
| Relative to base project ... | php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
melihovv/laravel-package-generator | https://github.com/melihovv/laravel-package-generator/blob/1de707a0bfbae7f9eb9118729319ef404e7363af/stubs/config.php | stubs/config.php | <?php
return [
];
| php | MIT | 1de707a0bfbae7f9eb9118729319ef404e7363af | 2026-01-05T04:37:32.960312Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__ . DIRECTORY_SEPARATOR . 'tests')
->in(__DIR__ . DIRECTORY_SEPARATOR . 'src')
->append(['.php_cs']);
$rules = [
'@Symfony' => true,
'phpdoc_no_empty_return' => false,
'array_syntax' => ['syntax' => 'short'],
'y... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Kernel.php | src/Kernel.php | <?php
declare(strict_types=1);
namespace Web3\Cli;
use Spatie\Once\Cache;
use Symfony\Component\Console\Application;
use Web3\Cli\Support\DB;
/**
* @internal
*/
final class Kernel
{
/**
* The Application name.
*/
private const NAME = 'Web3';
/**
* The Application version.
*/
p... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Exceptions/FriendlyConsoleException.php | src/Exceptions/FriendlyConsoleException.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Exceptions;
use Exception;
use Symfony\Component\Console\Exception\ExceptionInterface;
/**
* @internal
*/
final class FriendlyConsoleException extends Exception implements ExceptionInterface
{
/**
* Creates a new FriendlyConsoleException instance.
*/... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Support/DB.php | src/Support/DB.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Support;
/**
* @internal
*/
final class DB
{
/**
* Boots the Database.
*/
public static function boot(): void
{
if (file_exists(self::getLocation()) === false) {
file_put_contents(self::getLocation(), '{}');
}
}... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Support/View.php | src/Support/View.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Support;
use function Termwind\render;
/**
* @internal
*/
final class View
{
/**
* Renders the given View name.
*
* @param array<string, array<array-key|mixed>|string|\Stringable> $variables
*/
public static function render(string $name... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Contracts/Watcher.php | src/Contracts/Watcher.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Contracts;
/**
* @internal
*/
interface Watcher
{
/**
* Process the information from the Web3 server.
*/
public function watch(): void;
}
| php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Contracts/Command.php | src/Contracts/Command.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Contracts;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
/**
* @internal
*/
interface Command
{
/**
* Configures the Comman... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Contracts/Guard.php | src/Contracts/Guard.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Contracts;
use Web3\Cli\Exceptions\FriendlyConsoleException;
/**
* @internal
*/
interface Guard
{
/**
* Executes the Guard action.
*
* @throws FriendlyConsoleException
*/
public function execute(): void;
}
| php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Guards/KillsExistingServers.php | src/Guards/KillsExistingServers.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Guards;
use Web3\Cli\Contracts\Guard;
use Web3\Cli\Support\DB;
/**
* @internal
*/
final class KillsExistingServers implements Guard
{
/**
* {@inheritDoc}
*/
public function execute(): void
{
if (!is_string($processId = DB::get('server... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Guards/EnsureNpmIsGloballyAvailable.php | src/Guards/EnsureNpmIsGloballyAvailable.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Guards;
use Symfony\Component\Process\Process;
use Web3\Cli\Contracts\Guard;
use Web3\Cli\Exceptions\FriendlyConsoleException;
/**
* @internal
*/
final class EnsureNpmIsGloballyAvailable implements Guard
{
/**
* {@inheritDoc}
*/
public function e... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Factories/CommandFactory.php | src/Factories/CommandFactory.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Factories;
use ReflectionClass;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use function Termwind... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Commands/Serve.php | src/Commands/Serve.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Commands;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Process\... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Watchers/Accounts.php | src/Watchers/Accounts.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Watchers;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console\Output\ConsoleSectionOutput;
use function Termwind\renderUsing;
use Web3\Cli\Contracts\Watcher;
use Web3\Cli\Support\View;
use Web3\Web3;
/**
* @internal
*/
final ... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/src/Watchers/EnsureRunning.php | src/Watchers/EnsureRunning.php | <?php
declare(strict_types=1);
namespace Web3\Cli\Watchers;
use Web3\Cli\Contracts\Watcher;
use Web3\Exceptions\ErrorException;
use Web3\Exceptions\TransporterException;
use Web3\Web3;
/**
* @internal
*/
final class EnsureRunning implements Watcher
{
/**
* Creates a Watcher instance.
*/
public f... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/tests/App.php | tests/App.php | <?php
use Web3\Cli\Kernel;
beforeEach(function () {
$this->app = Kernel::boot();
});
afterEach(function () {
Kernel::terminate();
});
it('has a name', function () {
$name = $this->app->getName();
expect($name)->toBe('Web3');
});
| php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/tests/Support/DB.php | tests/Support/DB.php | <?php
use Web3\Cli\Support\DB;
beforeEach(fn () => DB::boot());
afterEach(fn () => DB::flush());
it('gets nullable values', function () {
expect(DB::get('foo'))->toBeNull();
});
it('sets values', function () {
DB::set('foo', 'bar');
expect(DB::get('foo'))->toBe('bar');
});
| php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/tests/Support/View.php | tests/Support/View.php | <?php
use Symfony\Component\Console\Output\BufferedOutput;
use function Termwind\renderUsing;
use Web3\Cli\Support\View;
beforeEach(function () {
$this->output = new BufferedOutput();
renderUsing($this->output);
});
afterEach(function () {
$this->output->fetch();
renderUsing(null);
});
it('renders... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/resources/views/alert.php | resources/views/alert.php | <div class="ml-2 my-1">
<span class="px-1 bg-<?php echo $bg ?>">
<?php echo strtoupper($title) ?>
</span>
<b class="ml-1"><?php echo $description ?></b>
</div>
| php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
web3-php/cli | https://github.com/web3-php/cli/blob/42e3d822bc2c7312544f0a3ab63e032f52ef6440/resources/views/accounts.php | resources/views/accounts.php | <div class="ml-2">
<div class="text-gray-100">
Block: <?php echo $blockNumber; ?>
<span class="ml-2 text-gray-50">〉</span>
Gas price: <?php echo $gasPrice->toEth(); ?> ETH
</div>
<div class="mt-1">
<span class="w-42 text-gray-50">
<b class="text-gray-100">Account... | php | MIT | 42e3d822bc2c7312544f0a3ab63e032f52ef6440 | 2026-01-05T04:37:38.440313Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans.
*
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenie... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/en/passwords.php | lang/en/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/en/verification.php | lang/en/verification.php | <?php
return [
'verified' => 'Your email has been verified!',
'invalid' => 'The verification link is invalid.',
'already_verified' => 'The email is already verified.',
'user' => 'We can\'t find a user with that e-mail address.',
'sent' => 'We have e-mailed your verification link!',
];
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/en/pagination.php | lang/en/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/en/validation.php | lang/en/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/en/auth.php | lang/en/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/zh-CN/passwords.php | lang/zh-CN/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are giv... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/zh-CN/pagination.php | lang/zh-CN/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagi... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/zh-CN/validation.php | lang/zh-CN/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator c... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/zh-CN/auth.php | lang/zh-CN/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages th... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/es/passwords.php | lang/es/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/es/pagination.php | lang/es/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/es/validation.php | lang/es/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/lang/es/auth.php | lang/es/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/AdminServiceProvider.php | app/Admin/AdminServiceProvider.php | <?php
namespace App\Admin;
use App\Admin\Middlewares\MustBeAdmin;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
class AdminServiceProvider extends ServiceProvider
{
public function boot(): void
{
Route::prefix('admin')
->middleware(['api', 'auth', MustBeAdm... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/Endpoints/ListUsers.php | app/Admin/Endpoints/ListUsers.php | <?php
namespace App\Admin\Endpoints;
use Domain\User\User;
use Illuminate\Http\Request;
class ListUsers
{
public function __invoke(Request $request)
{
return User::filter($request->all())
->latest()
->paginate($request->get('per_page', 20));
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/Endpoints/DeleteUser.php | app/Admin/Endpoints/DeleteUser.php | <?php
namespace App\Admin\Endpoints;
use Domain\User\User;
use Illuminate\Http\Response;
class DeleteUser
{
public function __invoke(User $user): Response
{
$user->delete();
return response()->noContent();
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/Endpoints/UpdateUser.php | app/Admin/Endpoints/UpdateUser.php | <?php
namespace App\Admin\Endpoints;
use Domain\User\User;
use Illuminate\Http\Request;
class UpdateUser
{
public function __invoke(Request $request, User $user): User
{
$user->update($request->all());
return $user;
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/Endpoints/GetUser.php | app/Admin/Endpoints/GetUser.php | <?php
namespace App\Admin\Endpoints;
use Domain\User\User;
class GetUser
{
public function __invoke(User $user): User
{
return $user;
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Admin/Middlewares/MustBeAdmin.php | app/Admin/Middlewares/MustBeAdmin.php | <?php
namespace App\Admin\Middlewares;
use Closure;
use Illuminate\Http\Request;
class MustBeAdmin
{
public function handle(Request $request, Closure $next)
{
\abort_if(\auth()->guest() || ! $request->user()->isAdmin(), 403, '非法访问!');
return $next($request);
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Console/Kernel.php | app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
protected $commands = [
//
];
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Api/ApiServiceProvider.php | app/Api/ApiServiceProvider.php | <?php
namespace App\Api;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
class ApiServiceProvider extends ServiceProvider
{
public function boot(): void
{
Route::prefix('api')
->middleware('api')
->group(__DIR__.'/User/routes.php')
->g... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Api/User/routes.php | app/Api/User/routes.php | <?php
use App\Api\User\Endpoints;
use Illuminate\Support\Facades\Route;
Route::middleware('auth:sanctum')->group(function () {
Route::get('/me', Endpoints\GetMe::class)->name('users.me');
Route::get('/users/{user}', Endpoints\GetUser::class)->name('users.show');
});
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Api/User/Endpoints/GetMe.php | app/Api/User/Endpoints/GetMe.php | <?php
namespace App\Api\User\Endpoints;
use Domain\User\User;
use Illuminate\Http\Request;
class GetMe
{
public function __invoke(Request $request): User
{
return $request->user();
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Api/User/Endpoints/GetUser.php | app/Api/User/Endpoints/GetUser.php | <?php
namespace App\Api\User\Endpoints;
use App\Api\User\Resources\User as UserResource;
use Domain\User\User;
use Illuminate\Http\Request;
class GetUser
{
public function __invoke(Request $request, User $user): UserResource
{
return new UserResource($user);
}
}
| php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
overtrue/laravel-skeleton | https://github.com/overtrue/laravel-skeleton/blob/41a863d8aa9b91ef97387c6e00d04f39fe4778af/app/Api/User/Resources/User.php | app/Api/User/Resources/User.php | <?php
namespace App\Api\User\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class User extends JsonResource
{
/**
* Transform the resource into an array.
*
* @return array<string, mixed>
*/
public function toArray(Request $request): array
{
... | php | MIT | 41a863d8aa9b91ef97387c6e00d04f39fe4778af | 2026-01-05T04:38:02.036813Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.