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 |
|---|---|---|---|---|---|---|---|---|
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/tests/App/Modules/Routes/Extractors/Stubs/FormRequestStub.php | tests/App/Modules/Routes/Extractors/Stubs/FormRequestStub.php | <?php
namespace Sunchayn\Nimbus\Tests\App\Modules\Routes\Extractors\Stubs;
use Illuminate\Http\Request;
class FormRequestStub extends Request
{
public function rules(): array
{
return [
'name' => 'required|string',
'email' => 'required|email',
];
}
}
| php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/tests/App/Modules/Routes/Extractors/Stubs/FormRequestWithExceptionStub.php | tests/App/Modules/Routes/Extractors/Stubs/FormRequestWithExceptionStub.php | <?php
namespace Sunchayn\Nimbus\Tests\App\Modules\Routes\Extractors\Stubs;
use Illuminate\Http\Request;
class FormRequestWithExceptionStub extends Request
{
public function rules(): array
{
throw new \RuntimeException('Cannot access request context');
}
}
| php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/tests/App/Commands/Intellisense/GenerateIntellisenseCommandFunctionalTest.php | tests/App/Commands/Intellisense/GenerateIntellisenseCommandFunctionalTest.php | <?php
namespace Sunchayn\Nimbus\Tests\App\Commands\Intellisense;
use Carbon\CarbonImmutable;
use Mockery;
use PHPUnit\Framework\Attributes\CoversClass;
use RuntimeException;
use Sunchayn\Nimbus\Commands\Intellisense\GenerateIntellisenseCommand;
use Sunchayn\Nimbus\IntellisenseProviders\Contracts\IntellisenseContract;... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/tests/App/Commands/Intellisense/Stubs/Providers/FakeProviderTwo.php | tests/App/Commands/Intellisense/Stubs/Providers/FakeProviderTwo.php | <?php
namespace Sunchayn\Nimbus\Tests\App\Commands\Intellisense\Stubs\Providers;
class FakeProviderTwo extends FakeProviderOne
{
public function getStub(): string
{
return 'fake-provider-two.ts.stub';
}
}
| php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/tests/App/Commands/Intellisense/Stubs/Providers/FakeProviderOne.php | tests/App/Commands/Intellisense/Stubs/Providers/FakeProviderOne.php | <?php
namespace Sunchayn\Nimbus\Tests\App\Commands\Intellisense\Stubs\Providers;
use Illuminate\Support\Str;
use RuntimeException;
use Sunchayn\Nimbus\IntellisenseProviders\Contracts\IntellisenseContract;
class FakeProviderOne implements IntellisenseContract
{
public function getStub(): string
{
retu... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/routes/web.php | routes/web.php | <?php
use Illuminate\Support\Facades\Route;
use Sunchayn\Nimbus\Http\Web\Controllers\NimbusIndexController;
Route::group(
[
'domain' => config('nimbus.domain'),
'prefix' => config('nimbus.prefix'),
'middleware' => 'web',
],
function () {
Route::get('/{view?}', NimbusIndexCo... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/routes/api.php | routes/api.php | <?php
use Illuminate\Support\Facades\Route;
use Sunchayn\Nimbus\Http\Api\Relay\NimbusRelayController;
Route::group(
[
'domain' => config('nimbus.domain'),
'prefix' => config('nimbus.prefix').'/api',
],
function () {
Route::post('/relay', NimbusRelayController::class)
->... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/config/nimbus.php | config/nimbus.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Nimbus UI Prefix
|--------------------------------------------------------------------------
|
| This value defines the URI prefix for the Nimbus UI. The interface will
| be accessible at {your-... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
sunchayn/nimbus | https://github.com/sunchayn/nimbus/blob/8bdd510f179b0c86175557d41fbda2797a41a507/resources/views/app.blade.php | resources/views/app.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="{{ asset('/vendor/nimbus/favicon/favicon-96x96.png') }}" sizes="96x96" />
<link rel="i... | php | MIT | 8bdd510f179b0c86175557d41fbda2797a41a507 | 2026-01-05T05:17:17.516160Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/LanguageInterface.php | src/LanguageInterface.php | <?php
namespace TheIconic\NameParser;
interface LanguageInterface
{
public function getSuffixes(): array;
public function getLastnamePrefixes(): array;
public function getSalutations(): array;
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Name.php | src/Name.php | <?php
namespace TheIconic\NameParser;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\GivenNamePart;
class Name
{
private const PARTS_NAMESPACE = 'TheIconic\NameParser\Part';
/**
* @var array the parts that make up this name
*/
protected $parts = [];
/**
* c... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Parser.php | src/Parser.php | <?php
namespace TheIconic\NameParser;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Mapper\NicknameMapper;
use TheIconic\NameParser\Mapper\SalutationMapper;
use TheIconic\NameParser\Mapper\SuffixMapper;
use TheIconic\NameParser\Mapper\InitialMapper;
use TheIconic\NameParser\Mapper\LastnameMapper... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Firstname.php | src/Part/Firstname.php | <?php
namespace TheIconic\NameParser\Part;
class Firstname extends GivenNamePart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Lastname.php | src/Part/Lastname.php | <?php
namespace TheIconic\NameParser\Part;
class Lastname extends NamePart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/NamePart.php | src/Part/NamePart.php | <?php
namespace TheIconic\NameParser\Part;
abstract class NamePart extends AbstractPart
{
/**
* camelcase the lastname
*
* @return string
*/
public function normalize(): string
{
return $this->camelcase($this->getValue());
}
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Middlename.php | src/Part/Middlename.php | <?php
namespace TheIconic\NameParser\Part;
class Middlename extends GivenNamePart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/PreNormalizedPart.php | src/Part/PreNormalizedPart.php | <?php
namespace TheIconic\NameParser\Part;
abstract class PreNormalizedPart extends AbstractPart
{
protected $normalized = '';
public function __construct(string $value, string $normalized = null)
{
$this->normalized = $normalized ?? $value;
parent::__construct($value);
}
/**
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Salutation.php | src/Part/Salutation.php | <?php
namespace TheIconic\NameParser\Part;
class Salutation extends PreNormalizedPart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/GivenNamePart.php | src/Part/GivenNamePart.php | <?php
namespace TheIconic\NameParser\Part;
abstract class GivenNamePart extends NamePart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Nickname.php | src/Part/Nickname.php | <?php
namespace TheIconic\NameParser\Part;
class Nickname extends AbstractPart
{
/**
* camelcase the nickname for normalization
*
* @return string
*/
public function normalize(): string
{
return $this->camelcase($this->getValue());
}
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/AbstractPart.php | src/Part/AbstractPart.php | <?php
namespace TheIconic\NameParser\Part;
abstract class AbstractPart
{
/**
* @var string the wrapped value
*/
protected $value;
/**
* constructor allows passing the value to wrap
*
* @param $value
*/
public function __construct($value)
{
$this->setValue($va... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/LastnamePrefix.php | src/Part/LastnamePrefix.php | <?php
namespace TheIconic\NameParser\Part;
class LastnamePrefix extends Lastname
{
protected $normalized = '';
public function __construct(string $value, string $normalized = null)
{
$this->normalized = $normalized ?? $value;
parent::__construct($value);
}
/**
* if this is ... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Initial.php | src/Part/Initial.php | <?php
namespace TheIconic\NameParser\Part;
class Initial extends GivenNamePart
{
/**
* uppercase the initial
*
* @return string
*/
public function normalize(): string
{
return strtoupper($this->getValue());
}
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Part/Suffix.php | src/Part/Suffix.php | <?php
namespace TheIconic\NameParser\Part;
class Suffix extends PreNormalizedPart
{
}
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Language/German.php | src/Language/German.php | <?php
namespace TheIconic\NameParser\Language;
use TheIconic\NameParser\LanguageInterface;
class German implements LanguageInterface
{
const SUFFIXES = [
'1.' => '1.',
'2.' => '2.',
'3.' => '3.',
'4.' => '4.',
'5.' => '5.',
'i' => 'I',
'ii' => 'II',
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Language/English.php | src/Language/English.php | <?php
namespace TheIconic\NameParser\Language;
use TheIconic\NameParser\LanguageInterface;
class English implements LanguageInterface
{
const SUFFIXES = [
'1st' => '1st',
'2nd' => '2nd',
'3rd' => '3rd',
'4th' => '4th',
'5th' => '5th',
'i' => 'I',
'ii' => 'I... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/SalutationMapper.php | src/Mapper/SalutationMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Salutation;
class SalutationMapper extends AbstractMapper
{
protected $salutations = [];
protected $maxIndex = 0;
public function __construct(array $salutations, $maxIndex = 0)
{
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/SuffixMapper.php | src/Mapper/SuffixMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Suffix;
class SuffixMapper extends AbstractMapper
{
protected $suffixes = [];
protected $matchSinglePart = false;
protected $reservedParts = 2;
public function __construct(array $... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/LastnameMapper.php | src/Mapper/LastnameMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\LanguageInterface;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\LastnamePrefix;
use TheIconic\NameParser\Part\Nickname;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\Nam... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/InitialMapper.php | src/Mapper/InitialMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Initial;
/**
* single letter, possibly followed by a period
*/
class InitialMapper extends AbstractMapper
{
protected $matchLastPart = false;
private $combinedMax = 2;
public functio... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/FirstnameMapper.php | src/Mapper/FirstnameMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\Initial;
use TheIconic\NameParser\Part\Salutation;
class FirstnameMapper extends AbstractMapper
{
/**
* map ... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/MiddlenameMapper.php | src/Mapper/MiddlenameMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\Middlename;
class MiddlenameMapper extends AbstractMapper
{
protected $mapWithoutLastname = false;
public fu... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/NicknameMapper.php | src/Mapper/NicknameMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Nickname;
class NicknameMapper extends AbstractMapper
{
/**
* @var array
*/
protected $delimiters = [
'[' => ']',
'{' => '}',
'(' => ')',
'<' => '>'... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/src/Mapper/AbstractMapper.php | src/Mapper/AbstractMapper.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\AbstractPart;
use TheIconic\NameParser\Part\Nickname;
abstract class AbstractMapper
{
/**
* implements the mapping of parts
*
* @param array $parts - the name parts
* @return array $parts - the mapped parts
*/
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/NameTest.php | tests/NameTest.php | <?php
namespace TheIconic\NameParser;
use PHPUnit\Framework\TestCase;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Initial;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\LastnamePrefix;
use TheIconic\NameParser\Part\Middlename;
use TheIconic\NameParser\Part\Nickname;
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/ParserTest.php | tests/ParserTest.php | <?php
namespace TheIconic\NameParser;
use PHPUnit\Framework\TestCase;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Language\German;
class ParserTest extends TestCase
{
/**
* @return array
*/
public function provider()
{
return [
[
'Jame... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/GermanParserTest.php | tests/GermanParserTest.php | <?php
namespace TheIconic\NameParser;
use PHPUnit\Framework\TestCase;
use TheIconic\NameParser\Language\German;
class GermanParserTest extends TestCase
{
/**
* @return array
*/
public function provider()
{
return [
[
'Herr Schmidt',
[
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/bootstrap.php | tests/bootstrap.php | <?php
use phpmock\phpunit\PHPMock;
PHPMock::defineFunctionMock('TheIconic\NameParser\Part', 'function_exists');
require dirname(__DIR__) . '/vendor/autoload.php';
| php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Part/AbstractPartTest.php | tests/Part/AbstractPartTest.php | <?php
namespace TheIconic\NameParser\Part;
use PHPUnit\Framework\TestCase;
class AbstractPartTest extends TestCase
{
/**
* make sure the placeholder normalize() method returns the original value
*/
public function testNormalize()
{
$part = $this->getMockForAbstractClass(AbstractPart::cl... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Part/NormalisationTest.php | tests/Part/NormalisationTest.php | <?php
namespace TheIconic\NameParser\Part;
use phpmock\phpunit\PHPMock;
use PHPUnit\Framework\TestCase;
class NormalisationTest extends TestCase
{
use PHPMock;
/**
* make sure we test both with and without mb_string support
*/
public function testCamelcasingWorksWithMbString()
{
$f... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/InitialMapperTest.php | tests/Mapper/InitialMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Part\Initial;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Lastname;
class InitialMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public functio... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/LastnameMapperTest.php | tests/Mapper/LastnameMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\LastnamePrefix;
class LastnameMapperTest extends AbstractMapperTest
{
/*... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/AbstractMapperTest.php | tests/Mapper/AbstractMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use PHPUnit\Framework\TestCase;
abstract class AbstractMapperTest extends TestCase
{
/**
* @dataProvider provider
*
* @param $input
* @param $expectation
*/
public function testMap($input, $expectation, $arguments = [])
{
$mapp... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/MiddlenameMapperTest.php | tests/Mapper/MiddlenameMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Middlename;
use TheIconic\NameParser\Part\Lastname;
class MiddlenameMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public fun... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/SuffixMapperTest.php | tests/Mapper/SuffixMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Part\Lastname;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Suffix;
class SuffixMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public function p... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/FirstnameMapperTest.php | tests/Mapper/FirstnameMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Lastname;
class FirstnameMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public function provider()
{
return [
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/SalutationMapperTest.php | tests/Mapper/SalutationMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Language\English;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Firstname;
use TheIconic\NameParser\Part\Lastname;
class SalutationMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public fu... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
theiconic/name-parser | https://github.com/theiconic/name-parser/blob/8da40c7c093740f3514f826ead7d403fdc3ccb64/tests/Mapper/NicknameMapperTest.php | tests/Mapper/NicknameMapperTest.php | <?php
namespace TheIconic\NameParser\Mapper;
use TheIconic\NameParser\Part\Salutation;
use TheIconic\NameParser\Part\Nickname;
class NicknameMapperTest extends AbstractMapperTest
{
/**
* @return array
*/
public function provider()
{
return [
[
'input' => [
... | php | MIT | 8da40c7c093740f3514f826ead7d403fdc3ccb64 | 2026-01-05T05:17:23.809919Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenien... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
/**
* @psalm-suppress UndefinedClass
*/
class Handler extends ExceptionHandler
{
/**
* A list of exception types with their corresponding custom log levels.
*
* @var array<class-strin... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/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
*/
/**
* @psalm-suppr... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Livewire/AdminController.php | app/Http/Livewire/AdminController.php | <?php
namespace App\Http\Livewire;
use Livewire\Component;
class AdminController extends Component
{
/**
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
*/
public function render()
{
return view('livewire.admin-controller');
}
}
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Livewire/SearchVelflix.php | app/Http/Livewire/SearchVelflix.php | <?php
namespace App\Http\Livewire;
use Illuminate\Support\Facades\Http;
use Livewire\Component;
/**
* @psalm-suppress UndefinedClass
*/
class SearchVelflix extends Component
{
public ?string $searchVelflix = '';
/**
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
*/
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesReques... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/NewsletterController.php | app/Http/Controllers/NewsletterController.php | <?php
namespace App\Http\Controllers;
use App\Services\Newsletter;
use Exception;
use Illuminate\Validation\ValidationException;
class NewsletterController extends Controller
{
/**
* @param \App\Services\Newsletter $newsletter
* @return \Illuminate\Routing\Redirector|\Illuminate\Http\RedirectResponse... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/VelflixController.php | app/Http/Controllers/VelflixController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
class VelflixController extends Controller
{
/**
* @param mixed $genreId
* @return mixed
*/
private func... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/SessionsController.php | app/Http/Controllers/SessionsController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Validation\ValidationException;
class SessionsController extends Controller
{
/**
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
*/
public function create()
{
return view('auth.login');
}
/**
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/LoginController.php | app/Http/Controllers/LoginController.php | <?php
namespace App\Http\Controllers;
use App\Models\User;
use Laravel\Socialite\Facades\Socialite;
class LoginController extends Controller
{
/**
* @return \Symfony\Component\HttpFoundation\RedirectResponse
*/
public function redirectToProvider()
{
return Socialite::driver('google')->r... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Controllers/RegisterController.php | app/Http/Controllers/RegisterController.php | <?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Validation\Rule;
class RegisterController extends Controller
{
/**
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
*/
public function create()
{
return vie... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/Authenticate.php | app/Http/Middleware/Authenticate.php | <?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $nex... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
/**
* @psalm-suppress UndefinedClass
*/
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/PreventRequestsDuringMaintenance.php | app/Http/Middleware/PreventRequestsDuringMaintenance.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/TrimStrings.php | app/Http/Middleware/TrimStrings.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'current_password',
'passw... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/TrustHosts.php | app/Http/Middleware/TrustHosts.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array
*/
public function hosts()
{
return [
$this->allSubdomainsOfApp... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/EncryptCookies.php | app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Http/Middleware/VerifyCsrfToken.php | app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Services/Newsletter.php | app/Services/Newsletter.php | <?php
namespace App\Services;
use MailchimpMarketing\ApiClient;
class Newsletter
{
/**
* @param string $email
* @param string|null $list
* @return mixed
*/
public function subscribe(string $email, string $list = null)
{
$list ??= config('services.mailchimp.lists.subscriber... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/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 = [
//
];
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Models/User.php | app/Models/User.php | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The attributes that are mass assignable.
*
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Providers/BroadcastServiceProvider.php | app/Providers/BroadcastServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvide... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Providers/EventServiceProvider.php | app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/*... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use App\Models\User;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/Providers/AuthServiceProvider.php | app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
// use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The model to policy mappings for the application.
*
* @var array<class-string, class-... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/app/View/Components/velflixCard.php | app/View/Components/velflixCard.php | <?php
namespace App\View\Components;
use Illuminate\View\Component;
class velflixCard extends Component
{
/** @var mixed */
public $velflix;
/**
* @param mixed $movie
* @return void
*/
public function __construct($movie)
{
$this->velflix = $movie;
}
/**
* G... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/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 | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/Pest.php | tests/Pest.php | <?php
/*
|--------------------------------------------------------------------------
| Test Case
|--------------------------------------------------------------------------
|
| The closure you provide to your test functions is always bound to a specific PHPUnit test
| case class. By default, that class is "PHPUnit\Fra... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
}
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/CreatesApplication.php | tests/CreatesApplication.php | <?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/ExampleTest.php | tests/ExampleTest.php | <?php
test('example', function () {
expect(true)->toBeTrue();
});
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/Feature/AuthenticationTest.php | tests/Feature/AuthenticationTest.php | <?php
test('Test login screen can be rendered')->get('/login')->assertStatus(200);
test('Test users can authenticate using the login screen', function () {
$response = $this->post('/login', [
'email' => 'user@gmail.com',
'password' => 'password',
]);
$this->assertAuthenticated();
$res... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/Feature/RegistrationTest.php | tests/Feature/RegistrationTest.php | <?php
use Illuminate\Foundation\Testing\RefreshDatabase;
uses(RefreshDatabase::class);
test('test registration screen can berendered')->get('/register')->assertStatus(200);
test('test new users can register', function () {
$response = $this->post('/register', [
'name' => 'User Test',
'username' ... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/tests/Unit/ExampleTest.php | tests/Unit/ExampleTest.php | <?php
namespace Tests\Unit;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$this->assertTrue(true);
}
}
| php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/routes/web.php | routes/web.php | <?php
use App\Http\Controllers\LoginController;
use App\Http\Controllers\NewsletterController;
use App\Http\Controllers\RegisterController;
use App\Http\Controllers\SessionsController;
use App\Http\Controllers\VelflixController;
use Illuminate\Support\Facades\Route;
Route::view('/', 'home');
Route::post('newsletter',... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/routes/channels.php | routes/channels.php | <?php
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application suppo... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/routes/api.php | routes/api.php | <?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/routes/console.php | routes/console.php | <?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/public/index.php | public/index.php | <?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Check If The Application Is Under Maintenance
|--------------------------------------------------------------------------... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/app.php | config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/logging.php | config/logging.php | <?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/session.php | config/session.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be use... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving y... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/cache.php | config/cache.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used whil... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/hashing.php | config/hashing.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Hash Driver
|--------------------------------------------------------------------------
|
| This option controls the default hash driver that will be used to hash
| passwords for your ap... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/compass.php | config/compass.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Compass Path
|--------------------------------------------------------------------------
|
| This is the URI path where Compass will be accessible from. Feel free
| to change this path to anythi... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/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 | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/database.php | config/database.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/blade-icons.php | config/blade-icons.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Icons Sets
|--------------------------------------------------------------------------
|
| With this config option you can define a couple of
| default icon sets. Provide a key name for your ico... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
josuapsianturi/velflix | https://github.com/josuapsianturi/velflix/blob/057684c58e627783f1aa8247fb394d3a8b533d36/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... | php | MIT | 057684c58e627783f1aa8247fb394d3a8b533d36 | 2026-01-05T05:17:21.315532Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.