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 |
|---|---|---|---|---|---|---|---|---|
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageOnClass.php | examples/package/packageOnClass.php | <?php
declare(strict_types=1);
namespace PackageOnClass {
use DaveLiddament\PhpLanguageExtensions\Package;
#[Package]
class Person
{
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // OK: Calls to same... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageOnMethod.php | examples/package/packageOnMethod.php | <?php
declare(strict_types=1);
namespace PackageOnMethod {
use DaveLiddament\PhpLanguageExtensions\Package;
class Person
{
#[Package]
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // OK
}
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageRulesIgnoredForTestClass.php | examples/package/packageRulesIgnoredForTestClass.php | <?php
declare(strict_types=1);
namespace PackageRulesIgnoredForTestClass {
use DaveLiddament\PhpLanguageExtensions\Package;
#[Package]
class Person
{
public function updateName(): void
{
}
}
}
namespace PackageRulesIgnoredForTestClass\Person {
use PackageRulesIgnor... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageRulesIgnoredForTestNamespace.php | examples/package/packageRulesIgnoredForTestNamespace.php | <?php
declare(strict_types=1);
namespace PackageRulesIgnoredForTestNamespace {
use DaveLiddament\PhpLanguageExtensions\Package;
#[Package]
class Person
{
public function updateName(): void
{
}
}
}
namespace PackageRulesIgnoredForTestNamespace\Test\Person {
use Pa... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageOnConstructor.php | examples/package/packageOnConstructor.php | <?php
namespace PackageOnConstructor {
use DaveLiddament\PhpLanguageExtensions\Package;
class Person
{
#[Package]
public function __construct()
{
}
public static function create(): Person
{
return new Person(); // OK: Calls to same class allowe... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/package/packageOnStaticMethod.php | examples/package/packageOnStaticMethod.php | <?php
namespace PackageOnStaticMethod {
use DaveLiddament\PhpLanguageExtensions\Package;
class Person
{
#[Package]
public static function updateName(): void
{
}
public static function update(): void
{
Person::updateName(); // OK: Calls to same ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/mustUseResult/mustUseResultOnMethod.php | examples/mustUseResult/mustUseResultOnMethod.php | <?php
namespace MustUseResultOnMethod {
use DaveLiddament\PhpLanguageExtensions\MustUseResult;
class AClass {
#[MustUseResult]
public function mustUseResult(): int
{
return 1;
}
public function dontNeedToUseResult(): int
{
return 2;
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/mustUseResult/mustUseResultOnStaticMethod.php | examples/mustUseResult/mustUseResultOnStaticMethod.php | <?php
namespace MustUseResultOnMethod {
use DaveLiddament\PhpLanguageExtensions\MustUseResult;
class AClass {
#[MustUseResult]
public static function mustUseResult(): int
{
return 1;
}
public static function dontNeedToUseResult(): int
{
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/restrictTraitTo/restrictTraitTo.php | examples/restrictTraitTo/restrictTraitTo.php | <?php
declare(strict_types=1);
namespace RestrictTraitTo;
use DaveLiddament\PhpLanguageExtensions\RestrictTraitTo;
trait UseAnywhere {}
#[RestrictTraitTo(Interface1::class)]
trait UseOnlyOnInterface1 {}
#[RestrictTraitTo(AbstractClass1::class)]
trait UseOnlyOnAbstractClass1 {}
#[RestrictTraitTo(Class2::class)]
t... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendOnClass.php | examples/friend/friendOnClass.php | <?php
declare(strict_types=1);
namespace FriendOnClass;
use DaveLiddament\PhpLanguageExtensions\Friend;
#[Friend(FriendUpdater::class)]
class Person
{
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // OK
}
}
class Updater
{
public ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendOnMethod.php | examples/friend/friendOnMethod.php | <?php
declare(strict_types=1);
namespace FriendOnMethod;
use DaveLiddament\PhpLanguageExtensions\Friend;
class Person
{
#[Friend(FriendUpdater::class)]
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // OK: Method calls on same class is a... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendRulesIgnoredForTestNamespace.php | examples/friend/friendRulesIgnoredForTestNamespace.php | <?php
declare(strict_types=1);
namespace FriendRulesIgnoredForTestNamespace {
use DaveLiddament\PhpLanguageExtensions\Friend;
#[Friend(FriendUpdater::class)]
class Person
{
public function updateName(): void
{
}
}
class FriendUpdater
{
}
}
namespace Frie... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendOnDifferentNamespace.php | examples/friend/friendOnDifferentNamespace.php | <?php
namespace FriendOnDifferentNamespace1 {
use DaveLiddament\PhpLanguageExtensions\Friend;
use FriendOnDifferentNamespace2\Builder;
class Employee
{
#[Friend(Builder::class)]
public function update(): void
{
}
}
}
namespace FriendOnDifferentNamespace2 {
use ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/multipleFriends.php | examples/friend/multipleFriends.php | <?php
declare(strict_types=1);
namespace MultipleFriends;
use DaveLiddament\PhpLanguageExtensions\Friend;
class Person
{
#[Friend(FriendUpdater::class, AnotherFriendUpdater::class)]
public function updateName(): void
{
}
}
class FriendUpdater
{
public function update(Person $person): void
{... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendOnConstructor.php | examples/friend/friendOnConstructor.php | <?php
namespace FriendOnConstructor;
use DaveLiddament\PhpLanguageExtensions\Friend;
class Person
{
#[Friend(PersonBuilder::class)]
public function __construct()
{
}
public static function create(): Person
{
return new Person(); // OK: Method calls on same class always allowed.
}... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendOnStaticMethod.php | examples/friend/friendOnStaticMethod.php | <?php
namespace FriendOnStaticMethod;
use DaveLiddament\PhpLanguageExtensions\Friend;
class Person
{
#[Friend(FriendUpdater::class)]
public static function updateName(): void
{
}
public static function update(): void
{
Person::updateName(); // OK: Method calls within class allowed
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/friend/friendRulesIgnoredForTestClass.php | examples/friend/friendRulesIgnoredForTestClass.php | <?php
declare(strict_types=1);
namespace FriendRulesIgnoredForTestClass;
use DaveLiddament\PhpLanguageExtensions\Friend;
#[Friend(FriendUpdater::class)]
class Person
{
public function updateName(): void
{
}
}
class FriendUpdater
{
}
class PersonTest
{
public function updater(Person $person): void... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/override/overrideOnInterface.php | examples/override/overrideOnInterface.php | <?php
declare(strict_types=1);
namespace OverrideOnInterface {
use DaveLiddament\PhpLanguageExtensions\Override;
abstract class AnInterface {
abstract public function method1(): void;
public function method2(): void {}
public function anotherMethod(): void {}
}
class C... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/override/overrideRfcExamples.php | examples/override/overrideRfcExamples.php | <?php
declare(strict_types=1);
namespace overrideRfcExample1 {
use DaveLiddament\PhpLanguageExtensions\Override;
class P {
protected function p(): void {}
}
class C extends P {
#[Override]
public function p(): void {}
}
}
namespace overrideRfcExample2 {
use DaveLi... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/override/overrideOnClass.php | examples/override/overrideOnClass.php | <?php
declare(strict_types=1);
namespace OverrideOnClass {
use DaveLiddament\PhpLanguageExtensions\Override;
abstract class BaseClass {
abstract public function method1(): void;
public function method2(): void {}
public function anotherMethod(): void {}
}
class Class1 ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @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. Thi... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/User/Models/User.php | app/src/Containers/User/Models/User.php | <?php
namespace LargeLaravel\Containers\User\Models;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fill... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/User/Data/Migrations/2014_10_12_000000_create_users_table.php | app/src/Containers/User/Data/Migrations/2014_10_12_000000_create_users_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/UI/API/Controllers/BookController.php | app/src/Containers/Book/UI/API/Controllers/BookController.php | <?php
namespace LargeLaravel\Containers\Book\UI\API\Controllers;
use LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInterface;
use LargeLaravel\Containers\Book\UI\API\Resources\BookListResource;
use LargeLaravel\Ship\Abstracts\Controllers\Controller;
use LargeLaravel\Ship\Http\Requests\API\Pagina... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/UI/API/Resources/BookListResource.php | app/src/Containers/Book/UI/API/Resources/BookListResource.php | <?php
namespace LargeLaravel\Containers\Book\UI\API\Resources;
use LargeLaravel\Containers\Book\Collections\BookCollection;
use LargeLaravel\Containers\Book\UI\API\Resources\Interfaces\BookListResourceInterface;
use LargeLaravel\Ship\Abstracts\Resources\ApiResource;
class BookListResource extends ApiResource implem... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/UI/API/Resources/Interfaces/BookListResourceInterface.php | app/src/Containers/Book/UI/API/Resources/Interfaces/BookListResourceInterface.php | <?php
namespace LargeLaravel\Containers\Book\UI\API\Resources\Interfaces;
use LargeLaravel\Containers\Book\Collections\BookCollection;
interface BookListResourceInterface
{
public function fromCollection(BookCollection $bookCollection): array;
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/UI/API/Routes/RouteProvider.php | app/src/Containers/Book/UI/API/Routes/RouteProvider.php | <?php
namespace LargeLaravel\Containers\Book\UI\API\Routes;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use LargeLaravel\Containers\Book\UI\API\Controllers\BookController;
class RouteProvider extends ServiceProvider
{
public function boot(): void
{
$this->bookRoute()... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Proxies/BookEloquentProxy.php | app/src/Containers/Book/Proxies/BookEloquentProxy.php | <?php
namespace LargeLaravel\Containers\Book\Proxies;
use LargeLaravel\Containers\Book\Models\Book;
use LargeLaravel\Ship\Abstracts\Proxies\BaseEloquentProxy;
class BookEloquentProxy extends BaseEloquentProxy
{
protected const MODEL = Book::class;
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Actions/GetBookListAction.php | app/src/Containers/Book/Actions/GetBookListAction.php | <?php
namespace LargeLaravel\Containers\Book\Actions;
use Carbon\Carbon;
use LargeLaravel\Containers\Book\Collections\BookCollection;
use LargeLaravel\Containers\Book\DTO\BookDTO;
use LargeLaravel\Containers\Book\Proxies\BookEloquentProxy;
use LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInte... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Actions/Interfaces/GetBookSubactionInterface.php | app/src/Containers/Book/Actions/Interfaces/GetBookSubactionInterface.php | <?php
namespace LargeLaravel\Containers\Book\Subactions\Interfaces;
use LargeLaravel\Containers\Book\Collections\BookCollection;
use LargeLaravel\Ship\Http\Requests\API\Interfaces\PaginateRequestInterface;
interface GetBookListActionInterface
{
public function execute(PaginateRequestInterface $paginateRequest): ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Actions/Decorators/GetBookListActionLogger.php | app/src/Containers/Book/Actions/Decorators/GetBookListActionLogger.php | <?php
namespace LargeLaravel\Containers\Book\Actions\Decorators;
use LargeLaravel\Containers\Book\Collections\BookCollection;
use LargeLaravel\Ship\Http\Requests\API\Interfaces\PaginateRequestInterface;
class GetBookListActionLogger extends GetBookListActionDecorator
{
public function execute(PaginateRequestIn... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Actions/Decorators/GetBookListActionDecorator.php | app/src/Containers/Book/Actions/Decorators/GetBookListActionDecorator.php | <?php
namespace LargeLaravel\Containers\Book\Actions\Decorators;
use LargeLaravel\Containers\Book\Collections\BookCollection;
use LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInterface;
use LargeLaravel\Ship\Http\Requests\API\Interfaces\PaginateRequestInterface;
class GetBookListActionDecora... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Collections/BookCollection.php | app/src/Containers/Book/Collections/BookCollection.php | <?php
namespace LargeLaravel\Containers\Book\Collections;
use LargeLaravel\Containers\Book\DTO\BookDTO;
use LargeLaravel\Ship\Abstracts\Collections\Collection;
class BookCollection extends Collection
{
public function __construct(BookDTO ...$books)
{
parent::__construct($books);
}
public fun... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Models/Book.php | app/src/Containers/Book/Models/Book.php | <?php
namespace LargeLaravel\Containers\Book\Models;
use Illuminate\Database\Eloquent\Model;
class Book extends Model
{
protected $table = 'books';
protected $fillable = [
'title',
'original_title',
'author_id',
'description',
'image_guid',
'cover_type_id',
... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/DTO/BookDTO.php | app/src/Containers/Book/DTO/BookDTO.php | <?php
namespace LargeLaravel\Containers\Book\DTO;
use Carbon\Carbon;
use LargeLaravel\Ship\Abstracts\DTO\DataTransferObject;
class BookDTO extends DataTransferObject
{
public int $id;
public string $title;
public string $original_title;
public int $author_id;
public string $description;
publi... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Data/Migrations/2020_03_05_132653_create_books_table.php | app/src/Containers/Book/Data/Migrations/2020_03_05_132653_create_books_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBooksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('books', function ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Containers/Book/Providers/BookServiceProvider.php | app/src/Containers/Book/Providers/BookServiceProvider.php | <?php
namespace LargeLaravel\Containers\Book\Providers;
use Illuminate\Support\ServiceProvider;
use LargeLaravel\Containers\Book\Actions\Decorators\GetBookListActionLogger;
use LargeLaravel\Containers\Book\Actions\GetBookListAction;
use LargeLaravel\Containers\Book\Proxies\BookEloquentProxy;
use LargeLaravel\Containe... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Requests/WebRequest.php | app/src/Ship/Abstracts/Requests/WebRequest.php | <?php
namespace LargeLaravel\Ship\Abstracts\Requests;
use Illuminate\Http\Request;
abstract class WebRequest extends Request
{
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Requests/ApiRequest.php | app/src/Ship/Abstracts/Requests/ApiRequest.php | <?php
namespace LargeLaravel\Ship\Abstracts\Requests;
use Illuminate\Http\Request;
abstract class ApiRequest extends Request
{
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Controllers/Controller.php | app/src/Ship/Abstracts/Controllers/Controller.php | <?php
namespace LargeLaravel\Ship\Abstracts\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
abstract class Controller extends BaseControlle... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Proxies/BaseEloquentProxy.php | app/src/Ship/Abstracts/Proxies/BaseEloquentProxy.php | <?php
namespace LargeLaravel\Ship\Abstracts\Proxies;
use LargeLaravel\Ship\Database\Filter;
use LargeLaravel\Ship\Database\WhereExpression;
use LargeLaravel\Ship\Exceptions\EntityNotExistException;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
abstract class BaseEloquentProxy
{
/** @var \Illumina... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Collections/Collection.php | app/src/Ship/Abstracts/Collections/Collection.php | <?php
namespace LargeLaravel\Ship\Abstracts\Collections;
use Spatie\DataTransferObject\DataTransferObjectCollection;
abstract class Collection extends DataTransferObjectCollection
{
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/Resources/ApiResource.php | app/src/Ship/Abstracts/Resources/ApiResource.php | <?php
namespace LargeLaravel\Ship\Abstracts\Resources;
abstract class ApiResource
{
public function wrapResponse(array $data): array
{
return [
'data' => $data
];
}
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Abstracts/DTO/DataTransferObject.php | app/src/Ship/Abstracts/DTO/DataTransferObject.php | <?php
namespace LargeLaravel\Ship\Abstracts\DTO;
use Spatie\DataTransferObject\DataTransferObject as SpatieDTO;
abstract class DataTransferObject extends SpatieDTO
{
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Exceptions/EntityNotExistException.php | app/src/Ship/Exceptions/EntityNotExistException.php | <?php
namespace LargeLaravel\Ship\Exceptions;
class EntityNotExistException extends \Exception
{
/**
* @param string $entityName
*
* @return EntityNotExistException
*/
public static function newInstance(string $entityName): self
{
return new self('Entity "' . $entityName .'" no... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Exceptions/Handlers/Handler.php | app/src/Ship/Exceptions/Handlers/Handler.php | <?php
namespace LargeLaravel\Ship\Exceptions\Handlers;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
/... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Http/Requests/API/PaginateRequest.php | app/src/Ship/Http/Requests/API/PaginateRequest.php | <?php
namespace LargeLaravel\Ship\Http\Requests\API;
use LargeLaravel\Ship\Abstracts\Requests\ApiRequest;
use LargeLaravel\Ship\Http\Requests\API\Interfaces\PaginateRequestInterface;
class PaginateRequest extends ApiRequest implements PaginateRequestInterface
{
public function rules()
{
return [
... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Http/Requests/API/Interfaces/PaginateRequestInterface.php | app/src/Ship/Http/Requests/API/Interfaces/PaginateRequestInterface.php | <?php
namespace LargeLaravel\Ship\Http\Requests\API\Interfaces;
interface PaginateRequestInterface
{
public function getLimit(): ?int;
public function getOffset(): ?int;
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Database/WhereExpression.php | app/src/Ship/Database/WhereExpression.php | <?php
namespace LargeLaravel\Ship\Database;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
class WhereExpression extends Filter
{
/** @var string */
private $field;
/** @var string */
private $symbol;
/** @var mixed */
private $value;
/**
* @param string $field
* ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Database/Filter.php | app/src/Ship/Database/Filter.php | <?php
namespace LargeLaravel\Ship\Database;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
abstract class Filter
{
/**
* @param EloquentBuilder $query
*
* @return EloquentBuilder
*/
abstract public function addToQuery(EloquentBuilder $query): EloquentBuilder;
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/Authenticate.php | app/src/Ship/Middleware/Http/Authenticate.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
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 s... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/RedirectIfAuthenticated.php | app/src/Ship/Middleware/Http/RedirectIfAuthenticated.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
use LargeLaravel\Ship\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/TrustProxies.php | app/src/Ship/Middleware/Http/TrustProxies.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string
*/
protected $proxies;
/**
* The headers ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/TrimStrings.php | app/src/Ship/Middleware/Http/TrimStrings.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
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 = [
'password',
... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/CheckForMaintenanceMode.php | app/src/Ship/Middleware/Http/CheckForMaintenanceMode.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware;
class CheckForMaintenanceMode extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected $ex... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/EncryptCookies.php | app/src/Ship/Middleware/Http/EncryptCookies.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Middleware/Http/VerifyCsrfToken.php | app/src/Ship/Middleware/Http/VerifyCsrfToken.php | <?php
namespace LargeLaravel\Ship\Middleware\Http;
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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Providers/BroadcastServiceProvider.php | app/src/Ship/Providers/BroadcastServiceProvider.php | <?php
namespace LargeLaravel\Ship\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadc... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Providers/RouteServiceProvider.php | app/src/Ship/Providers/RouteServiceProvider.php | <?php
namespace LargeLaravel\Ship\Providers;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Cache;
class RouteServiceProvider extends ServiceProvider
{
/**
* Define your route model bindings, pattern f... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Providers/EventServiceProvider.php | app/src/Ship/Providers/EventServiceProvider.php | <?php
namespace LargeLaravel\Ship\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 ServicePro... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Providers/AppServiceProvider.php | app/src/Ship/Providers/AppServiceProvider.php | <?php
namespace LargeLaravel\Ship\Providers;
use Carbon\Carbon;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Providers/AuthServiceProvider.php | app/src/Ship/Providers/AuthServiceProvider.php | <?php
namespace LargeLaravel\Ship\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
// 'App\Mod... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Kernels/HttpKernel.php | app/src/Ship/Kernels/HttpKernel.php | <?php
namespace LargeLaravel\Ship\Kernels;
use Illuminate\Foundation\Http\Kernel as BaseHttpKernel;
class HttpKernel extends BaseHttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Kernels/ConsoleKernel.php | app/src/Ship/Kernels/ConsoleKernel.php | <?php
namespace LargeLaravel\Ship\Kernels;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Console\Kernel as BaseConsoleKernel;
use Illuminate\Support\Facades\Cache;
class ConsoleKernel extends BaseConsoleKernel
{
/**
* The Artisan commands provide... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/app/src/Ship/Seeders/DatabaseSeeder.php | app/src/Ship/Seeders/DatabaseSeeder.php | <?php
namespace LargeLaravel\Ship\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// call here your seeders
}
}
| php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/tests/Feature/ExampleTest.php | tests/Feature/ExampleTest.php | <?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$response = $this->get('/');
$response->assertS... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/public/index.php | public/index.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|------------------------------------... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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. T... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/config/mail.php | config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your appl... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/config/cors.php | config/cors.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for cross-origin resource shar... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/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 | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/resources/lang/en/passwords.php | resources/lang/en/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/resources/lang/en/pagination.php | resources/lang/en/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/resources/lang/en/validation.php | resources/lang/en/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/resources/lang/en/auth.php | resources/lang/en/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
stasyanko/laravel-large-project | https://github.com/stasyanko/laravel-large-project/blob/3e0cf7ef924ac51133ba3d31e62526ea607a714e/resources/views/welcome.blade.php | resources/views/welcome.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">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:... | php | MIT | 3e0cf7ef924ac51133ba3d31e62526ea607a714e | 2026-01-05T03:06:33.355939Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/phpstan-bootstrap.php | phpstan-bootstrap.php | <?php
/**
* Bootstrap file for PHPStan.
*
* @package Yoast\PHPUnitPolyfills
*
* @phpcs:disable Yoast.NamingConventions.NamespaceName -- This file emulates external classes.
* @phpcs:disable Yoast.Commenting.FileComment.Unnecessary -- This is deliberate.
* @phpcs:disable Generic.Files.OneObjectStructurePerFile
*... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/phpunitpolyfills-autoload.php | phpunitpolyfills-autoload.php | <?php
namespace Yoast\PHPUnitPolyfills;
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\TestCase;
use PHPUnit\Runner\Version as PHPUnit_Version;
if ( \class_exists( 'Yoast\PHPUnitPolyfills\Autoload', false ) === false ) {
/**
* Custom autoloader.
*
* @since 0.1.0
*/
final class Autoload {
/**
* ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Exceptions/InvalidComparisonMethodException.php | src/Exceptions/InvalidComparisonMethodException.php | <?php
namespace Yoast\PHPUnitPolyfills\Exceptions;
use Exception;
/**
* Exception used for all errors throw by the polyfill for the `assertObjectEquals()` and the `assertObjectNotEquals()` assertions.
*
* PHPUnit natively throws a range of different exceptions.
* The polyfills throw just one exception type with ... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Helpers/ComparatorValidator.php | src/Helpers/ComparatorValidator.php | <?php
namespace Yoast\PHPUnitPolyfills\Helpers;
use ReflectionNamedType;
use ReflectionObject;
use Yoast\PHPUnitPolyfills\Exceptions\InvalidComparisonMethodException;
/**
* Helper functions for validating a comparator method complies with the requirements set by PHPUnit.
*
* --------------------------------------... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Helpers/ResourceHelper.php | src/Helpers/ResourceHelper.php | <?php
namespace Yoast\PHPUnitPolyfills\Helpers;
use Exception;
use TypeError;
/**
* Helper functions for working with the resource type.
*
* ---------------------------------------------------------------------------------------------
* This class is only intended for internal use by PHPUnit Polyfills and is not... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/TestListeners/TestListenerSnakeCaseMethods.php | src/TestListeners/TestListenerSnakeCaseMethods.php | <?php
namespace Yoast\PHPUnitPolyfills\TestListeners;
use Exception;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Test;
use PHPUnit\Framework\TestSuite;
use PHPUnit\Framework\Warning;
use Throwable;
/**
* Renamed snake_case TestListener method collection used by the TestListenerDefaultImplement... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7.php | src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7.php | <?php
namespace Yoast\PHPUnitPolyfills\TestListeners;
use PHPUnit\Framework\AssertionFailedError;
use PHPUnit\Framework\Test;
use PHPUnit\Framework\TestSuite;
use PHPUnit\Framework\Warning;
use Throwable;
/**
* Basic TestListener implementation for use with PHPUnit >= 7.x.
*
* This TestListener trait uses renamed... | php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertObjectNotEquals_Empty.php | src/Polyfills/AssertObjectNotEquals_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 11.2.0 in which this polyfill is not needed.
*
* @since 3.0.0
*/
trait AssertObjectNotEquals {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/ExpectExceptionMessageMatches_Empty.php | src/Polyfills/ExpectExceptionMessageMatches_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 8.4.0 in which this polyfill is not needed.
*
* @since 0.1.0
*/
trait ExpectExceptionMessageMatches {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Yoast/PHPUnit-Polyfills | https://github.com/Yoast/PHPUnit-Polyfills/blob/e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03/src/Polyfills/AssertionRenames_Empty.php | src/Polyfills/AssertionRenames_Empty.php | <?php
namespace Yoast\PHPUnitPolyfills\Polyfills;
/**
* Empty trait for use with PHPUnit >= 9.1.0 in which this polyfill is not needed.
*
* @since 0.1.0
*/
trait AssertionRenames {}
| php | BSD-3-Clause | e57a1d3cb2bc5274d8d852d611d94e9a7e5ace03 | 2026-01-05T03:07:00.782417Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.