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
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/src/NullableBooleanCaster.php
src/NullableBooleanCaster.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect; use Illuminate\Contracts\Database\Eloquent\CastsAttributes; class NullableBooleanCaster implements CastsAttributes { /** * Transform the attribute from the underlying model values. * * @param \Illuminate\Database\...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/src/ScopeAsSelect.php
src/ScopeAsSelect.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Arr; use Illuminate\Support\Facades\DB; class ScopeAsSelect { /** * Helper method for code completion. * * @param mixed $value * @return \Illumi...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/Video.php
tests/Video.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect\Tests; use Illuminate\Database\Eloquent\Model; class Video extends Model { }
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/create_tables.php
tests/create_tables.php
<?php declare(strict_types=1); use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTables extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::crea...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/ScopeAsSelectTest.php
tests/ScopeAsSelectTest.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect\Tests; class ScopeAsSelectTest extends TestCase { private function prepareFourPosts(): array { $postA = Post::create(['title' => 'foo']); $postB = Post::create(['title' => 'foo']); $postC = Post::create(...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/TestCase.php
tests/TestCase.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect\Tests; use Illuminate\Database\Eloquent\Model; use Orchestra\Testbench\TestCase as OrchestraTestCase; use PDO; use ProtoneMedia\LaravelEloquentScopeAsSelect\ScopeAsSelect; class TestCase extends OrchestraTestCase { public function...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/Comment.php
tests/Comment.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect\Tests; use Illuminate\Database\Eloquent\Model; class Comment extends Model { public function comments() { return $this->hasMany(Comment::class, 'parent_comment_id'); } }
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
protonemedia/laravel-eloquent-scope-as-select
https://github.com/protonemedia/laravel-eloquent-scope-as-select/blob/30a1bbac1f6f6e0a28571160996804ddc1c7d12a/tests/Post.php
tests/Post.php
<?php declare(strict_types=1); namespace ProtoneMedia\LaravelEloquentScopeAsSelect\Tests; use Illuminate\Database\Eloquent\Model; class Post extends Model { public function comments() { return $this->hasMany(Comment::class); } public function scopeTitleIs($query, $title) { $query...
php
MIT
30a1bbac1f6f6e0a28571160996804ddc1c7d12a
2026-01-05T04:32:04.080601Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/index.php
index.php
<?php /** * Retour for Kirby Plugin * * Easily add and manage redirects from the * Kirby Panel and track 404 errors * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://ope...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $finder = PhpCsFixer\Finder::create() ->exclude('node_modules') ->in(__DIR__); $config = new PhpCsFixer\Config(); return $config ->setRules([ '@PSR1' => true, '@PSR2' => true, 'align_multiline_comment' => ['comment_type' => 'phpdocs_like'], 'array_indentation' => true...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/bootstrap.php
src/bootstrap.php
<?php $dir = __DIR__ . '/Retour'; load([ 'Kirby\\Retour\\Config' => $dir . '/Config.php', 'Kirby\\Retour\\LogDisabled' => $dir . '/LogDisabled.php', 'Kirby\\Retour\\Log' => $dir . '/Log.php', 'Kirby\\Retour\\Redirect' => $dir . '/Redirect.php', 'Kirby\\Retour\\Redirects' => $dir . '/Redirects.ph...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/LogDisabled.php
src/Retour/LogDisabled.php
<?php namespace Kirby\Retour; /** * Dummy class for when the log feature is disabled * to safely make calls to the log instance that will * be ignored. * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nic...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Redirects.php
src/Retour/Redirects.php
<?php namespace Kirby\Retour; use Closure; use Kirby\Cms\Collection; use Kirby\Exception\DuplicateException; /** * Redirects * Collection of all configured redirect routes * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kir...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Log.php
src/Retour/Log.php
<?php namespace Kirby\Retour; use DateInterval; use Kirby\Database\Database; use Kirby\Database\Query; use Kirby\Filesystem\Dir; use Kirby\Filesystem\F; use Kirby\Toolkit\Date; /** * Reads and writes to the database log * for all 404 requests or successful redirects * * @package Retour for Kirby * @author ...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Redirect.php
src/Retour/Redirect.php
<?php namespace Kirby\Retour; use Kirby\Exception\InvalidArgumentException; use Kirby\Filesystem\F; use Kirby\Http\Header; use Kirby\Http\Response; use Kirby\Http\Url; use Kirby\Toolkit\Obj; use Kirby\Toolkit\Str; /** * Redirect * Single redirect with its properties * * @package Retour for Kirby * @author ...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Config.php
src/Retour/Config.php
<?php namespace Kirby\Retour; use Kirby\Data\Data; use Kirby\Exception\LogicException; use Throwable; /** * Handles reading from/writing to the config file * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright ...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Retour.php
src/Retour/Retour.php
<?php namespace Kirby\Retour; use Kirby\Cms\App; use Kirby\Http\Route; /** * Main plugin class responsible for general tasks * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license htt...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Timespan.php
src/Retour/Timespan.php
<?php namespace Kirby\Retour; use Kirby\Cms\App; use Kirby\Toolkit\Date; use Kirby\Toolkit\I18n; /** * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.org/licenses...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Panel/RedirectEditDrawer.php
src/Retour/Panel/RedirectEditDrawer.php
<?php namespace Kirby\Retour\Panel; use Kirby\Retour\Redirect; use Kirby\Toolkit\I18n; /** * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.org/licenses/MIT */ c...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Panel/TimespanDialog.php
src/Retour/Panel/TimespanDialog.php
<?php namespace Kirby\Retour\Panel; use DateInterval; use DateTime; use Kirby\Cms\App; use Kirby\Panel\Panel; use Kirby\Retour\Retour; use Kirby\Retour\Timespan; use Kirby\Toolkit\Date; use Kirby\Toolkit\I18n; /** * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://gi...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Panel/RedirectCreateDrawer.php
src/Retour/Panel/RedirectCreateDrawer.php
<?php namespace Kirby\Retour\Panel; use Kirby\Cms\App; use Kirby\Http\Header; use Kirby\Retour\Redirects; use Kirby\Retour\Retour; use Kirby\Toolkit\I18n; /** * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright N...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Panel/FailureResolveDrawer.php
src/Retour/Panel/FailureResolveDrawer.php
<?php namespace Kirby\Retour\Panel; use Kirby\Retour\Retour; use Kirby\Toolkit\I18n; /** * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.org/licenses/MIT */ cla...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/Retour/Panel/View.php
src/Retour/Panel/View.php
<?php namespace Kirby\Retour\Panel; use Kirby\Retour\Retour; use Kirby\Retour\Timespan; use Kirby\Toolkit\I18n; /** * Handles (Fiber) Panel view requests * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Ni...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/i18n.php
src/extensions/i18n.php
<?php use Kirby\Filesystem\Dir; use Kirby\Filesystem\F; $translations = []; $root = dirname(__DIR__) . '/i18n'; foreach (Dir::files($root) as $file) { $locale = basename($file, '.json'); if ($content = F::read($root . '/' . $file)) { $translations[$locale] = json_decode($content, true); } } return $translation...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/hooks.php
src/extensions/hooks.php
<?php namespace Kirby\Retour; use Kirby\Http\Route; use Kirby\Http\Router; use Throwable; /** * Sets up route hook to intercept * 404s for redirecting and logging * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @co...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/drawers.php
src/extensions/drawers.php
<?php use Kirby\Retour\Panel\FailureResolveDrawer; use Kirby\Retour\Panel\RedirectCreateDrawer; use Kirby\Retour\Panel\RedirectEditDrawer; /** * Fiber drawers for all Panel tabs * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/routes.php
src/extensions/routes.php
<?php namespace Kirby\Retour; /** * Sets up priority redirects as routes * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.org/licenses/MIT */ return fn (): a...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/areas.php
src/extensions/areas.php
<?php use Kirby\Panel\Panel; use Kirby\Retour\Panel\View; /** * Sets up Panel area * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.org/licenses/MIT */ retur...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/src/extensions/dialogs.php
src/extensions/dialogs.php
<?php use Kirby\Retour\Panel\TimespanDialog; use Kirby\Retour\Retour; /** * Fiber dialogs for all Panel tabs * * @package Retour for Kirby * @author Nico Hoffmann <nico@getkirby.com> * @link https://github.com/distantnative/retour-for-kirby * @copyright Nico Hoffmann * @license https://opensource.o...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/bootstrap.php
tests/bootstrap.php
<?php error_reporting(E_ALL); ini_set('memory_limit', '512M'); ini_set('display_errors', 'on'); ini_set('display_startup_errors', 'on'); require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/../index.php';
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/RoutesTest.php
tests/Retour/RoutesTest.php
<?php namespace Kirby\Retour; /** * @coversNothing */ class RoutesTest extends TestCase { public function testExtension(): void { $extension = require dirname(__DIR__, 2) . '/src/extensions/routes.php'; $app = $this->kirby->clone([ 'options' => [ 'distantnative.retour.config' => __DIR__ . '/tmp/test.y...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/RetourTest.php
tests/Retour/RetourTest.php
<?php namespace Kirby\Retour; use Kirby\Cms\App; /** * @coversDefaultClass \Kirby\Retour\Retour */ class RetourTest extends TestCase { /** * @covers ::__construct */ public function testConstruct(): void { $app = $this->kirby->clone([ 'options' => [ 'distantnative.retour.config' => __DIR__ . '/fixt...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/TestCase.php
tests/Retour/TestCase.php
<?php namespace Kirby\Retour; use Kirby\Cms\App; use Kirby\Filesystem\Dir; use PHPUnit\Framework\TestCase as BaseTestCase; class TestCase extends BaseTestCase { protected $kirby; protected $tmp = __DIR__ . '/tmp'; public function setUp(): void { $this->kirby = new App([ 'roots' => [ 'index' => $this->t...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/RedirectTest.php
tests/Retour/RedirectTest.php
<?php namespace Kirby\Retour; use Closure; use Kirby\Cms\Page; use Kirby\Exception\InvalidArgumentException; use Kirby\Http\Route; /** * @coversDefaultClass \Kirby\Retour\Redirect */ class RedirectTest extends TestCase { /** * @covers ::__construct */ public function testConstructValidation(): void { $thi...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/TimespanTest.php
tests/Retour/TimespanTest.php
<?php namespace Kirby\Retour; /** * @coversDefaultClass \Kirby\Retour\Timespan */ class TimespanTest extends TestCase { /** * @covers ::label */ public function testLabel(): void { $this->assertSame('1 January 2023', Timespan::label([ 'from' => '2023-01-01', 'to' => '2023-01-01', 'unit' => 'day'...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/LogTest.php
tests/Retour/LogTest.php
<?php namespace Kirby\Retour; use Closure; use Kirby\Filesystem\F; /** * @coversDefaultClass \Kirby\Retour\Log */ class LogTest extends TestCase { protected function log(string|Closure $file = null, array $options = []) { $file ??= __DIR__ . '/tmp/test.sqlite'; $app = $this->kirby->clone([ 'options' =>...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/ConfigTest.php
tests/Retour/ConfigTest.php
<?php namespace Kirby\Retour; /** * @coversDefaultClass \Kirby\Retour\Config */ class ConfigTest extends TestCase { /** * @covers ::__construct * @covers ::data * @covers ::read */ public function testData(): void { $app = $this->kirby->clone([ 'options' => [ 'distantnative.retour.config' => $f...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
distantnative/retour-for-kirby
https://github.com/distantnative/retour-for-kirby/blob/42364a5271732f571dab93be788a9e5b99919448/tests/Retour/RedirectsTest.php
tests/Retour/RedirectsTest.php
<?php namespace Kirby\Retour; use Kirby\Exception\DuplicateException; use Kirby\Exception\InvalidArgumentException; use Kirby\Filesystem\F; /** * @coversDefaultClass \Kirby\Retour\Redirects */ class RedirectsTest extends TestCase { /** * @covers ::create */ public function testCreate(): void { $redirects ...
php
MIT
42364a5271732f571dab93be788a9e5b99919448
2026-01-05T04:32:01.379389Z
false
szepeviktor/waf4wordpress
https://github.com/szepeviktor/waf4wordpress/blob/fcda8fe40c84b67e16c129caa882f15d1a0abe49/src/HttpAnalyzer.php
src/HttpAnalyzer.php
<?php declare(strict_types=1); /** * HTTP request analyzer part of WAF for WordPress. * * @author Viktor Szépe <viktor@szepe.net> * @license https://opensource.org/licenses/MIT MIT * @link https://github.com/szepeviktor/waf4wordpress * * Constants: W4WP_INSTANT * Constants: W4WP_PROXY_HOME_URL * Constant...
php
MIT
fcda8fe40c84b67e16c129caa882f15d1a0abe49
2026-01-05T04:32:11.323828Z
true
szepeviktor/waf4wordpress
https://github.com/szepeviktor/waf4wordpress/blob/fcda8fe40c84b67e16c129caa882f15d1a0abe49/src/CoreEvents.php
src/CoreEvents.php
<?php declare(strict_types=1); /** * Core events specific part of WAF for WordPress. * * @author Viktor Szépe <viktor@szepe.net> * @license https://opensource.org/licenses/MIT MIT * @link https://github.com/szepeviktor/waf4wordpress * * Constants: W4WP_DISABLE_LOGIN * Constants: W4WP_ALLOW_REDIRECT * Con...
php
MIT
fcda8fe40c84b67e16c129caa882f15d1a0abe49
2026-01-05T04:32:11.323828Z
true
szepeviktor/waf4wordpress
https://github.com/szepeviktor/waf4wordpress/blob/fcda8fe40c84b67e16c129caa882f15d1a0abe49/examples/waf4wordpress.php
examples/waf4wordpress.php
<?php /* * Plugin Name: WAF for WordPress (MU) * Plugin URI: https://github.com/szepeviktor/waf4wordpress */ if (!function_exists('add_filter')) { exit; } new SzepeViktor\WordPress\Waf\CoreEvents();
php
MIT
fcda8fe40c84b67e16c129caa882f15d1a0abe49
2026-01-05T04:32:11.323828Z
false
szepeviktor/waf4wordpress
https://github.com/szepeviktor/waf4wordpress/blob/fcda8fe40c84b67e16c129caa882f15d1a0abe49/examples/VivaPaymentsFix.php
examples/VivaPaymentsFix.php
<?php namespace SzepeViktor\WordPress\Waf; /** * Fix Viva Payments webhook request. */ class VivaPaymentsFix { public function __construct() { if (! isset($_SERVER['REQUEST_URI'], $_SERVER['REMOTE_ADDR']) || ! empty($_SERVER['HTTP_USER_AGENT'])) { return; } if (strpos($_...
php
MIT
fcda8fe40c84b67e16c129caa882f15d1a0abe49
2026-01-05T04:32:11.323828Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/RCore.php
src/Kachkaev/PHPR/RCore.php
<?php namespace Kachkaev\PHPR; use Kachkaev\PHPR\Engine\REngineInterface; use Kachkaev\PHPR\Process\RProcessInterface; class RCore { private $rEngine; public function __construct(REngineInterface $rEngine) { $this->rEngine = $rEngine; } public function run($rCode, $resultAsArray ...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/RError.php
src/Kachkaev/PHPR/RError.php
<?php namespace Kachkaev\PHPR; /** * Used to store R error message and its context * (input command, command number and line number) * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" */ class RError { private $inputLineNumber; private $commandNumber; private $command; private $errorMessag...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/ROutputParser.php
src/Kachkaev/PHPR/ROutputParser.php
<?php namespace Kachkaev\PHPR; /** * Helper class used to parse some common R output into * sensible PHP variables * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" * */ class ROutputParser { /** * "[1] 42" * ↓ * 42 * * @param string $output * * @return numeric...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Process/AbstractRProcess.php
src/Kachkaev/PHPR/Process/AbstractRProcess.php
<?php namespace Kachkaev\PHPR\Process; use Kachkaev\PHPR\Exception\RErrorsException; use Kachkaev\PHPR\Exception\RProcessException; abstract class AbstractRProcess implements RProcessInterface { protected $inputLineCount = 0; protected $inputLog = array(); protected $outputLog = array(); protected $er...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Process/CommandLineRProcess.php
src/Kachkaev/PHPR/Process/CommandLineRProcess.php
<?php namespace Kachkaev\PHPR\Process; use Kachkaev\PHPR\RError; use Kachkaev\PHPR\Exception\RProcessException; use Kachkaev\PHPR\Exception\IncompleteRCommandException; class CommandLineRProcess extends AbstractRProcess { private $rCommand; private $process; private $pipes; private $sleepTimeBetween...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Process/RProcessInterface.php
src/Kachkaev/PHPR/Process/RProcessInterface.php
<?php namespace Kachkaev\PHPR\Process; use Kachkaev\PHPR\Exception\RProcessException; use Kachkaev\PHPR\Exception\RErrorException; /** * RProcessInterface is used in wrappers for a synchronous R interpreter process * * Input commands are sent using write(). * * It is possible to obtain back the input, the outp...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Exception/IncompleteRCommandException.php
src/Kachkaev/PHPR/Exception/IncompleteRCommandException.php
<?php namespace Kachkaev\PHPR\Exception; /** * To be thrown by R process when a command * written to R input is incomplete, e.g.: "x = 1 + (". * Such situation is critical and forces R process to stop. * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" */ class IncompleteRCommandException extends RProces...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Exception/RProcessException.php
src/Kachkaev/PHPR/Exception/RProcessException.php
<?php namespace Kachkaev\PHPR\Exception; /** * To be thrown by an instance of RProcess when a critical * error occurs (the process can not keep running) or * when the process is misused (e.g. stopped when not running) * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" */ class RProcessException extends R...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Exception/RErrorsException.php
src/Kachkaev/PHPR/Exception/RErrorsException.php
<?php namespace Kachkaev\PHPR\Exception; use Kachkaev\PHPR\RError; /** * R-language-related exception, consisting of one or many instances * of RError. To be thrown by any implementation of RProcessInterface * when it is error-sensitive. * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" */ class RError...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Exception/RException.php
src/Kachkaev/PHPR/Exception/RException.php
<?php namespace Kachkaev\PHPR\Exception; /** * Generalised R-related exception * * @author "Alexander Kachkaev <alexander@kachkaev.ru>" */ class RException extends \Exception { }
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Engine/CommandLineREngine.php
src/Kachkaev/PHPR/Engine/CommandLineREngine.php
<?php namespace Kachkaev\PHPR\Engine; use Kachkaev\PHPR\Process\CommandLineRProcess; class CommandLineREngine extends AbstractREngine { private $rCommand; public function __construct($rCommand) { $this->rCommand = $rCommand; } protected function createProcess() { return new C...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Engine/REngineInterface.php
src/Kachkaev/PHPR/Engine/REngineInterface.php
<?php namespace Kachkaev\PHPR\Engine; use Kachkaev\PHPR\RProcess\RProcessInterface; interface REngineInterface { public function run($rCode, $resultAsArray = false, $isErrorSensitive = false); /** * @param $isErrorSensitive bool sets default error handling strategy. * If tru...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
kachkaev/php-r
https://github.com/kachkaev/php-r/blob/8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d/src/Kachkaev/PHPR/Engine/AbstractREngine.php
src/Kachkaev/PHPR/Engine/AbstractREngine.php
<?php namespace Kachkaev\PHPR\Engine; use Kachkaev\PHPR\RException\RErrorsException; use Kachkaev\PHPR\RException\RProcessException; use Kachkaev\PHPR\RProcess\RProcessInterface; abstract class AbstractREngine implements REngineInterface { /** * @return RProcessInterface */ abstract protected functi...
php
MIT
8aa5bb42e6042cef1a4ab12b63782f4d17ce0f1d
2026-01-05T04:32:27.176654Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Result.php
src/JeremyKendall/Password/Result.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/PasswordValidator.php
src/JeremyKendall/Password/PasswordValidator.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/PasswordValidatorInterface.php
src/JeremyKendall/Password/PasswordValidatorInterface.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/PasswordHashFailureException.php
src/JeremyKendall/Password/PasswordHashFailureException.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Decorator/AbstractDecorator.php
src/JeremyKendall/Password/Decorator/AbstractDecorator.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Decorator/StorageDecorator.php
src/JeremyKendall/Password/Decorator/StorageDecorator.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Decorator/UpgradeDecorator.php
src/JeremyKendall/Password/Decorator/UpgradeDecorator.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Storage/IdentityMissingException.php
src/JeremyKendall/Password/Storage/IdentityMissingException.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/src/JeremyKendall/Password/Storage/StorageInterface.php
src/JeremyKendall/Password/Storage/StorageInterface.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/bootstrap.php
tests/bootstrap.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ error_reporting(-1); in...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/PasswordValidatorTest.php
tests/JeremyKendall/Password/Tests/PasswordValidatorTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/Decorator/StorageDecoratorTest.php
tests/JeremyKendall/Password/Tests/Decorator/StorageDecoratorTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/Decorator/UpgradeDecoratorTest.php
tests/JeremyKendall/Password/Tests/Decorator/UpgradeDecoratorTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/Decorator/AbstractDecoratorTest.php
tests/JeremyKendall/Password/Tests/Decorator/AbstractDecoratorTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/Decorator/IntegrationTest.php
tests/JeremyKendall/Password/Tests/Decorator/IntegrationTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
jeremykendall/password-validator
https://github.com/jeremykendall/password-validator/blob/9f5b2f6fe5f6cef8e27259abc7066cec0174e687/tests/JeremyKendall/Password/Tests/Decorator/KarptoniteRehashUpgradeDecoratorTest.php
tests/JeremyKendall/Password/Tests/Decorator/KarptoniteRehashUpgradeDecoratorTest.php
<?php /** * Password Validator * * @link http://github.com/jeremykendall/password-validator Canonical source repo * @copyright Copyright (c) 2014 Jeremy Kendall (http://about.me/jeremykendall) * @license http://github.com/jeremykendall/password-validator/blob/master/LICENSE MIT */ namespace JeremyKendall...
php
MIT
9f5b2f6fe5f6cef8e27259abc7066cec0174e687
2026-01-05T04:32:32.508222Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Dater.php
src/Dater/Dater.php
<?php namespace Dater; /** * Datetime formats & timezones handler * * @see https://github.com/barbushin/dater * @author Sergey Barbushin http://linkedin.com/in/barbushin * @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @copyright © Sergey Barbushin, 2013. Some rights reserved. * *...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/DataHandler.php
src/Dater/DataHandler.php
<?php namespace Dater; /** * Handle format & timezone of request/response data * * @see https://github.com/barbushin/dater * @author Sergey Barbushin http://linkedin.com/in/barbushin * @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @copyright © Sergey Barbushin, 2013. Some rights re...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale.php
src/Dater/Locale.php
<?php namespace Dater; /** * Specify translations & formats for different locales * * @see https://github.com/barbushin/dater * @author Sergey Barbushin http://linkedin.com/in/barbushin * @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @copyright © Sergey Barbushin, 2013. Some rights...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/TimezoneDetector.php
src/Dater/TimezoneDetector.php
<?php namespace Dater; /** * Detect client timezone by JavaScript * * @see https://github.com/barbushin/dater * @author Sergey Barbushin * @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @copyright © Sergey Barbushin, 2013. Some rights reserved. */ class TimezoneDetector { protect...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Ru.php
src/Dater/Locale/Ru.php
<?php namespace Dater\Locale; use Dater\Dater; class Ru extends \Dater\Locale { protected static $months = array('января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'); protected static $weekDays = array('понедельник', 'вторник', 'среда', 'четверг', 'п...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/EnUs.php
src/Dater/Locale/EnUs.php
<?php namespace Dater\Locale; use Dater\Dater; class EnUs extends \Dater\Locale { protected static $months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); protected static $weekDays = array('Monday', 'Tuesday', 'Wednesday', 'Thursda...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/EnUk.php
src/Dater/Locale/EnUk.php
<?php namespace Dater\Locale; use Dater\Dater; class EnUk extends \Dater\Locale { protected static $months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); protected static $weekDays = array('Monday', 'Tuesday', 'Wednesday', 'Thursda...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Es.php
src/Dater/Locale/Es.php
<?php namespace Dater\Locale; use Dater\Dater; class Es extends \Dater\Locale { protected static $months = array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); protected static $weekDays = array('Lunes', 'Martes', 'Miércoles', 'Jueves',...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Pt.php
src/Dater/Locale/Pt.php
<?php namespace Dater\Locale; use Dater\Dater; class Pt extends \Dater\Locale { protected static $months = array('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'); protected static $weekDays = array('Segunda-feira', 'Terça-feira', 'Quarta-f...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Ua.php
src/Dater/Locale/Ua.php
<?php namespace Dater\Locale; use Dater\Dater; class Ua extends \Dater\Locale { protected static $months = array('січня', 'лютого', 'березня', 'квітня', 'травня', 'червня', 'липня', 'серпня', 'вересня', 'жовтня', 'листопада', 'грудня'); protected static $weekDays = array('понеділок', 'вівторок', 'середа', 'четвер'...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Nb.php
src/Dater/Locale/Nb.php
<?php namespace Dater\Locale; use Dater\Dater; class Nb extends \Dater\Locale { protected static $months = array('Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember'); protected static $weekDays = array('Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fred...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Jp.php
src/Dater/Locale/Jp.php
<?php namespace Dater\Locale; use Dater\Dater; class Jp extends \Dater\Locale { protected static $months = array('1月', '2月', '行進', '4月', '5月', '六月', '7月', '8月', '9月', '10月', '11月', '12月'); protected static $weekDays = array('月曜', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日', '日曜日'); protected static $weekDaysShort = array('...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/En.php
src/Dater/Locale/En.php
<?php namespace Dater\Locale; use Dater\Dater; class En extends \Dater\Locale { protected static $months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); protected static $weekDays = array('Monday', 'Tuesday', 'Wednesday', 'Thursday'...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/De.php
src/Dater/Locale/De.php
<?php namespace Dater\Locale; use Dater\Dater; class De extends \Dater\Locale { protected static $months = array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'); protected static $weekDays = array('Montag', 'Dienstag', 'Mittwoch', 'Donnerstag',...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Tr.php
src/Dater/Locale/Tr.php
<?php namespace Dater\Locale; use Dater\Dater; class Tr extends \Dater\Locale { protected static $months = array('Ocak ayı', 'Şubat ayı', 'Mart', 'Nisan', 'Mayıs ayı', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'); protected static $weekDays = array('Pazartesi', 'Salı', 'Çarşamba', 'Perşembe'...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/src/Dater/Locale/Fr.php
src/Dater/Locale/Fr.php
<?php namespace Dater\Locale; use Dater\Dater; class Fr extends \Dater\Locale { protected static $months = array('Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'); protected static $weekDays = array('Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendr...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/examples/autoload.php
examples/autoload.php
<?php define('DATER_BASE_DIR', dirname(__DIR__) . DIRECTORY_SEPARATOR . 'src'); /** * Register Dater PSR-0 autoloader */ spl_autoload_register(function ($class) { if(strpos($class, 'Dater\\') === 0) { /** @noinspection PhpIncludeInspection */ require_once(DATER_BASE_DIR . DIRECTORY_SEPARATOR . str_replace(arra...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
barbushin/dater
https://github.com/barbushin/dater/blob/423f64587b0ff87ee3b46314f26b4c16e4f8f845/examples/index.php
examples/index.php
<?php require_once(__DIR__ . '/autoload.php'); $dater = new Dater\Dater(new Dater\Locale\En()); echo '<pre>'; echo '<h2>Datetime source types</h2>'; $weekAgoTimestamp = time() - 60 * 60 * 24 * 7; $weekAgoDatetime = date('Y-m-d H:i:s', $weekAgoTimestamp); echo 'Server datetime (default = current): ' . $dater->serverD...
php
MIT
423f64587b0ff87ee3b46314f26b4c16e4f8f845
2026-01-05T04:32:54.776810Z
false
thephpleague/glide-laravel
https://github.com/thephpleague/glide-laravel/blob/b525e33e32940f3b047d6ca357131aba0e973e72/src/Responses/LaravelResponseFactory.php
src/Responses/LaravelResponseFactory.php
<?php namespace League\Glide\Responses; class LaravelResponseFactory extends SymfonyResponseFactory { }
php
MIT
b525e33e32940f3b047d6ca357131aba0e973e72
2026-01-05T04:33:11.727654Z
false
thephpleague/glide-laravel
https://github.com/thephpleague/glide-laravel/blob/b525e33e32940f3b047d6ca357131aba0e973e72/tests/Responses/LaravelResponseFactoryTest.php
tests/Responses/LaravelResponseFactoryTest.php
<?php namespace League\Glide\Responses; use Mockery; class LaravelResponseFactoryTest extends \PHPUnit_Framework_TestCase { public function tearDown() { Mockery::close(); } public function testCreateInstance() { $this->assertInstanceOf( 'League\Glide\Responses\Laravel...
php
MIT
b525e33e32940f3b047d6ca357131aba0e973e72
2026-01-05T04:33:11.727654Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/Envoy.blade.php
Envoy.blade.php
@setup require __DIR__.'/vendor/autoload.php'; $server = "stitcher.io"; $userAndServer = 'forge@'. $server; $repository = "rfc-vote/rfc-vote.git"; $baseDir = "/home/forge/rfc.stitcher.io"; $releasesDir = "{$baseDir}/releases"; $currentDir = "{$baseDir}/current"; $newReleaseName = date('Ymd-His'); $newReleaseDir = "{$r...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/.phpstorm.meta.php
.phpstorm.meta.php
<?php // .phpstorm.meta.php namespace PHPSTORM_META { override(\Laravel\Dusk\Browser::visit(0), type(0)); }
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/de/notifications.php
lang/vendor/backup/de/notifications.php
<?php return [ 'exception_message' => 'Fehlermeldung: :message', 'exception_trace' => 'Fehlerverfolgung: :trace', 'exception_message_title' => 'Fehlermeldung', 'exception_trace_title' => 'Fehlerverfolgung', 'backup_failed_subject' => 'Backup von :application_name konnte nicht erstellt werden', ...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/bn/notifications.php
lang/vendor/backup/bn/notifications.php
<?php return [ 'exception_message' => 'এক্সসেপশন বার্তা: :message', 'exception_trace' => 'এক্সসেপশন ট্রেস: :trace', 'exception_message_title' => 'এক্সসেপশন message', 'exception_trace_title' => 'এক্সসেপশন ট্রেস', 'backup_failed_subject' => ':application_name এর ব্যাকআপ ব্যর্থ হয়েছে।', 'backup_f...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/fi/notifications.php
lang/vendor/backup/fi/notifications.php
<?php return [ 'exception_message' => 'Virheilmoitus: :message', 'exception_trace' => 'Virhe, jäljitys: :trace', 'exception_message_title' => 'Virheilmoitus', 'exception_trace_title' => 'Virheen jäljitys', 'backup_failed_subject' => ':application_name varmuuskopiointi epäonnistui', 'backup_fai...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/tr/notifications.php
lang/vendor/backup/tr/notifications.php
<?php return [ 'exception_message' => 'Hata mesajı: :message', 'exception_trace' => 'Hata izleri: :trace', 'exception_message_title' => 'Hata mesajı', 'exception_trace_title' => 'Hata izleri', 'backup_failed_subject' => 'Yedeklenemedi :application_name', 'backup_failed_body' => 'Önemli: Yedekl...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/he/notifications.php
lang/vendor/backup/he/notifications.php
<?php return [ 'exception_message' => 'הודעת חריגה: :message', 'exception_trace' => 'מעקב חריגה: :trace', 'exception_message_title' => 'הודעת חריגה', 'exception_trace_title' => 'מעקב חריגה', 'backup_failed_subject' => 'כשל בגיבוי של :application_name', 'backup_failed_body' => 'חשוב: אירעה שגיא...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/uk/notifications.php
lang/vendor/backup/uk/notifications.php
<?php return [ 'exception_message' => 'Повідомлення про помилку: :message', 'exception_trace' => 'Деталі помилки: :trace', 'exception_message_title' => 'Повідомлення помилки', 'exception_trace_title' => 'Деталі помилки', 'backup_failed_subject' => 'Не вдалось зробити резервну копію :application_na...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false
rfc-vote/rfc-vote
https://github.com/rfc-vote/rfc-vote/blob/7401f8a456d9586afefd336ea8d045cf6662c26d/lang/vendor/backup/bg/notifications.php
lang/vendor/backup/bg/notifications.php
<?php return [ 'exception_message' => 'Съобщение за изключение: :message', 'exception_trace' => 'Проследяване на изключение: :trace', 'exception_message_title' => 'Съобщение за изключение', 'exception_trace_title' => 'Проследяване на изключение', 'backup_failed_subject' => 'Неуспешно резервно копи...
php
MIT
7401f8a456d9586afefd336ea8d045cf6662c26d
2026-01-05T04:33:15.533043Z
false