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 |
|---|---|---|---|---|---|---|---|---|
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/src/Unit/Context/GlobalContextTest.php | tests/src/Unit/Context/GlobalContextTest.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foil\Tests\Unit\Context;
use Foil\Tests\TestCase;
use Foil\Conte... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/src/Unit/Context/RegexContextTest.php | tests/src/Unit/Context/RegexContextTest.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foil\Tests\Unit\Context;
use Foil\Tests\TestCase;
use Foil\Conte... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/src/Unit/Context/SearchContextTest.php | tests/src/Unit/Context/SearchContextTest.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foil\Tests\Unit\Context;
use Foil\Tests\TestCase;
use Foil\Conte... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/src/Unit/Section/FactoryTest.php | tests/src/Unit/Section/FactoryTest.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foil\Tests\Unit\Section;
use Foil\Tests\TestCase;
use Foil\Secti... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/src/Unit/Section/SectionTest.php | tests/src/Unit/Section/SectionTest.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foil\Tests\Unit\Section;
use Foil\Tests\TestCase;
use Foil\Secti... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/stubs.php | tests/_files/stubs.php | <?php namespace Foil\Tests;
use JsonSerializable;
class Value
{
public $value;
public function __construct($value)
{
$this->value = $value;
}
}
class ToArray extends Value
{
public function toArray()
{
return ['toarray' => (array) $this->value];
}
}
class AsArray extends... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/templates/extended.php | tests/_files/templates/extended.php | <?php $this->layout('layout') ?>
<p>EXTENDED LAYOUT, Out of any section, output a deep var <?= $this->v('a.var.in.extended') ?></p>
<?php $this->section('first') ?>
<p>Should BE APPENDED to layout first section.</p>
<?php $this->append() // first ?>
<?php $this->section('first-child') ?>
<p>Should REPLACE layout ... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/templates/layout.php | tests/_files/templates/layout.php | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= $this->v('title', 'Default Title') ?></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<?= $this->ww('menu', '<div><ul>%s</ul></div>', '<li><a href="... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/templates/final-template.php | tests/_files/templates/final-template.php | <?php $this->layout('extended') ?>
<?php $this->section('a-section') ?>
<p>Should BE SUPPLYED by layout.</p>
<?php $this->stop() ?>
<?php $this->section('third') ?>
<p>Should BE APPENDED to extended layout third section.</p>
<?php $this->append() // third ?>
<?php $this->section('another-section') ?>
<p>OVERR... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/templates/partials/partial-2.php | tests/_files/templates/partials/partial-2.php | <p>
I am another partial.
This: <?= $this->v('a_partial_var') ?> is a specific partial var.
This: "<?= $this->test_me ?>" is a var I share with template.
A shared var skipped: "<?= $this->v('title') ?>".
</p>
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/templates/partials/partial.php | tests/_files/templates/partials/partial.php | <?php $this->section('another-section') ?>
<p>A SECTION defined in a PARTIAL</p>
<?php $this->stop() ?>
<p>
I am a partial. And this: "<?= $this->test_me ?>" is a var I share with template, but
this <?= $this->v('a_partial_var') ?> is a specific partial var.
</p>
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/bar/second.php | tests/_files/bar/second.php | <?php $this->layout('main', ['foo' => 'Bar!']) ?>
<?php $this->section('one') ?>
World <?= $this->foo ?>
<?php $this->stop() ?>
<?php $this->section('two') ?>
I Win
<?php $this->replace() ?>
Buffalo Bill
<?php $this->section('three') ?>
MAN
<?php
$this->stop();
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/bar/foo.php | tests/_files/bar/foo.php | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false | |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/main.php | tests/_files/foo/main.php | <?php $this->section('one') ?>
Hello <?= $this->foo.' ' ?>
<?php $this->stop() ?>
Alone
<?php $this->section('two') ?>
NO
<?php $this->stop() ?>
<?php $this->section('three') ?>
YES
<?php
$this->stop();
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/alias.php | tests/_files/foo/alias.php | <?= $T->foo;
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/double.tpl.php | tests/_files/foo/double.tpl.php | I have 2 extensions
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/foo.php | tests/_files/foo/foo.php | <?php
echo implode(',', $this->data());
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/blocks.php | tests/_files/foo/blocks.php | <?php $this->block('spaceless') ?>
<?php $this->block('wrap', '<div>', '</div>') ?>
<?php $this->block('spaceless') ?>
<ul>
<?php $this->block('repeat', 3) ?>
<li>a</li>
<?php $this->endblock('repeat'); ?>
</ul>
<?php $this->endblock('spaceless') ?>
<?php $this->endblock('wrap') ?>
<?php $this->endblock('sp... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/tests/_files/foo/clear.php | tests/_files/foo/clear.php | <?php $this->layout('main') ?>
<?php $this->clear('one') ?>
<?php $this->clear('two') ?>
| php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
FoilPHP/Foil | https://github.com/FoilPHP/Foil/blob/3fc8f2f49737372a78dc8750d4a600f7382fc089/inc/functions.php | inc/functions.php | <?php
/*
* This file is part of the Foil package.
*
* (c) Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* This file contain API function that can be used to run packages task... | php | MIT | 3fc8f2f49737372a78dc8750d4a600f7382fc089 | 2026-01-05T03:56:28.757636Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server.... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Title.php | app/Title.php | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Title extends Model
{
protected $primaryKey = "titleID";
protected $hidden = ['created_at', 'updated_at'];
protected $guarded = ['titleKey'];
public $incrementing = false;
public function getDecTitleKeyAttribute() {
re... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Jobs/Job.php | app/Jobs/Job.php | <?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
abstract class Job
{
/*
|--------------------------------------------------------------------------
| Queueable Jobs
|--------------------------------------------------------------------------
|
| This job base class provides a central l... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
use Illuminate\Validation\ValidationException;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionH... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Http/routes.php | app/Http/routes.php | <?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Http/Kernel.php | app/Http/Kernel.php | <?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Http/Requests/Request.php | app/Http/Requests/Request.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest
{
//
}
| php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesResources;
class C... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Console/Kernel.php | app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\Scra... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Console/Commands/Inspire.php | app/Console/Commands/Inspire.php | <?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
class Inspire extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'inspire';
/**
* The console command descript... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Console/Commands/Scrape_Spreadsheet.php | app/Console/Commands/Scrape_Spreadsheet.php | <?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class Scrape_Spreadsheet extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'scrape:spreadsheet';
/**
* The console command description.
*
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as the URL g... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Providers/EventServiceProvider.php | app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
*
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Providers/AuthServiceProvider.php | app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/app/Events/Event.php | app/Events/Event.php | <?php
namespace App\Events;
abstract class Event
{
//
}
| php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/bootstrap/app.php | bootstrap/app.php | <?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/bootstrap/autoload.php | bootstrap/autoload.php | <?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for ... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/tests/TestCase.php | tests/TestCase.php | <?php
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**
* The base URL to use while testing the application.
*
* @var string
*/
protected $baseUrl = 'http://localhost';
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/tests/ExampleTest.php | tests/ExampleTest.php | <?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
/**
* A basic functional test example.
*
* @return void
*/
public function testBasic... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/public/index.php | public/index.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/app.php | config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/session.php | config/session.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By defau... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| The Laravel queue API supports a variety of back-ends via an unified
| API, giving you conven... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/cache.php | config/cache.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching li... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/view.php | config/view.php | <?php
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/database.php | config/database.php | <?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, ... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/filesystems.php | config/filesystems.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. A... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/mail.php | config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/compile.php | config/compile.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Additional Compiled Classes
|--------------------------------------------------------------------------
|
| Here you may specify additional classes to include in the compiled file
| generated by... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/broadcasting.php | config/broadcasting.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an even... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/seeds/DatabaseSeeder.php | database/seeds/DatabaseSeeder.php | <?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
}
}
| php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/factories/ModelFactory.php | database/factories/ModelFactory.php | <?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/migrations/2016_04_09_101944_Game.php | database/migrations/2016_04_09_101944_Game.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Game extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('titles', function (Blueprint $table) {
$table->string('t... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/migrations/2016_10_22_235955_add_ticket_field.php | database/migrations/2016_10_22_235955_add_ticket_field.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddTicketField extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('titles', function ($table) {
$table->boolean('t... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/migrations/2016_04_10_082129_create_failed_jobs_table.php | database/migrations/2016_04_10_082129_create_failed_jobs_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('failed_jobs', function (Blueprint $table) {
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/database/migrations/2016_04_09_124401_create_jobs_table.php | database/migrations/2016_04_09_124401_create_jobs_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jobs', function (Blueprint $table) {
$table->... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/resources/views/index.blade.php | resources/views/index.blade.php | <!DOCTYPE html>
<html lang="en">
<!--
For developers, JSON waypoints
/json
-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WiiU Title Key</title>
<link rel="stylesheet" href="https:/... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
TomEke/WiiU-Title-Key | https://github.com/TomEke/WiiU-Title-Key/blob/a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d/resources/views/errors/503.blade.php | resources/views/errors/503.blade.php | <!DOCTYPE html>
<html>
<head>
<title>Be right back.</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style>
html, body {
height: 100%;
}
body {
margin: 0;
... | php | MIT | a4efc01d92f7b1f4c37bb7bf4470a42fa7bf914d | 2026-01-05T03:56:28.099010Z | false |
yidas/codeigniter-model | https://github.com/yidas/codeigniter-model/blob/403f0f279944a36729d95a19984bfe8fd6a3fe83/src/Model.php | src/Model.php | <?php
namespace yidas;
use Exception;
/**
* Base Model
*
* @author Nick Tsai <myintaer@gmail.com>
* @version 2.19.3
* @see https://github.com/yidas/codeigniter-model
*/
class Model extends \CI_Model implements \ArrayAccess
{
/**
* Database Configuration for read-write master
*
* @va... | php | MIT | 403f0f279944a36729d95a19984bfe8fd6a3fe83 | 2026-01-05T03:56:25.924540Z | true |
yidas/codeigniter-model | https://github.com/yidas/codeigniter-model/blob/403f0f279944a36729d95a19984bfe8fd6a3fe83/example/userACL/My_model.php | example/userACL/My_model.php | <?php
/**
* My_model
*
* Based on yidas\Model, My_model is customized for your web application with schema such as
* primary key and column names for behavior setting. Futher, all of your model may need access
* features, such as the verification of user ID and company ID for multiple user layers.
*
* This ex... | php | MIT | 403f0f279944a36729d95a19984bfe8fd6a3fe83 | 2026-01-05T03:56:25.924540Z | false |
yidas/codeigniter-model | https://github.com/yidas/codeigniter-model/blob/403f0f279944a36729d95a19984bfe8fd6a3fe83/example/requestLog/My_model.php | example/requestLog/My_model.php | <?php
/**
* My_model
*
* This My_model is for Log Model implement with IP and headers concern.
*
* @author Nick Tsai <myintaer@gmail.com>
* @version 2.0.0
* @see https://github.com/yidas/codeigniter-model/tree/master/example
* @since \yidas\Mdoel 2.0.0
* @see https://github.com/yidas/codeignit... | php | MIT | 403f0f279944a36729d95a19984bfe8fd6a3fe83 | 2026-01-05T03:56:25.924540Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/src/CrudGeneratorMakeCommand.php | src/CrudGeneratorMakeCommand.php | <?php
namespace Mehradsadeghi\CrudGenerator;
use Exception;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Schema;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Illuminate\Rout... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/src/PublishCrudStubCommand.php | src/PublishCrudStubCommand.php | <?php
namespace Mehradsadeghi\CrudGenerator;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class PublishCrudStubCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'crud:publish';
/**
* ... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/src/CrudGeneratorServiceProvider.php | src/CrudGeneratorServiceProvider.php | <?php
namespace Mehradsadeghi\CrudGenerator;
use Illuminate\Support\ServiceProvider;
class CrudGeneratorServiceProvider extends ServiceProvider {
public function boot()
{
if($this->app->runningInConsole()) {
$this->commands([
CrudGeneratorMakeCommand::class,
... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/TestCase.php | tests/TestCase.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests;
use Illuminate\Console\Application;
use Illuminate\Support\Facades\File;
use Mehradsadeghi\CrudGenerator\Tests\Stubs\TestCrudGeneratorMakeCommand;
use Mehradsadeghi\CrudGenerator\Tests\Stubs\TestCrudGeneratorServiceProvider;
use Symfony\Component\Console\Tester\Comma... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Integration/CreateControllerWithModelAndValidationsTest.php | tests/Integration/CreateControllerWithModelAndValidationsTest.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests\Integration;
use Illuminate\Support\Facades\File;
use Mehradsadeghi\CrudGenerator\Tests\TestCase;
class CreateControllerWithModelAndValidationsTest extends TestCase
{
/** @test */
public function controller_file_with_existing_model_and_fillables_with_validati... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Integration/CreateControllerWithModelTest.php | tests/Integration/CreateControllerWithModelTest.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests\Integration;
use Illuminate\Support\Facades\File;
use Mehradsadeghi\CrudGenerator\Tests\TestCase;
class CreateControllerWithModelTest extends TestCase
{
/** @test */
public function controller_file_with_model_can_be_created()
{
$this->assertFalse(... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Integration/CreateEmptyControllerTest.php | tests/Integration/CreateEmptyControllerTest.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests\Integration;
use Illuminate\Support\Facades\File;
use Mehradsadeghi\CrudGenerator\Tests\TestCase;
class CreateEmptyControllerTest extends TestCase
{
/** @test */
public function empty_controller_file_can_be_created()
{
$this->assertFalse(File::exi... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/TestCrudGeneratorServiceProvider.php | tests/Stubs/TestCrudGeneratorServiceProvider.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests\Stubs;
use Mehradsadeghi\CrudGenerator\CrudGeneratorServiceProvider;
class TestCrudGeneratorServiceProvider extends CrudGeneratorServiceProvider
{
public function boot()
{
if($this->app->runningInConsole()) {
$this->commands([TestCrudGener... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/TestCrudGeneratorMakeCommand.php | tests/Stubs/TestCrudGeneratorMakeCommand.php | <?php
namespace Mehradsadeghi\CrudGenerator\Tests\Stubs;
use Mehradsadeghi\CrudGenerator\CrudGeneratorMakeCommand;
class TestCrudGeneratorMakeCommand extends CrudGeneratorMakeCommand
{
protected function getStub()
{
return str_replace(base_path(), __DIR__.'/../../src', parent::getStub());
}
}
| php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/Controllers/UserControllerWithModel.php | tests/Stubs/Controllers/UserControllerWithModel.php | <?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$users = User::all();
return view('us... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/Controllers/EmptyUserController.php | tests/Stubs/Controllers/EmptyUserController.php | <?php
namespace App\Http\Controllers;
class UserController extends Controller
{
//
}
| php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/Controllers/UserControllerWithModelAndValidation.php | tests/Stubs/Controllers/UserControllerWithModelAndValidation.php | <?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$users = User::all();
return view('us... | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/Models/EmptyUser.php | tests/Stubs/Models/EmptyUser.php | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
//
}
| php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-crud-generator | https://github.com/mehradsadeghi/laravel-crud-generator/blob/0afce6d77c61cee6334ac4637c142f53c92d5cff/tests/Stubs/Models/UserWithFillable.php | tests/Stubs/Models/UserWithFillable.php | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model {
protected $fillable = [
'name',
'email',
'password'
];
} | php | MIT | 0afce6d77c61cee6334ac4637c142f53c92d5cff | 2026-01-05T03:56:38.781166Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/helpers/helpers.php | helpers/helpers.php | <?php
if (!function_exists('separateCommaValues')) {
function separateCommaValues($value)
{
return explode(',', $value);
}
}
if (!function_exists('hasComma')) {
function hasComma($value)
{
return strpos($value, ',');
}
}
if (!function_exists('isDateTime')) {
function isDat... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Resolvings.php | src/Resolvings.php | <?php
namespace Mehradsadeghi\FilterQueryString;
trait Resolvings {
private function resolve($filterName, $values)
{
if($this->isCustomFilter($filterName)) {
return $this->resolveCustomFilter($filterName, $values);
}
$availableFilter = $this->availableFilters[$filterName]... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/FilterQueryString.php | src/FilterQueryString.php | <?php
namespace Mehradsadeghi\FilterQueryString;
use Illuminate\Pipeline\Pipeline;
use Mehradsadeghi\FilterQueryString\Filters\{OrderbyClause, WhereClause, WhereInClause, WhereLikeClause};
use Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\{GreaterOrEqualTo, GreaterThan, LessOrEqualTo, LessThan};
use Mehra... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/WhereLikeClause.php | src/Filters/WhereLikeClause.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters;
use Illuminate\Database\Eloquent\Builder;
class WhereLikeClause extends BaseClause {
public function apply($query): Builder
{
$normalized = $this->normalizeValues();
$query->where(function($query) use($normalized) {
foreac... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/OrderbyClause.php | src/Filters/OrderbyClause.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters;
use Illuminate\Database\Eloquent\Builder;
class OrderbyClause extends BaseClause {
protected function apply($query): Builder
{
foreach ($this->normalizeValues() as $field => $order) {
$query->orderBy($field, $order);
}
... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/BaseClause.php | src/Filters/BaseClause.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters;
use Illuminate\Database\Eloquent\Builder;
abstract class BaseClause {
protected $query;
protected $filter;
protected $values;
public function __construct($values, $filter) {
$this->values = $values;
$this->filter = $filter;
... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/WhereInClause.php | src/Filters/WhereInClause.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters;
use Illuminate\Database\Eloquent\Builder;
class WhereInClause extends BaseClause {
public function apply($query): Builder
{
[$field, $values] = $this->normalizeValues();
return $query->whereIn($field, $values);
}
public funct... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/WhereClause.php | src/Filters/WhereClause.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters;
use Illuminate\Database\Eloquent\Builder;
class WhereClause extends BaseClause {
protected function apply($query): Builder
{
$method = is_array($this->values) ? 'orWhere' : 'andWhere';
return $this->{$method}($query, $this->filter, $t... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/LessThan.php | src/Filters/ComparisonClauses/LessThan.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses;
class LessThan extends BaseComparison
{
public $operator = '<';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/LessOrEqualTo.php | src/Filters/ComparisonClauses/LessOrEqualTo.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses;
class LessOrEqualTo extends BaseComparison
{
public $operator = '<=';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/GreaterOrEqualTo.php | src/Filters/ComparisonClauses/GreaterOrEqualTo.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses;
class GreaterOrEqualTo extends BaseComparison
{
public $operator = '>=';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/GreaterThan.php | src/Filters/ComparisonClauses/GreaterThan.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses;
class GreaterThan extends BaseComparison
{
public $operator = '>';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/BaseComparison.php | src/Filters/ComparisonClauses/BaseComparison.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses;
use Illuminate\Database\Eloquent\Builder;
use Mehradsadeghi\FilterQueryString\Filters\BaseClause;
abstract class BaseComparison extends BaseClause
{
protected $isDateTime = false;
protected $method;
protected $normalized = [];
... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/Between/Betweener.php | src/Filters/ComparisonClauses/Between/Betweener.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\Between;
use Illuminate\Database\Eloquent\Builder;
trait Betweener
{
public function apply($query): Builder
{
$this->normalizeValues($this->values);
foreach($this->normalized as $field => $values) {
$query-... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/Between/NotBetween.php | src/Filters/ComparisonClauses/Between/NotBetween.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\Between;
use Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\BaseComparison;
class NotBetween extends BaseComparison
{
use Betweener;
public $method = 'whereNotBetween';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/src/Filters/ComparisonClauses/Between/Between.php | src/Filters/ComparisonClauses/Between/Between.php | <?php
namespace Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\Between;
use Mehradsadeghi\FilterQueryString\Filters\ComparisonClauses\BaseComparison;
class Between extends BaseComparison
{
use Betweener;
public $method = 'whereBetween';
}
| php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/TestCase.php | tests/TestCase.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests;
use Illuminate\Support\Facades\Route;
use Mehradsadeghi\FilterQueryString\Models\User;
abstract class TestCase extends \Orchestra\Testbench\TestCase
{
protected function setUp(): void
{
parent::setUp();
$this->loadMigrationsFrom(__DIR__.... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/CustomFilterTest.php | tests/CustomFilterTest.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests;
use Mehradsadeghi\FilterQueryString\Models\User;
class CustomFilterTest extends TestCase
{
/** @test */
public function young_custom_method()
{
$query = 'young=1';
$response = $this->get("/?$query");
$response->assertJsonCou... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/CustomParametersTest.php | tests/CustomParametersTest.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests;
use Illuminate\Support\Facades\Route;
use Mehradsadeghi\FilterQueryString\Models\User;
class CustomParametersTest extends TestCase
{
/** @test */
public function filter_with_specific_parameters_can_be_performed_correctly()
{
Route::get('/', f... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/Filters/WhereInClauseTest.php | tests/Filters/WhereInClauseTest.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests\Filters;
use Mehradsadeghi\FilterQueryString\Models\User;
use Mehradsadeghi\FilterQueryString\Tests\TestCase;
class WhereInClauseTest extends TestCase
{
/** @test */
public function a_wherein_clause_can_be_performed()
{
$query = 'in=name,mehra... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/Filters/OrderbyClauseTest.php | tests/Filters/OrderbyClauseTest.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests\Filters;
use Mehradsadeghi\FilterQueryString\Models\User;
use Mehradsadeghi\FilterQueryString\Tests\TestCase;
class OrderbyClauseTest extends TestCase
{
/** @test */
public function a_sort_clause_with_empty_value_will_be_ignored()
{
$query = '... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
mehradsadeghi/laravel-filter-querystring | https://github.com/mehradsadeghi/laravel-filter-querystring/blob/e408fa0673b0ee961c6f077794f5dcfacceb8c25/tests/Filters/WhereClauseTest.php | tests/Filters/WhereClauseTest.php | <?php
namespace Mehradsadeghi\FilterQueryString\Tests\Filters;
use Illuminate\Support\Facades\Route;
use Mehradsadeghi\FilterQueryString\Models\User;
use Mehradsadeghi\FilterQueryString\Tests\TestCase;
class WhereClauseTest extends TestCase
{
/** @test */
public function a_where_clause__with_empty_value_will... | php | MIT | e408fa0673b0ee961c6f077794f5dcfacceb8c25 | 2026-01-05T03:56:53.466644Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.