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
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/class.php
test/EndToEndTests/class.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php namespace NS1 { interface A {} } namespace NS2 { use NS1\A; interface B extends A {} }...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/static_array.php
test/EndToEndTests/static_array.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php $array = [1, 2, 3]; foreach ($array as $value) { var_dump(ord($value)); } ?> EOF; return [ ...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/class_constant_fetch.php
test/EndToEndTests/class_constant_fetch.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php interface A {} class B implements A { const VAL = 1; } class C implements A { const VAL...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/property_types.php
test/EndToEndTests/property_types.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php namespace Bar; class Foo { /** * @var array */ public $bar = []; public function foo(): ...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/short_circuiting.php
test/EndToEndTests/short_circuiting.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php function foo(int $a) : int { if ($a > 0 && $a < 100) { return $a; } return false; } ?> EOF; ...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/type_assertion.php
test/EndToEndTests/type_assertion.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php interface A { function bar() : int; } interface B { function foo() : string; } function ...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/int.php
test/EndToEndTests/int.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php function foo(int $a) : int { return $a + 1.5; } foo(1); foo(1.0); foo("test"); ?> EOF; retur...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/class_constructor_types.php
test/EndToEndTests/class_constructor_types.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php interface A {} class B implements A { public function __construct(int $value) { } } class C ...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/simpleunions.php
test/EndToEndTests/simpleunions.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php /** * @param string|int $a */ function foo($a) { } foo(1.5); foo(1); foo("a"); foo([1]); ?> EOF...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/float.php
test/EndToEndTests/float.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php function foo(float $a) : float { return $a + 1; } foo(1); foo(1.0); foo("test"); ?> EOF; ret...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/branch_detection.php
test/EndToEndTests/branch_detection.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php function foo(int $a) : bool { $return = false; if ($a > 0) { $return = true; }...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/test/EndToEndTests/return_info_from_methods.php
test/EndToEndTests/return_info_from_methods.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ $code = <<<'EOF' <?php interface A {} class B implements A { /** * @return int */ public function foo()...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Command.php
lib/Tuli/Command.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli; use PHPCfg\Parser as CFGParser; use PHPCfg\Traverser; use PHPCfg\Visitor; use PhpParser\ParserFactory; u...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Rule.php
lib/Tuli/Rule.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli; use PHPTypes\State; interface Rule { /** * @param State $state * * @return arra...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Rule/ReturnType.php
lib/Tuli/Rule/ReturnType.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Rule; use PHPCfg\Block; use PHPCfg\Op; use PHPTypes\State; use PHPTypes\Type; use Tuli\Rule; class Retur...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Rule/ArgumentType.php
lib/Tuli/Rule/ArgumentType.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Rule; use PHPCfg\Op; use PHPCfg\Operand; use PHPTypes\State; use PHPTypes\Type; use Tuli\Rule; class Arg...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Rule/ConstructorType.php
lib/Tuli/Rule/ConstructorType.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Rule; use PHPCfg\Op; use PHPCfg\Operand; use PHPTypes\State; use PHPTypes\Type; class ConstructorType ex...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Command/PrintVars.php
lib/Tuli/Command/PrintVars.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Command; use PHPCfg\Printer; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Co...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Command/Analyze.php
lib/Tuli/Command/Analyze.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Command; use PHPCfg\Op; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
ircmaxell/Tuli
https://github.com/ircmaxell/Tuli/blob/66b451f01ddd2dc3ed254b3514575a693ff9818a/lib/Tuli/Command/PrintCFG.php
lib/Tuli/Command/PrintCFG.php
<?php /* * This file is part of Tuli, a static analyzer for PHP * * @copyright 2015 Anthony Ferrara. All rights reserved * @license MIT See LICENSE at the root of the project for more info */ namespace Tuli\Command; use PHPCfg\Printer; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Co...
php
MIT
66b451f01ddd2dc3ed254b3514575a693ff9818a
2026-01-05T03:53:28.559560Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/routes.php
routes.php
<?php /** * Your package routes would go here */
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/POExtractor.php
src/POExtractor.php
<?php namespace Tio\Laravel; use Gettext\Translations; class POExtractor { public function call($string) { $translations = Translations::fromPoString($string); $return = []; foreach ($translations as $translation) { $return[$translation->getContext()] = $translation->get...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/GettextTranslationSaver.php
src/GettextTranslationSaver.php
<?php namespace Tio\Laravel; use Illuminate\Contracts\Foundation\Application; use Illuminate\Filesystem\Filesystem; use Gettext\Translations; class GettextTranslationSaver { /** * @var Application */ private $application; /** * @var Filesystem */ private $filesystem; private ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/SourcePOGenerator.php
src/SourcePOGenerator.php
<?php namespace Tio\Laravel; use Gettext\Generators\Po; use Gettext\Translation; use Gettext\Translations; use Illuminate\Contracts\Foundation\Application; use Illuminate\Support\Collection; class SourcePOGenerator { /** * @var Application */ private $application; /** * @var TranslationExt...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/TargetPOGenerator.php
src/TargetPOGenerator.php
<?php namespace Tio\Laravel; use Gettext\Generators\Po; use Gettext\Translation; use Gettext\Translations; use Illuminate\Contracts\Foundation\Application; use Illuminate\Support\Collection; class TargetPOGenerator { /** * @var Application */ private $application; /** * @var TranslationExt...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/SourceSaver.php
src/SourceSaver.php
<?php namespace Tio\Laravel; use Tio\Laravel\PrettyVarExport; use Illuminate\Contracts\Foundation\Application; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; class SourceSaver { /** * @var Application */ private $application; /** * @var Filesystem */ private $fi...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/TranslationIO.php
src/TranslationIO.php
<?php namespace Tio\Laravel; use Illuminate\Support\Facades\App; use Gettext\Translator; use Gettext\Translations; use Illuminate\Filesystem\Filesystem; class TranslationIO { private $locale; private $config = array(); public static $current; public function __construct($config = null) { ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Facade.php
src/Facade.php
<?php namespace Tio\Laravel; class Facade extends \Illuminate\Support\Facades\Facade { protected static function getFacadeAccessor() { return TranslationIO::class; } }
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/PrettyVarExport.php
src/PrettyVarExport.php
<?php namespace Tio\Laravel; class PrettyVarExport { // code from https://gist.github.com/lithrel/a224edb1ed2975992c73 public function call($var, array $opts = []) { $opts = array_merge(['indent' => '', 'tab' => ' ', 'array-align' => false], $opts); switch (gettype($var)) { case...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/TranslationSaver.php
src/TranslationSaver.php
<?php namespace Tio\Laravel; use Illuminate\Contracts\Foundation\Application; use Tio\Laravel\PrettyVarExport; use Illuminate\Filesystem\Filesystem; use Illuminate\Translation\Translator; use Illuminate\Support\Arr; use Illuminate\Support\Str; use SplFileInfo; class TranslationSaver { /** * @var Application...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/ServiceProvider.php
src/ServiceProvider.php
<?php namespace Tio\Laravel; use Tio\Laravel\Console\Commands\Init; use Tio\Laravel\Console\Commands\Sync; use Tio\Laravel\Console\Commands\SyncAndPurge; use Tio\Laravel\Console\Commands\SyncAndShowPurgeable; use Tio\Laravel\Middleware\SetLocaleMiddleware; use Illuminate\Support\ServiceProvider as LaravelServiceProvi...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/TranslationExtractor.php
src/TranslationExtractor.php
<?php namespace Tio\Laravel; use Illuminate\Contracts\Foundation\Application; use Illuminate\Filesystem\Filesystem; use Illuminate\Translation\Translator; use Illuminate\Support\Arr; use SplFileInfo; use Symfony\Component\Finder\Finder; class TranslationExtractor { /** * @var Application */ private...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/GettextPOGenerator.php
src/GettextPOGenerator.php
<?php namespace Tio\Laravel; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Translation\Translator as TranslatorContract; use Illuminate\Filesystem\Filesystem; use Illuminate\Translation\FileLoader; use Illuminate\Translation\Translator; use RecursiveDirectoryIterator; use RecursiveIterator...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Helpers/translator_functions.php
src/Helpers/translator_functions.php
<?php // // Inspired by https://github.com/oscarotero/Gettext/blob/master/src/translator_functions.php // use Tio\Laravel\TranslationIO; /** * Returns the translation of a string. * * @param string $original * * @return string */ function t($original) { $text = TranslationIO::$current->gettext($original); ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Console/Commands/Init.php
src/Console/Commands/Init.php
<?php namespace Tio\Laravel\Console\Commands; use Illuminate\Console\Command; use Tio\Laravel\Service\Init as InitService; class Init extends Command { protected $signature = 'translation:init'; protected $description = 'Initialize Translation.io with existing keys.'; /** * @var InitService *...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Console/Commands/Sync.php
src/Console/Commands/Sync.php
<?php namespace Tio\Laravel\Console\Commands; use Illuminate\Console\Command; use Tio\Laravel\Service\SourceEditSync as SourceEditSyncService; use Tio\Laravel\Service\Sync as SyncService; class Sync extends Command { protected $signature = 'translation:sync'; protected $description = 'Send new translatable ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Console/Commands/SyncAndPurge.php
src/Console/Commands/SyncAndPurge.php
<?php namespace Tio\Laravel\Console\Commands; use Illuminate\Console\Command; use Tio\Laravel\Service\SourceEditSync as SourceEditSyncService; use Tio\Laravel\Service\Sync as SyncService; class SyncAndPurge extends Command { protected $signature = 'translation:sync_and_purge'; protected $description = 'Sync...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Console/Commands/SyncAndShowPurgeable.php
src/Console/Commands/SyncAndShowPurgeable.php
<?php namespace Tio\Laravel\Console\Commands; use Illuminate\Console\Command; use Tio\Laravel\Service\SourceEditSync as SourceEditSyncService; use Tio\Laravel\Service\Sync as SyncService; class SyncAndShowPurgeable extends Command { protected $signature = 'translation:sync_and_show_purgeable'; protected $de...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Middleware/SetLocaleMiddleware.php
src/Middleware/SetLocaleMiddleware.php
<?php namespace Tio\Laravel\Middleware; use Tio\Laravel\Facade as Translation; use Closure; use Illuminate\Http\Request; class SetLocaleMiddleware { /** * Handle an incoming request and set the right locale depending on the * query, segment, session, browser, fallback_locale or source_locale * (i...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Service/Init.php
src/Service/Init.php
<?php namespace Tio\Laravel\Service; use Tio\Laravel\TargetPOGenerator; use Tio\Laravel\GettextPOGenerator; use Tio\Laravel\GettextTranslationSaver; use GuzzleHttp\Client; use GuzzleHttp\Exception\RequestException; use Illuminate\Contracts\Foundation\Application; class Init { private $config; /** * @va...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Service/Sync.php
src/Service/Sync.php
<?php namespace Tio\Laravel\Service; use Tio\Laravel\POExtractor; use Tio\Laravel\GettextPOGenerator; use Tio\Laravel\SourcePOGenerator; use Tio\Laravel\TranslationSaver; use Tio\Laravel\GettextTranslationSaver; use GuzzleHttp\Client; use Illuminate\Contracts\Foundation\Application; use Illuminate\Support\Facades\Log...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/src/Service/SourceEditSync.php
src/Service/SourceEditSync.php
<?php namespace Tio\Laravel\Service; use Tio\Laravel\SourceSaver; use Carbon\Carbon; use GuzzleHttp\Client; use Illuminate\Contracts\Foundation\Application; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; class SourceEditSync { private $config; /** * @var Application */ priva...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/TranslationSaverTest.php
tests/TranslationSaverTest.php
<?php namespace Tio\Laravel\Tests; use Tio\Laravel\TranslationSaver; class TranslationSaverTest extends TestCase { public function testItSavesCorrectly() { $locale = 'lv'; $translations = [ 'file.a' => 'A', 'file.nested' => [ 'deeper' => [ ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/TranslationExtractorTest.php
tests/TranslationExtractorTest.php
<?php namespace Tio\Laravel\Tests; use Tio\Laravel\TranslationExtractor; class TranslationExtractorTest extends TestCase { public function testItReturnsSimpleArray() { $this->addTranslationFixture('en', [], 'file', [ 'a' => 'A', 'b' => 'B', ]); $expected = [ ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/autoload.php
tests/autoload.php
<?php require __DIR__ . '/../vendor/autoload.php'; \VCR\VCR::configure() ->setMode('once') ->enableRequestMatchers(['method', 'url', 'host', 'query_string', 'post_fields', 'body']); \VCR\VCR::turnOn();
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/TestCase.php
tests/TestCase.php
<?php namespace Tio\Laravel\Tests; use Tio\Laravel\ServiceProvider; use Illuminate\Container\Container; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Facades\Facade; use VCR\VCR; use Orchestra\Testbench\TestCase as OrchestraTestCase; class TestCase extends OrchestraTestCase { /** * @var Files...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/Integration/InitTest.php
tests/Integration/InitTest.php
<?php namespace Tio\Laravel\Tests\Integration; use Tio\Laravel\Facade; use Tio\Laravel\TranslationIO; use Tio\Laravel\Tests\TestCase; class InitTest extends TestCase { public function testItWorksWithError() { // NOTE: we blocked gettext/languages to <=2.6.0 to be able to keep French with 2 plurals (f...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/Integration/SyncTest.php
tests/Integration/SyncTest.php
<?php namespace Tio\Laravel\Tests\Integration; use Tio\Laravel\Facade; use Tio\Laravel\Tests\TestCase; use Carbon\Carbon; class SyncTest extends TestCase { public function testItWorks() { Carbon::setTestNow(Carbon::createFromTimestamp('1520275983')); app()['config']->set('translation.target_l...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/tests/fixtures/gettext/example.php
tests/fixtures/gettext/example.php
<?php // Test noop(s) with dynamic variable interpolation noop("Hello noop 1"); noop("Hello noop 2"); noop("Hello noop 3"); foreach (['noop 1', 'noop 2', 'noop 3'] as $noop) { echo t("Hello {$noop}"); echo "\n"; } // Test regular gettext without and with interpolation echo t("Hello t"); echo "\n"; echo t(...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
translation/laravel
https://github.com/translation/laravel/blob/7aa6ad5befad2a07512b39b50040cff2b66840a4/config/translation.php
config/translation.php
<?php return [ 'key' => env('TRANSLATIONIO_KEY'), 'source_locale' => 'en', 'target_locales' => [], /* |-------------------------------------------------------------------------- | # Ignored PHP key prefixes. |-------------------------------------------------------------------------- ...
php
MIT
7aa6ad5befad2a07512b39b50040cff2b66840a4
2026-01-05T03:53:34.949133Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/preload.php
preload.php
<?php /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ use CodeIgniter\Boot; use Config\Paths; /* *----------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Common.php
app/Common.php
<?php /** * The goal of this file is to allow developers a location * where they can overwrite core procedural functions and * replace them with their own. This file is loaded during * the bootstrap process and is called during the framework's * execution. * * This can be looked at as a `master helper` file tha...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Controllers/Home.php
app/Controllers/Home.php
<?php namespace App\Controllers; class Home extends BaseController { public function index(): string { return view('welcome_message'); } }
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Controllers/BaseController.php
app/Controllers/BaseController.php
<?php namespace App\Controllers; use CodeIgniter\Controller; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use Psr\Log\LoggerInterface; /** * BaseController provides a convenient place for loading components * and performing functions that are needed by all your controllers. * * ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/welcome_message.php
app/Views/welcome_message.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Welcome to CodeIgniter 4!</title> <meta name="description" content="The small framework with powerful features"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" type="image/png" hre...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/html/error_exception.php
app/Views/errors/html/error_exception.php
<?php use CodeIgniter\HTTP\Header; use CodeIgniter\CodeIgniter; $errorId = uniqid('error', true); ?> <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="robots" content="noindex"> <title><?= esc($title) ?></title> <style> <?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__D...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/html/error_400.php
app/Views/errors/html/error_400.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title><?= lang('Errors.badRequest') ?></title> <style> div.logo { height: 200px; width: 155px; display: inline-block; opacity: 0.08; position: absolute; top: 2rem;...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/html/error_404.php
app/Views/errors/html/error_404.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title><?= lang('Errors.pageNotFound') ?></title> <style> div.logo { height: 200px; width: 155px; display: inline-block; opacity: 0.08; position: absolute; top: 2re...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/html/production.php
app/Views/errors/html/production.php
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="robots" content="noindex"> <title><?= lang('Errors.whoops') ?></title> <style> <?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?> </style> </head> <body> <div class="...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/cli/error_exception.php
app/Views/errors/cli/error_exception.php
<?php use CodeIgniter\CLI\CLI; // The main Exception CLI::write('[' . $exception::class . ']', 'light_gray', 'red'); CLI::write($message); CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green')); CLI::newLine(); $last = $exception; while ($prevException = $last->getP...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/cli/error_404.php
app/Views/errors/cli/error_404.php
<?php use CodeIgniter\CLI\CLI; CLI::error('ERROR: ' . $code); CLI::write($message); CLI::newLine();
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Views/errors/cli/production.php
app/Views/errors/cli/production.php
<?php // On the CLI, we still want errors in productions // so just use the exception template. include __DIR__ . '/error_exception.php';
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Encryption.php
app/Config/Encryption.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; /** * Encryption configuration. * * These are the settings used for encryption, if you don't pass a parameter * array to the encrypter for creation/initialization. */ class Encryption extends BaseConfig { /** * ---------------------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Cors.php
app/Config/Cors.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; /** * Cross-Origin Resource Sharing (CORS) Configuration * * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS */ class Cors extends BaseConfig { /** * The default CORS configuration. * * @var array{ * allowedOrigin...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Routing.php
app/Config/Routing.php
<?php /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Config; use CodeIgniter\Config\Routing as BaseRouting; /...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/ForeignCharacters.php
app/Config/ForeignCharacters.php
<?php namespace Config; use CodeIgniter\Config\ForeignCharacters as BaseForeignCharacters; /** * @immutable */ class ForeignCharacters extends BaseForeignCharacters { }
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Database.php
app/Config/Database.php
<?php namespace Config; use CodeIgniter\Database\Config; /** * Database Configuration */ class Database extends Config { /** * The directory that holds the Migrations and Seeds directories. */ public string $filesPath = APPPATH . 'Database' . DIRECTORY_SEPARATOR; /** * Lets you choose w...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Paths.php
app/Config/Paths.php
<?php namespace Config; /** * Paths * * Holds the paths that are used by the system to * locate the main directories, app, system, etc. * * Modifying these allows you to restructure your application, * share a system folder between multiple applications, and more. * * All paths are relative to the project's ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Events.php
app/Config/Events.php
<?php namespace Config; use CodeIgniter\Events\Events; use CodeIgniter\Exceptions\FrameworkException; use CodeIgniter\HotReloader\HotReloader; /* * -------------------------------------------------------------------- * Application Events * -------------------------------------------------------------------- * Ev...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Autoload.php
app/Config/Autoload.php
<?php namespace Config; use CodeIgniter\Config\AutoloadConfig; /** * ------------------------------------------------------------------- * AUTOLOADER CONFIGURATION * ------------------------------------------------------------------- * * This file defines the namespaces and class maps so the Autoloader * can f...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Mimes.php
app/Config/Mimes.php
<?php namespace Config; /** * This file contains an array of mime types. It is used by the * Upload class to help identify allowed file types. * * When more than one variation for an extension exist (like jpg, jpeg, etc) * the most common one should be first in the array to aid the guess* * methods. The same a...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/ContentSecurityPolicy.php
app/Config/ContentSecurityPolicy.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; /** * Stores the default settings for the ContentSecurityPolicy, if you * choose to use it. The values here will be read in and set as defaults * for the site. If needed, they can be overridden on a page-by-page basis. * * Suggested reference for explan...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/CURLRequest.php
app/Config/CURLRequest.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class CURLRequest extends BaseConfig { /** * -------------------------------------------------------------------------- * CURLRequest Share Options * -------------------------------------------------------------------------- * * ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/DocTypes.php
app/Config/DocTypes.php
<?php namespace Config; class DocTypes { /** * List of valid document types. * * @var array<string, string> */ public array $list = [ 'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', 'xhtml1-strict' ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Exceptions.php
app/Config/Exceptions.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Debug\ExceptionHandler; use CodeIgniter\Debug\ExceptionHandlerInterface; use Psr\Log\LogLevel; use Throwable; /** * Setup how the exception handler works. */ class Exceptions extends BaseConfig { /** * -----------------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Images.php
app/Config/Images.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Images\Handlers\GDHandler; use CodeIgniter\Images\Handlers\ImageMagickHandler; class Images extends BaseConfig { /** * Default handler used if no other handler is specified. */ public string $defaultHandler = 'gd'; /** ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Generators.php
app/Config/Generators.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Generators extends BaseConfig { /** * -------------------------------------------------------------------------- * Generator Commands' Views * -------------------------------------------------------------------------- * * T...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Filters.php
app/Config/Filters.php
<?php namespace Config; use CodeIgniter\Config\Filters as BaseFilters; use CodeIgniter\Filters\Cors; use CodeIgniter\Filters\CSRF; use CodeIgniter\Filters\DebugToolbar; use CodeIgniter\Filters\ForceHTTPS; use CodeIgniter\Filters\Honeypot; use CodeIgniter\Filters\InvalidChars; use CodeIgniter\Filters\PageCache; use Co...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Optimize.php
app/Config/Optimize.php
<?php namespace Config; /** * Optimization Configuration. * * NOTE: This class does not extend BaseConfig for performance reasons. * So you cannot replace the property values with Environment Variables. */ class Optimize { /** * ---------------------------------------------------------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/UserAgents.php
app/Config/UserAgents.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; /** * ------------------------------------------------------------------- * User Agents * ------------------------------------------------------------------- * * This file contains four arrays of user agent data. It is used by the * User Agent Class to...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Email.php
app/Config/Email.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Email extends BaseConfig { public string $fromEmail = ''; public string $fromName = ''; public string $recipients = ''; /** * The "user agent" */ public string $userAgent = 'CodeIgniter'; /** * The mail sendi...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/App.php
app/Config/App.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class App extends BaseConfig { /** * -------------------------------------------------------------------------- * Base Site URL * -------------------------------------------------------------------------- * * URL to your CodeIgni...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Kint.php
app/Config/Kint.php
<?php namespace Config; use Kint\Parser\ConstructablePluginInterface; use Kint\Renderer\Rich\TabPluginInterface; use Kint\Renderer\Rich\ValuePluginInterface; /** * -------------------------------------------------------------------------- * Kint * ------------------------------------------------------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Constants.php
app/Config/Constants.php
<?php /* | -------------------------------------------------------------------- | App Namespace | -------------------------------------------------------------------- | | This defines the default Namespace that is used throughout | CodeIgniter to refer to the Application directory. Change | this constant to cha...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Honeypot.php
app/Config/Honeypot.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Honeypot extends BaseConfig { /** * Makes Honeypot visible or not to human */ public bool $hidden = true; /** * Honeypot Label Content */ public string $label = 'Fill This Field'; /** * Honeypot Field Name...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Security.php
app/Config/Security.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Security extends BaseConfig { /** * -------------------------------------------------------------------------- * CSRF Protection Method * -------------------------------------------------------------------------- * * Protec...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Modules.php
app/Config/Modules.php
<?php namespace Config; use CodeIgniter\Modules\Modules as BaseModules; /** * Modules Configuration. * * NOTE: This class is required prior to Autoloader instantiation, * and does not extend BaseConfig. */ class Modules extends BaseModules { /** * -------------------------------------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Routes.php
app/Config/Routes.php
<?php use CodeIgniter\Router\RouteCollection; /** * @var RouteCollection $routes */ $routes->get('/', 'Home::index');
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Publisher.php
app/Config/Publisher.php
<?php namespace Config; use CodeIgniter\Config\Publisher as BasePublisher; /** * Publisher Configuration * * Defines basic security restrictions for the Publisher class * to prevent abuse by injecting malicious files into a project. */ class Publisher extends BasePublisher { /** * A list of allowed des...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Format.php
app/Config/Format.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Format\JSONFormatter; use CodeIgniter\Format\XMLFormatter; class Format extends BaseConfig { /** * -------------------------------------------------------------------------- * Available Response Formats * ------------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Cookie.php
app/Config/Cookie.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use DateTimeInterface; class Cookie extends BaseConfig { /** * -------------------------------------------------------------------------- * Cookie Prefix * -------------------------------------------------------------------------- * ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Feature.php
app/Config/Feature.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; /** * Enable/disable backward compatibility breaking features. */ class Feature extends BaseConfig { /** * Use improved new auto routing instead of the legacy version. */ public bool $autoRoutesImproved = true; /** * Use filter ...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Validation.php
app/Config/Validation.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Validation\StrictRules\CreditCardRules; use CodeIgniter\Validation\StrictRules\FileRules; use CodeIgniter\Validation\StrictRules\FormatRules; use CodeIgniter\Validation\StrictRules\Rules; class Validation extends BaseConfig { // ---------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Cache.php
app/Config/Cache.php
<?php namespace Config; use CodeIgniter\Cache\CacheInterface; use CodeIgniter\Cache\Handlers\DummyHandler; use CodeIgniter\Cache\Handlers\FileHandler; use CodeIgniter\Cache\Handlers\MemcachedHandler; use CodeIgniter\Cache\Handlers\PredisHandler; use CodeIgniter\Cache\Handlers\RedisHandler; use CodeIgniter\Cache\Handl...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Toolbar.php
app/Config/Toolbar.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Debug\Toolbar\Collectors\Database; use CodeIgniter\Debug\Toolbar\Collectors\Events; use CodeIgniter\Debug\Toolbar\Collectors\Files; use CodeIgniter\Debug\Toolbar\Collectors\Logs; use CodeIgniter\Debug\Toolbar\Collectors\Routes; use CodeIgniter...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Logger.php
app/Config/Logger.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Log\Handlers\FileHandler; use CodeIgniter\Log\Handlers\HandlerInterface; class Logger extends BaseConfig { /** * -------------------------------------------------------------------------- * Error Logging Threshold * -------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Services.php
app/Config/Services.php
<?php namespace Config; use CodeIgniter\Config\BaseService; /** * Services Configuration file. * * Services are simply other classes/libraries that the system uses * to do its job. This is used by CodeIgniter to allow the core of the * framework to be swapped out easily without affecting the usage within * the...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Migrations.php
app/Config/Migrations.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Migrations extends BaseConfig { /** * -------------------------------------------------------------------------- * Enable/Disable Migrations * -------------------------------------------------------------------------- * * M...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Pager.php
app/Config/Pager.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Pager extends BaseConfig { /** * -------------------------------------------------------------------------- * Templates * -------------------------------------------------------------------------- * * Pagination links are r...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false
codeigniter4/appstarter
https://github.com/codeigniter4/appstarter/blob/793a21bd884c639eb9fb362e4f920c72d2f444a8/app/Config/Session.php
app/Config/Session.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Session\Handlers\BaseHandler; use CodeIgniter\Session\Handlers\FileHandler; class Session extends BaseConfig { /** * -------------------------------------------------------------------------- * Session Driver * ------------...
php
MIT
793a21bd884c639eb9fb362e4f920c72d2f444a8
2026-01-05T03:53:45.465407Z
false