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
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Entities/LocaleCollection.php
src/Entities/LocaleCollection.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Entities; use Illuminate\Support\Collection; /** * Class LocaleCollection * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleCollection extends Collection { /* ----------------------------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/LocaleCookieRedirect.php
src/Middleware/LocaleCookieRedirect.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Closure; use Illuminate\Http\Request; /** * Class LocaleCookieRedirect * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleCookieRedirect extends Middleware { /* -----------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/TranslationRedirect.php
src/Middleware/TranslationRedirect.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Routing\Route; /** * Class TranslationRedirect * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class TranslationRedirect extends Middleware { /* -------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/Middleware.php
src/Middleware/Middleware.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Arcanedev\Localization\Contracts\Localization; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; /** * Class Middleware * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ abstract class Middleware { /* -...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/LocaleSessionRedirect.php
src/Middleware/LocaleSessionRedirect.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Closure; use Illuminate\Http\Request; /** * Class LocaleSessionRedirect * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleSessionRedirect extends Middleware { /* ---------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/LocalizationRoutes.php
src/Middleware/LocalizationRoutes.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Closure; use Illuminate\Http\Request; /** * Class LocalizationRoutes * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocalizationRoutes extends Middleware { /* ---------------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Middleware/LocalizationRedirect.php
src/Middleware/LocalizationRedirect.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Middleware; use Closure; use Illuminate\Http\Request; /** * Class LocalizationRedirect * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocalizationRedirect extends Middleware { /* -----------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Providers/DeferredServicesProvider.php
src/Providers/DeferredServicesProvider.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Providers; use Arcanedev\Localization\Contracts\LocalesManager as LocalesManagerContract; use Arcanedev\Localization\Contracts\Localization as LocalizationContract; use Arcanedev\Localization\Contracts\Negotiator as NegotiatorContract; use Arcanedev\Loc...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Providers/RoutingServiceProvider.php
src/Providers/RoutingServiceProvider.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Providers; use Arcanedev\Localization\Middleware\{ LocaleCookieRedirect, LocaleSessionRedirect, LocalizationRedirect, LocalizationRoutes, TranslationRedirect }; use Arcanedev\Localization\Routing\Router; use Arcanedev\Support\Providers\RouteServiceP...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Utilities/RouteTranslator.php
src/Utilities/RouteTranslator.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Utilities; use Arcanedev\Localization\Contracts\RouteTranslator as RouteTranslatorContract; use Arcanedev\Localization\Entities\LocaleCollection; use Arcanedev\Localization\Exceptions\InvalidTranslationException; use Illuminate\Contracts\Translation\Tra...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Utilities/LocalesManager.php
src/Utilities/LocalesManager.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Utilities; use Arcanedev\Localization\Contracts\LocalesManager as LocalesManagerContract; use Arcanedev\Localization\Entities\{Locale, LocaleCollection}; use Arcanedev\Localization\Exceptions\UndefinedSupportedLocalesException; use Arcanedev\Localizatio...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Utilities/Negotiator.php
src/Utilities/Negotiator.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Utilities; use Arcanedev\Localization\Contracts\Negotiator as NegotiatorContract; use Arcanedev\Localization\Entities\LocaleCollection; use Illuminate\Http\Request; /** * Class Negotiator * * @author ARCANEDEV <arcanedev.maroc@gmail.com> * *...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Utilities/Url.php
src/Utilities/Url.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Utilities; use Arcanedev\Localization\Contracts\RouteBindable; use Arcanedev\Localization\Contracts\Url as UrlContract; use Illuminate\Http\Request; /** * Class Url * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class Url implements Url...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Events/TranslationHasBeenSet.php
src/Events/TranslationHasBeenSet.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Events; /** * Class TranslationHasBeenSet * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class TranslationHasBeenSet { /* ----------------------------------------------------------------- | Properties | -------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/LocalizationTest.php
tests/LocalizationTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests; use Arcanedev\Localization\Entities\LocaleCollection; use Arcanedev\Localization\Localization; /** * Class LocalizationTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocalizationTest extends TestCase { /* ---------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/TranslatableModelTest.php
tests/TranslatableModelTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests; use Arcanedev\Localization\Events\TranslationHasBeenSet; use Arcanedev\Localization\Tests\Stubs\Models\TranslatableModel; use Illuminate\Support\Facades\Event; /** * Class TranslatableModelTest * * @author ARCANEDEV <arcanedev.maroc@gma...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/LocalizationServiceProviderTest.php
tests/LocalizationServiceProviderTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests; use Arcanedev\Localization\LocalizationServiceProvider; /** * Class LocalizationServiceProviderTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocalizationServiceProviderTest extends TestCase { /* ------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/TestCase.php
tests/TestCase.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests; use Orchestra\Testbench\TestCase as BaseTestCase; /** * Class TestCase * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ abstract class TestCase extends BaseTestCase { /* ---------------------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Routing/RouterTest.php
tests/Routing/RouterTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Routing; use Illuminate\Routing\Router; use Arcanedev\Localization\Tests\TestCase; /** * Class RouterTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class RouterTest extends TestCase { /* ----------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/fixtures/lang/en/routes.php
tests/fixtures/lang/en/routes.php
<?php return [ 'about' => 'about', 'view' => 'view/{id}', 'view-project' => 'view/{id}/project/{project_id?}', 'hello' => 'Hello world', 'test-text' => 'Test text', 'methods' => [ 'post' => 'post', 'put' => 'put', 'patch' ...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/fixtures/lang/fr/routes.php
tests/fixtures/lang/fr/routes.php
<?php return [ 'about' => 'a-propos', 'view' => 'voir/{id}', 'view-project' => 'voir/{id}/project/{project_id?}', 'hello' => 'Salut le monde', 'test-text' => 'Texte de test', 'methods' => [ 'post' => 'post', 'put' => 'put', ...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/fixtures/lang/es/routes.php
tests/fixtures/lang/es/routes.php
<?php return [ 'about' => 'acerca', 'view' => 'ver/{id}', 'view-project' => 'ver/{id}/proyecto/{project_id?}', 'hello' => 'Hola mundo', 'test-text' => 'Texto de prueba', 'methods' => [ 'post' => 'post', 'put' => 'put', 'pat...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/fixtures/migrations/2017_06_01_000000_create_translatable_table.php
tests/fixtures/migrations/2017_06_01_000000_create_translatable_table.php
<?php use Arcanedev\Support\Database\Migration; use Illuminate\Database\Schema\Blueprint; /** * Class CreateTranslatableTable * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class CreateTranslatableTable extends Migration { /* ----------------------------------------------------------------- |...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Entities/LocaleTest.php
tests/Entities/LocaleTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Entities; use Arcanedev\Localization\Entities\Locale; use Arcanedev\Localization\Tests\TestCase; use Illuminate\Support\Arr; /** * Class LocaleTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleTest extends TestCase {...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Entities/LocaleCollectionTest.php
tests/Entities/LocaleCollectionTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Entities; use Arcanedev\Localization\Entities\{Locale, LocaleCollection}; use Arcanedev\Localization\Tests\TestCase; /** * Class LocaleCollectionTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleCollectionTest extend...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Middleware/LocaleCookieRedirectTest.php
tests/Middleware/LocaleCookieRedirectTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Middleware; use Arcanedev\Localization\Tests\TestCase; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Response; /** * Class LocaleCookieRedirectTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleCookieRedir...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Middleware/LocaleSessionRedirectTest.php
tests/Middleware/LocaleSessionRedirectTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Middleware; use Arcanedev\Localization\Tests\TestCase; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Response; /** * Class LocaleSessionRedirectTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class LocaleSessionRed...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Providers/DeferredServicesProviderTest.php
tests/Providers/DeferredServicesProviderTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Providers; use Arcanedev\Localization\Providers\DeferredServicesProvider; use Arcanedev\Localization\Tests\TestCase; /** * Class DeferredServicesProviderTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class DeferredServicesPro...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Utilities/LocalesManagerTest.php
tests/Utilities/LocalesManagerTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Utilities; use Arcanedev\Localization\Entities\Locale; use Arcanedev\Localization\Tests\TestCase; use Arcanedev\Localization\Utilities\LocalesManager; /** * Class LocalesManagerTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ c...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Utilities/NegotiatorTest.php
tests/Utilities/NegotiatorTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Utilities; use Arcanedev\Localization\Tests\TestCase; use Arcanedev\Localization\Utilities\Negotiator; use Illuminate\Http\Request; /** * Class NegotiatorTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class NegotiatorTest ext...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Utilities/UrlTest.php
tests/Utilities/UrlTest.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Utilities; use Arcanedev\Localization\Tests\TestCase; use Arcanedev\Localization\Utilities\Url; /** * Class UrlTest * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class UrlTest extends TestCase { /* ---------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/User.php
tests/Stubs/User.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs; use Arcanedev\Localization\Contracts\RouteBindable; /** * Class User * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class User implements RouteBindable { /* --------------------------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Http/RouteRegistrar.php
tests/Stubs/Http/RouteRegistrar.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Http; use Illuminate\Routing\Router; /** * Class RouteRegistrar * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class RouteRegistrar { /* ----------------------------------------------------------------- | Propertie...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Http/Kernel.php
tests/Stubs/Http/Kernel.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Http; use Orchestra\Testbench\Foundation\Http\Kernel as HttpKernel; /** * Class Kernel * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class Kernel extends HttpKernel { /* -------------------------------------------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Http/Controllers/DummyController.php
tests/Stubs/Http/Controllers/DummyController.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Http\Controllers; use Illuminate\Routing\Controller; /** * Class DummyController * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class DummyController extends Controller { // }
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Http/Controllers/BarController.php
tests/Stubs/Http/Controllers/BarController.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Http\Controllers; use Illuminate\Routing\Controller; /** * Class BarController * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class BarController extends Controller { // }
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Http/Middleware/EncryptCookies.php
tests/Stubs/Http/Middleware/EncryptCookies.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter; /** * Class EncryptCookies * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class EncryptCookies extends BaseEncrypter { /* ---------------...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/tests/Stubs/Models/TranslatableModel.php
tests/Stubs/Models/TranslatableModel.php
<?php declare(strict_types=1); namespace Arcanedev\Localization\Tests\Stubs\Models; use Arcanedev\Localization\Traits\HasTranslations; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; /** * Class TranslatableModel * * @author ARCANEDEV <arcanedev.maroc@gmail.com> * * @property int ...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/views/navbar.blade.php
views/navbar.blade.php
<ul class="navbar-locales"> @foreach($supportedLocales as $key => $locale) <li class="{{ localization()->getCurrentLocale() == $key ? 'active' : '' }}"> <a href="{{ localization()->getLocalizedURL($key) }}" rel="alternate" hreflang="{{ $key }}"> {{ $locale->native() }} ...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
false
ARCANEDEV/Localization
https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/config/localization.php
config/localization.php
<?php return [ /* ----------------------------------------------------------------- | Settings | ----------------------------------------------------------------- */ 'supported-locales' => ['en', 'es', 'fr'], 'accept-language-header' => true, 'hide-default-in-url' => false, ...
php
MIT
9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de
2026-01-05T02:52:40.544798Z
true
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/HtmlCompressor.php
HtmlCompressor.php
<?php /** * HtmlCompressor.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify; /** * Class HtmlCompressor * @package rmrevin\yii\minify * @deprecated */ class HtmlCompressor { /** * "Minify" an HTML page * * @param string $html * @param array $options...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/Exception.php
Exception.php
<?php /** * Exception.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify; /** * Class Exception * @package rmrevin\yii\minify */ class Exception extends \yii\base\Exception { }
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/View.php
View.php
<?php /** * View.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify; use yii\base\Event; use yii\helpers\FileHelper; use yii\web\AssetBundle; use yii\web\Response; /** * Class View * @package rmrevin\yii\minify */ class View extends \yii\web\View { /** * @var bool ...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/TestCase.php
tests/unit/TestCase.php
<?php /** * TestCase.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit; use yii\helpers\ArrayHelper; use yii\helpers\FileHelper; /** * Class TestCase * @package rmrevin\yii\fontawesome\tests\unit * This is the base class for all yii framework unit tests. */ abstr...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/bootstrap.php
tests/unit/bootstrap.php
<?php /** * bootstrap.php * @author Revin Roman * @link https://rmrevin.ru */ define('YII_ENABLE_ERROR_HANDLER', true); define('YII_DEBUG', true); $_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_FILENAME'] = __FILE__; require_once __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'; require_once __DIR__ . '...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/view/HtmlCompressorTest.php
tests/unit/view/HtmlCompressorTest.php
<?php /** * HtmlCompressorTest.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\view; use rmrevin\yii\minify\HtmlCompressor; use rmrevin\yii\minify\tests\unit\TestCase; /** * Class HtmlCompressorTest * @package rmrevin\yii\minify\tests\unit\view */ class HtmlComp...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/view/ViewTest.php
tests/unit/view/ViewTest.php
<?php /** * ViewTest.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\view; use rmrevin\yii\minify; use yii\helpers\FileHelper; use yii\helpers\Url; /** * Class ViewTest * @package rmrevin\yii\minify\tests\unit\view */ class ViewTest extends minify\tests\unit\Tes...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/config/main.php
tests/unit/config/main.php
<?php /** * main.php * @author Roman Revin http://phptime.ru */ define('BASE_PATH', dirname(__DIR__)); return [ 'id' => 'testapp', 'basePath' => BASE_PATH, 'components' => [ 'view' => [ 'class' => 'rmrevin\yii\minify\View', 'minifyPath' => BASE...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/ExcludedAssetBundle.php
tests/unit/data/ExcludedAssetBundle.php
<?php /** * ExcludedAssetBundle.php * @author Revin Roman * @link https://rmrevin.com */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; /** * Class ExcludedAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class ExcludedAssetBundle extends AssetBundle { public $css = [ ...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/DependAssetBundle.php
tests/unit/data/DependAssetBundle.php
<?php /** * DependAssetBundle.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; use yii\web\View; /** * Class DependAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class DependAssetBundle extends AssetBundle { publi...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/TestAssetBundle.php
tests/unit/data/TestAssetBundle.php
<?php /** * TestAssetBundle.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; use yii\web\View; /** * Class TestAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class TestAssetBundle extends AssetBundle { public $js ...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/CommentsAssetBundle.php
tests/unit/data/CommentsAssetBundle.php
<?php /** * CommentsAssetBundle.php. * @created 2017-12-22 */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; use yii\web\View; /** * Class CommentsAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class CommentsAssetBundle extends AssetBundle { public $js = [ 'co...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/JQueryAssetBundle.php
tests/unit/data/JQueryAssetBundle.php
<?php /** * JQueryAssetBundle.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; use yii\web\View; /** * Class JQueryAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class JQueryAssetBundle extends AssetBundle { publi...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/EmptyAssetBundle.php
tests/unit/data/EmptyAssetBundle.php
<?php /** * EmptyAssetBundle.php * @author Revin Roman * @link https://rmrevin.com */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; /** * Class EmptyAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class EmptyAssetBundle extends AssetBundle { }
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/tests/unit/data/PrintAssetBundle.php
tests/unit/data/PrintAssetBundle.php
<?php /** * PrintAssetBundle.php * @author Revin Roman * @link https://rmrevin.ru */ namespace rmrevin\yii\minify\tests\unit\data; use yii\web\AssetBundle; /** * Class TestAssetBundle * @package rmrevin\yii\minify\tests\unit\data */ class PrintAssetBundle extends AssetBundle { public $css = [ 'pr...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/components/JS.php
components/JS.php
<?php /** * JS.php * @author Revin Roman * @link https://rmrevin.com */ namespace rmrevin\yii\minify\components; use JSMin\JSMin; use yii\helpers\Html; /** * Class JS * @package rmrevin\yii\minify\components */ class JS extends MinifyComponent { public function export() { $jsFiles = $this->vi...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/components/MinifyComponent.php
components/MinifyComponent.php
<?php /** * Minify.php * @author Revin Roman * @link https://rmrevin.com */ namespace rmrevin\yii\minify\components; use rmrevin\yii\minify\View; use yii\caching\Cache; use yii\caching\TagDependency; /** * Class MinifyComponent * @package rmrevin\yii\minify\components */ abstract class MinifyComponent { ...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
rmrevin/yii2-minify-view
https://github.com/rmrevin/yii2-minify-view/blob/8b497602d9f11267c30776f130e27f67ab1bed50/components/CSS.php
components/CSS.php
<?php /** * CSS.php * @author Revin Roman * @link https://rmrevin.com */ namespace rmrevin\yii\minify\components; use yii\helpers\Html; use yii\helpers\Url; /** * Class CSS * @package rmrevin\yii\minify\components */ class CSS extends MinifyComponent { public function export() { $cssFiles = $...
php
MIT
8b497602d9f11267c30776f130e27f67ab1bed50
2026-01-05T02:52:53.813349Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/UnauthorizedException.php
UnauthorizedException.php
<?php namespace Illuminate\Validation; use RuntimeException; class UnauthorizedException extends RuntimeException { // }
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/NotPwnedVerifier.php
NotPwnedVerifier.php
<?php namespace Illuminate\Validation; use Exception; use Illuminate\Contracts\Validation\UncompromisedVerifier; use Illuminate\Support\Stringable; class NotPwnedVerifier implements UncompromisedVerifier { /** * The HTTP factory instance. * * @var \Illuminate\Http\Client\Factory */ protec...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/DatabasePresenceVerifier.php
DatabasePresenceVerifier.php
<?php namespace Illuminate\Validation; use Closure; use Illuminate\Database\ConnectionResolverInterface; class DatabasePresenceVerifier implements DatabasePresenceVerifierInterface { /** * The database connection instance. * * @var \Illuminate\Database\ConnectionResolverInterface */ prote...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/InvokableValidationRule.php
InvokableValidationRule.php
<?php namespace Illuminate\Validation; use Illuminate\Contracts\Validation\DataAwareRule; use Illuminate\Contracts\Validation\ImplicitRule; use Illuminate\Contracts\Validation\InvokableRule; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidationRule; use Illuminate\Contracts\Validati...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ValidatesWhenResolvedTrait.php
ValidatesWhenResolvedTrait.php
<?php namespace Illuminate\Validation; use Illuminate\Foundation\Precognition; /** * Provides default implementation of ValidatesWhenResolved contract. */ trait ValidatesWhenResolvedTrait { /** * Validate the class instance. * * @return void */ public function validateResolved() { ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ClosureValidationRule.php
ClosureValidationRule.php
<?php namespace Illuminate\Validation; use Illuminate\Contracts\Validation\Rule as RuleContract; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Translation\CreatesPotentiallyTranslatedStrings; class ClosureValidationRule implements RuleContract, ValidatorAwareRule { use CreatesPotentially...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ValidationServiceProvider.php
ValidationServiceProvider.php
<?php namespace Illuminate\Validation; use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Contracts\Validation\UncompromisedVerifier; use Illuminate\Http\Client\Factory as HttpFactory; use Illuminate\Support\ServiceProvider; class ValidationServiceProvider extends ServiceProvider implements Deferrab...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/DatabasePresenceVerifierInterface.php
DatabasePresenceVerifierInterface.php
<?php namespace Illuminate\Validation; interface DatabasePresenceVerifierInterface extends PresenceVerifierInterface { /** * Set the connection to be used. * * @param string $connection * @return void */ public function setConnection($connection); }
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/PresenceVerifierInterface.php
PresenceVerifierInterface.php
<?php namespace Illuminate\Validation; interface PresenceVerifierInterface { /** * Count the number of objects in a collection having the given value. * * @param string $collection * @param string $column * @param string $value * @param int|null $excludeId * @param stri...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ValidationException.php
ValidationException.php
<?php namespace Illuminate\Validation; use Exception; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Validator as ValidatorFacade; class ValidationException extends Exception { /** * The validator instance. * * @var \Illuminate\Contracts\Validation\Validator */ public $validat...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Validator.php
Validator.php
<?php namespace Illuminate\Validation; use BadMethodCallException; use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Translation\Translator; use Illuminate\Contracts\Validation\DataAwareRule; use Illuminate\Contracts\Validation\ImplicitRule; use Illuminate\Contracts\Validation\Rule as RuleContrac...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
true
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ConditionalRules.php
ConditionalRules.php
<?php namespace Illuminate\Validation; use Illuminate\Support\Fluent; class ConditionalRules { /** * The boolean condition indicating if the rules should be added to the attribute. * * @var callable|bool */ protected $condition; /** * The rules to be added to the attribute. ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ValidationData.php
ValidationData.php
<?php namespace Illuminate\Validation; use Illuminate\Support\Arr; class ValidationData { /** * Initialize and gather data for the given attribute. * * @param string $attribute * @param array $masterData * @return array */ public static function initializeAndGatherData($attr...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Factory.php
Factory.php
<?php namespace Illuminate\Validation; use Closure; use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Translation\Translator; use Illuminate\Contracts\Validation\Factory as FactoryContract; use Illuminate\Support\Str; class Factory implements FactoryContract { /** * The Translator imple...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/NestedRules.php
NestedRules.php
<?php namespace Illuminate\Validation; use Illuminate\Contracts\Validation\CompilableRules; class NestedRules implements CompilableRules { /** * The callback to execute. * * @var callable */ protected $callback; /** * Create a new nested rule instance. * * @param call...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/ValidationRuleParser.php
ValidationRuleParser.php
<?php namespace Illuminate\Validation; use Closure; use Illuminate\Contracts\Validation\CompilableRules; use Illuminate\Contracts\Validation\InvokableRule; use Illuminate\Contracts\Validation\Rule as RuleContract; use Illuminate\Contracts\Validation\ValidationRule; use Illuminate\Support\Arr; use Illuminate\Support\C...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rule.php
Rule.php
<?php namespace Illuminate\Validation; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Arr; use Illuminate\Support\Traits\Macroable; use Illuminate\Validation\Rules\AnyOf; use Illuminate\Validation\Rules\ArrayRule; use Illuminate\Validation\Rules\Can; use Illuminate\Validation\Rules\Date; use Illum...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Enum.php
Rules/Enum.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Arr; use Illuminate\Support\Traits\Conditionable; use TypeError; class Enum implements Rule, ValidatorAware...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Dimensions.php
Rules/Dimensions.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Support\Traits\Conditionable; use Stringable; class Dimensions implements Stringable { use Conditionable; /** * The constraints for the dimensions rule. * * @var array */ protected $constraints = []; /** * Create a...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Date.php
Rules/Date.php
<?php namespace Illuminate\Validation\Rules; use DateTimeInterface; use Illuminate\Support\Arr; use Illuminate\Support\Traits\Conditionable; use Illuminate\Support\Traits\Macroable; use Stringable; class Date implements Stringable { use Conditionable, Macroable; /** * The format of the date. */ ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/In.php
Rules/In.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Support\Arrayable; use Stringable; use function Illuminate\Support\enum_value; class In implements Stringable { /** * The name of the rule. * * @var string */ protected $rule = 'in'; /** * The accepted values...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Password.php
Rules/Password.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Container\Container; use Illuminate\Contracts\Validation\DataAwareRule; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\UncompromisedVerifier; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Arr; u...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Email.php
Rules/Email.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Validation\DataAwareRule; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Traits\Conditionable; use Illum...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Exists.php
Rules/Exists.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Support\Traits\Conditionable; use Stringable; class Exists implements Stringable { use Conditionable, DatabaseRule; /** * Convert the rule to a validation string. * * @return string */ public function __toString() { ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/ProhibitedIf.php
Rules/ProhibitedIf.php
<?php namespace Illuminate\Validation\Rules; use Closure; use InvalidArgumentException; use Stringable; class ProhibitedIf implements Stringable { /** * The condition that validates the attribute. * * @var \Closure|bool */ public $condition; /** * Create a new prohibited validat...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/ImageFile.php
Rules/ImageFile.php
<?php namespace Illuminate\Validation\Rules; class ImageFile extends File { /** * Create a new image file rule instance. * * @param bool $allowSvg */ public function __construct($allowSvg = false) { if ($allowSvg) { $this->rules('image:allow_svg'); } else ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/NotIn.php
Rules/NotIn.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Support\Arrayable; use Stringable; use function Illuminate\Support\enum_value; class NotIn implements Stringable { /** * The name of the rule. * * @var string */ protected $rule = 'not_in'; /** * The accepted...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/ArrayRule.php
Rules/ArrayRule.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Support\Arrayable; use Stringable; use function Illuminate\Support\enum_value; class ArrayRule implements Stringable { /** * The accepted keys. * * @var array */ protected $keys; /** * Create a new array rule...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/ExcludeIf.php
Rules/ExcludeIf.php
<?php namespace Illuminate\Validation\Rules; use Closure; use InvalidArgumentException; use Stringable; class ExcludeIf implements Stringable { /** * The condition that validates the attribute. * * @var \Closure|bool */ public $condition; /** * Create a new exclude validation ru...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/DatabaseRule.php
Rules/DatabaseRule.php
<?php namespace Illuminate\Validation\Rules; use Closure; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; use function Illuminate\Support\enum_value; trait DatabaseRule { /** * The table to run the query against. * * @var stri...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/File.php
Rules/File.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Validation\DataAwareRule; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Arr; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Validator; use Illuminate\Supp...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Numeric.php
Rules/Numeric.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Support\Arr; use Illuminate\Support\Traits\Conditionable; use Stringable; class Numeric implements Stringable { use Conditionable; /** * The constraints for the number rule. */ protected array $constraints = ['numeric']; /** ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Unique.php
Rules/Unique.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Traits\Conditionable; use Stringable; class Unique implements Stringable { use Conditionable, DatabaseRule; /** * The ID that should be ignored. * * @var mixed */ protected $ig...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/RequiredIf.php
Rules/RequiredIf.php
<?php namespace Illuminate\Validation\Rules; use InvalidArgumentException; use Stringable; class RequiredIf implements Stringable { /** * The condition that validates the attribute. * * @var callable|bool */ public $condition; /** * Create a new required validation rule based on...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/AnyOf.php
Rules/AnyOf.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Validator; use InvalidArgumentException; class AnyOf implements Rule, ValidatorAwareRule { /** * The rules...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Rules/Can.php
Rules/Can.php
<?php namespace Illuminate\Validation\Rules; use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\ValidatorAwareRule; use Illuminate\Support\Facades\Gate; class Can implements Rule, ValidatorAwareRule { /** * The ability to check. * * @var string */ protected $abi...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Concerns/ReplacesAttributes.php
Concerns/ReplacesAttributes.php
<?php namespace Illuminate\Validation\Concerns; use Illuminate\Support\Arr; trait ReplacesAttributes { /** * Replace all place-holders for the accepted_if rule. * * @param string $message * @param string $attribute * @param string $rule * @param array<int,string> $parameters...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Concerns/FilterEmailValidation.php
Concerns/FilterEmailValidation.php
<?php namespace Illuminate\Validation\Concerns; use Egulias\EmailValidator\EmailLexer; use Egulias\EmailValidator\Result\InvalidEmail; use Egulias\EmailValidator\Validation\EmailValidation; class FilterEmailValidation implements EmailValidation { /** * The flags to pass to the filter_var function. * ...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Concerns/FormatsMessages.php
Concerns/FormatsMessages.php
<?php namespace Illuminate\Validation\Concerns; use Closure; use Illuminate\Support\Arr; use Illuminate\Support\Str; use Symfony\Component\HttpFoundation\File\File; use Symfony\Component\HttpFoundation\File\UploadedFile; trait FormatsMessages { use ReplacesAttributes; /** * Get the validation message f...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
false
illuminate/validation
https://github.com/illuminate/validation/blob/c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179/Concerns/ValidatesAttributes.php
Concerns/ValidatesAttributes.php
<?php namespace Illuminate\Validation\Concerns; use Brick\Math\BigDecimal; use Brick\Math\BigNumber; use Brick\Math\Exception\MathException as BrickMathException; use DateTime; use DateTimeInterface; use DateTimeZone; use Egulias\EmailValidator\EmailValidator; use Egulias\EmailValidator\Validation\DNSCheckValidation;...
php
MIT
c6f6a493aa5e2d0aa7d442a48f89daabf6ec1179
2026-01-05T02:53:03.672236Z
true
kleeja-official/kleeja
https://github.com/kleeja-official/kleeja/blob/48e42911e1c0b13c5754a154e8d510ebf84e7880/do.php
do.php
<?php /** * * @package Kleeja * @copyright (c) 2007 Kleeja.net * @license ./docs/license.txt * */ /** * @ignore */ define('IN_KLEEJA', true); define('IN_DOWNLOAD', true); require_once 'includes/common.php'; is_array($plugin_run_result = Plugins::getInstance()->run('begin_download_page', get_defined_vars())) ? e...
php
MIT
48e42911e1c0b13c5754a154e8d510ebf84e7880
2026-01-05T02:53:13.668210Z
false
kleeja-official/kleeja
https://github.com/kleeja-official/kleeja/blob/48e42911e1c0b13c5754a154e8d510ebf84e7880/go.php
go.php
<?php /** * * @package Kleeja * @copyright (c) 2007 Kleeja.net * @license ./docs/license.txt * */ /** * @ignore */ define('IN_KLEEJA', true); define('IN_GO', true); require_once 'includes/common.php'; $current_go_case = g('go'); $show_style = true; $styleePath = null; is_array($plugin_run_result = Plu...
php
MIT
48e42911e1c0b13c5754a154e8d510ebf84e7880
2026-01-05T02:53:13.668210Z
false