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
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/MenuPanel/AbstractMenuPanel.php
src/MenuPanel/AbstractMenuPanel.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\MenuPanel; use Datlechin\FilamentMenuBuilder\Contracts\MenuPanel; abstract class AbstractMenuPanel implements MenuPanel { protected string $name; protected int $sort = 999; protected ?string $description = null; protected ?str...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/MenuPanel/StaticMenuPanel.php
src/MenuPanel/StaticMenuPanel.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\MenuPanel; use Closure; class StaticMenuPanel extends AbstractMenuPanel { protected array $items = []; public function add(string $title, Closure | string $url): static { $this->items[] = [ 'title' => $title, ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Services/MenuItemService.php
src/Services/MenuItemService.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Services; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class MenuItemService { public function __construc...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Contracts/MenuPanelable.php
src/Contracts/MenuPanelable.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Contracts; interface MenuPanelable { public function getMenuPanelName(): string; public function getMenuPanelTitleColumn(): string; public function getMenuPanelUrlUsing(): callable; public function getMenuPanelModifyQueryUsing(...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Contracts/MenuPanel.php
src/Contracts/MenuPanel.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Contracts; interface MenuPanel { public function getIdentifier(): string; public function getName(): string; public function getItems(): array; public function getSort(): int; public function getDescription(): ?string; ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Enums/LinkTarget.php
src/Enums/LinkTarget.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Enums; use Filament\Support\Contracts\HasLabel; enum LinkTarget: string implements HasLabel { case Self = '_self'; case Blank = '_blank'; case Parent = '_parent'; case Top = '_top'; public function getLabel(): ?string ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Concerns/ManagesMenuItemHierarchy.php
src/Concerns/ManagesMenuItemHierarchy.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Concerns; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Datlechin\FilamentMenuBuilder\Services\MenuItemService; use Filament\Actions\Action; use Filament\Support\Enums\ActionSize; trait ManagesMenuItemHierarchy { protected...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Concerns/HasMenuPanel.php
src/Concerns/HasMenuPanel.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Concerns; use Illuminate\Database\Eloquent\Builder; trait HasMenuPanel { public function getMenuPanelName(): string { return str($this->getTable()) ->title() ->replace('_', ' ') ->toString(); ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Concerns/HasLocationAction.php
src/Concerns/HasLocationAction.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Concerns; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Filament\Actions\Action; use Filament\Forms\Components; use Filament\Notifications\Notification; use Filament\Support\Enums\MaxWidth; use Illuminate\Support\Collection; t...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Resources/MenuResource.php
src/Resources/MenuResource.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Resources; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Filament\Forms\Components; use Filament\Forms\Components\Component; use Filament\Forms\Form; use Filament\Resources\Resource; use Filament\Tables; use Filament\Tables\Tab...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Resources/MenuResource/Pages/EditMenu.php
src/Resources/MenuResource/Pages/EditMenu.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Resources\MenuResource\Pages; use Datlechin\FilamentMenuBuilder\Concerns\HasLocationAction; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Filament\Actions; use Filament\Forms\Components\Section; use Filament\Forms\Form; use Fil...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Resources/MenuResource/Pages/ListMenus.php
src/Resources/MenuResource/Pages/ListMenus.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Resources\MenuResource\Pages; use Datlechin\FilamentMenuBuilder\Concerns\HasLocationAction; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Filament\Actions; use Filament\Resources\Pages\ListRecords; class ListMenus extends List...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Models/MenuItem.php
src/Models/MenuItem.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Models; use Datlechin\FilamentMenuBuilder\Contracts\MenuPanelable; use Datlechin\FilamentMenuBuilder\Enums\LinkTarget; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\D...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Models/Menu.php
src/Models/Menu.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Models; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; /** * @property int $id * @property string $name * @property bool $is_visible * ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/src/Models/MenuLocation.php
src/Models/MenuLocation.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Models; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * @property int $id * @property int $menu_id * @property string $location ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/tests/Pest.php
tests/Pest.php
<?php declare(strict_types=1); use Datlechin\FilamentMenuBuilder\Tests\TestCase; uses(TestCase::class)->in(__DIR__);
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/tests/TestCase.php
tests/TestCase.php
<?php declare(strict_types=1); namespace Datlechin\FilamentMenuBuilder\Tests; use BladeUI\Heroicons\BladeHeroiconsServiceProvider; use BladeUI\Icons\BladeIconsServiceProvider; use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderServiceProvider; use Filament\Actions\ActionsServiceProvider; use Filament\FilamentServi...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/tests/ArchTest.php
tests/ArchTest.php
<?php declare(strict_types=1); it('will not use debugging functions') ->expect(['dd', 'dump', 'ray']) ->each->not->toBeUsed();
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/tests/PluginConfigurationTest.php
tests/PluginConfigurationTest.php
<?php declare(strict_types=1); use Datlechin\FilamentMenuBuilder\FilamentMenuBuilderPlugin; it('can enable indent actions', function () { $plugin = FilamentMenuBuilderPlugin::make() ->enableIndentActions(); expect($plugin->isIndentActionsEnabled())->toBeTrue(); }); it('can disable indent actions', ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/tests/ExampleTest.php
tests/ExampleTest.php
<?php declare(strict_types=1); it('can test', function () { expect(true)->toBeTrue(); });
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/config/filament-menu-builder.php
config/filament-menu-builder.php
<?php declare(strict_types=1); return [ 'tables' => [ 'menus' => 'menus', 'menu_items' => 'menu_items', 'menu_locations' => 'menu_locations', ], ];
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/lang/en/menu-builder.php
resources/lang/en/menu-builder.php
<?php declare(strict_types=1); return [ 'form' => [ 'title' => 'Title', 'url' => 'URL', 'linkable_type' => 'Type', 'linkable_id' => 'ID', ], 'resource' => [ 'name' => [ 'label' => 'Name', ], 'locations' => [ 'label' => 'Locati...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/lang/vi/menu-builder.php
resources/lang/vi/menu-builder.php
<?php declare(strict_types=1); return [ 'form' => [ 'title' => 'Tiêu đề', 'url' => 'URL', 'linkable_type' => 'Loại', 'linkable_id' => 'ID', ], 'resource' => [ 'name' => [ 'label' => 'Tên', ], 'locations' => [ 'label' => 'Vị tr...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/lang/nl/menu-builder.php
resources/lang/nl/menu-builder.php
<?php declare(strict_types=1); return [ 'form' => [ 'title' => 'Titel', 'url' => 'URL', 'linkable_type' => 'Type', 'linkable_id' => 'ID', ], 'resource' => [ 'name' => [ 'label' => 'Naam', ], 'locations' => [ 'label' => 'Locati...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/lang/fr/menu-builder.php
resources/lang/fr/menu-builder.php
<?php declare(strict_types=1); return [ 'form' => [ 'title' => 'Titre', 'url' => 'URL', 'linkable_type' => 'Type', 'linkable_id' => 'ID', ], 'resource' => [ 'name' => [ 'label' => 'Nom', ], 'locations' => [ 'label' => 'Emplace...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/edit-record.blade.php
resources/views/edit-record.blade.php
<x-filament-panels::page @class([ 'fi-resource-edit-record-page', 'fi-resource-' . str_replace('/', '-', $this->getResource()::getSlug()), 'fi-resource-record-' . $record->getKey(), ])> @capture($form) <x-filament-panels::form id="form" :wire:key="$this->getId() . '.forms.' . $this->getFormState...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/components/menu-item.blade.php
resources/views/components/menu-item.blade.php
@props([ 'item', ]) @php /** @var \Datlechin\FilamentMenuBuilder\Models\MenuItem $item */ $hasChildren = $item->children->isNotEmpty(); @endphp <li wire:key="{{ $item->getKey() }}" data-sortable-item="{{ $item->getKey() }}" x-data="{ open: $persist(true).as('menu-item-' + {{ $item->getKey() }...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/livewire/create-custom-text.blade.php
resources/views/livewire/create-custom-text.blade.php
<form wire:submit="save"> <x-filament::section :heading="__('filament-menu-builder::menu-builder.custom_text')" :collapsible="true" :persist-collapsed="true" id="create-custom-text" > {{ $this->form }} <x-slot:footerActions> <x-filament::button type="...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/livewire/panel.blade.php
resources/views/livewire/panel.blade.php
<form wire:submit="add"> <x-filament::section :heading="$name" :description="$description" :icon="$icon" :collapsible="$collapsible" :collapsed="$collapsed" :persist-collapsed="true" id="{{ $id }}-panel" > {{ $this->form }} @if ($this->has...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/livewire/create-custom-link.blade.php
resources/views/livewire/create-custom-link.blade.php
<form wire:submit="save"> <x-filament::section :heading="__('filament-menu-builder::menu-builder.custom_link')" :collapsible="true" :persist-collapsed="true" id="create-custom-link" > {{ $this->form }} <x-slot:footerActions> <x-filament::button type="...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
datlechin/filament-menu-builder
https://github.com/datlechin/filament-menu-builder/blob/9e1236f11a11419d4e226cac9ba2d59fa122f084/resources/views/livewire/menu-items.blade.php
resources/views/livewire/menu-items.blade.php
<div> @if($this->menuItems->isNotEmpty()) <ul ax-load ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('filament-menu-builder', 'datlechin/filament-menu-builder') }}" x-data="menuBuilder({ parentId: 0 })" class="space-y-2" ...
php
MIT
9e1236f11a11419d4e226cac9ba2d59fa122f084
2026-01-05T05:21:51.412797Z
false
tomschlick/memcached-library
https://github.com/tomschlick/memcached-library/blob/bcc066dd5c9cfe808c9009510c2cd711a3046f45/controllers/example_memcached.php
controllers/example_memcached.php
<?php class Example_memcached extends Controller { public function Example_memcached() { parent::Controller(); } public function test() { // Load library $this->load->library('memcached_library'); // Lets try to get the key $results = $this->memcached_libra...
php
MIT
bcc066dd5c9cfe808c9009510c2cd711a3046f45
2026-01-05T05:21:59.121752Z
false
tomschlick/memcached-library
https://github.com/tomschlick/memcached-library/blob/bcc066dd5c9cfe808c9009510c2cd711a3046f45/libraries/memcached_library.php
libraries/memcached_library.php
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } class Memcached_library { private $config; private $m; private $client_type; private $ci; protected $errors = []; public function __construct() { $this->ci = &get_instance(); // Load the memca...
php
MIT
bcc066dd5c9cfe808c9009510c2cd711a3046f45
2026-01-05T05:21:59.121752Z
false
tomschlick/memcached-library
https://github.com/tomschlick/memcached-library/blob/bcc066dd5c9cfe808c9009510c2cd711a3046f45/config/memcached.php
config/memcached.php
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } // -------------------------------------------------------------------------- // Servers // -------------------------------------------------------------------------- $memcached['servers'] = [ 'default' => [ 'host' ...
php
MIT
bcc066dd5c9cfe808c9009510c2cd711a3046f45
2026-01-05T05:21:59.121752Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/scoper.php
scoper.php
<?php declare(strict_types=1); require __DIR__ . '/vendor/autoload.php'; $nowDateTime = new DateTime('now'); $timestamp = $nowDateTime->format('Ym'); // see https://github.com/humbug/php-scoper return [ 'prefix' => 'ClassLeak' . $timestamp, 'expose-constants' => ['#^SYMFONY\_[\p{L}_]+$#'], 'exclude-name...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/rector.php
rector.php
<?php declare(strict_types=1); use Rector\Config\RectorConfig; return RectorConfig::configure() ->withPaths([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->withPreparedSets( deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations: true, typeDeclarationDocblocks: true, ...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/ecs.php
ecs.php
<?php declare(strict_types=1); use Symplify\EasyCodingStandard\Config\ECSConfig; return ECSConfig::configure() ->withPaths([ __DIR__ . '/bin', __DIR__ . '/src', __DIR__ . '/tests', ]) ->withSkip([ // invalid syntax test fixture __DIR__ . '/tests/UseImportsResolver/...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/ClassNameResolver.php
src/ClassNameResolver.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak; use PhpParser\NodeTraverser; use PhpParser\Parser; use TomasVotruba\ClassLeak\NodeDecorator\FullyQualifiedNameNodeDecorator; use TomasVotruba\ClassLeak\NodeVisitor\ClassNameNodeVisitor; use TomasVotruba\ClassLeak\ValueObject\ClassNames; /** * @see \T...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/UseImportsResolver.php
src/UseImportsResolver.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak; use PhpParser\NodeTraverser; use PhpParser\Parser; use RuntimeException; use Throwable; use TomasVotruba\ClassLeak\NodeDecorator\FullyQualifiedNameNodeDecorator; use TomasVotruba\ClassLeak\NodeVisitor\UsedClassNodeVisitor; /** * @see \TomasVotruba\Cl...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/FileSystem/StaticRelativeFilePathHelper.php
src/FileSystem/StaticRelativeFilePathHelper.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\FileSystem; /** * @see \TomasVotruba\ClassLeak\Tests\FileSystem\StaticRelativeFilePathHelperTest */ final class StaticRelativeFilePathHelper { public static function resolveFromCwd(string $filePath): string { // make path relative with...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Finder/ClassNamesFinder.php
src/Finder/ClassNamesFinder.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Finder; use Symfony\Component\Console\Helper\ProgressBar; use TomasVotruba\ClassLeak\ClassNameResolver; use TomasVotruba\ClassLeak\ValueObject\ClassNames; use TomasVotruba\ClassLeak\ValueObject\FileWithClass; final readonly class ClassNamesFinder { ...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Finder/PhpFilesFinder.php
src/Finder/PhpFilesFinder.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Finder; use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\SplFileInfo; use Webmozart\Assert\Assert; /** * @see \TomasVotruba\ClassLeak\Tests\Finder\PhpFilesFinderTest */ final class PhpFilesFinder { /** * @param string[] $pat...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/NodeVisitor/ClassNameNodeVisitor.php
src/NodeVisitor/ClassNameNodeVisitor.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\NodeVisitor; use PhpParser\Comment\Doc; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Name; use PhpParser\Node\Stmt\Class_; use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\Stmt\Interface_; use PhpParser\NodeTraverser; use P...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/NodeVisitor/UsedClassNodeVisitor.php
src/NodeVisitor/UsedClassNodeVisitor.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\NodeVisitor; use PhpParser\Node; use PhpParser\Node\Expr\ConstFetch; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Name; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Namespace_; use PhpParser\NodeTraverser...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/DependencyInjection/ContainerFactory.php
src/DependencyInjection/ContainerFactory.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\DependencyInjection; use Illuminate\Container\Container; use PhpParser\Parser; use PhpParser\ParserFactory; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\ConsoleOutput; us...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/ValueObject/ClassNames.php
src/ValueObject/ClassNames.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\ValueObject; final readonly class ClassNames { /** * @param string[] $attributes */ public function __construct( private string $className, private bool $hasParentClassOrInterface, private array $attributes, ...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/ValueObject/FileWithClass.php
src/ValueObject/FileWithClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\ValueObject; use JsonSerializable; use Nette\Utils\FileSystem; use TomasVotruba\ClassLeak\FileSystem\StaticRelativeFilePathHelper; final readonly class FileWithClass implements JsonSerializable { /** * @param string[] $attributes */ p...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/ValueObject/UnusedClassesResult.php
src/ValueObject/UnusedClassesResult.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\ValueObject; final readonly class UnusedClassesResult { /** * @param FileWithClass[] $withParentsFileWithClasses * @param FileWithClass[] $parentLessFileWithClasses * @param FileWithClass[] $traits */ public function __constr...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/NodeDecorator/FullyQualifiedNameNodeDecorator.php
src/NodeDecorator/FullyQualifiedNameNodeDecorator.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\NodeDecorator; use PhpParser\Node\Stmt; use PhpParser\NodeTraverser; use PhpParser\NodeVisitor\NameResolver; use PhpParser\NodeVisitor\NodeConnectingVisitor; final class FullyQualifiedNameNodeDecorator { /** * @param Stmt[] $stmts */ ...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Filtering/PossiblyUnusedClassesFilter.php
src/Filtering/PossiblyUnusedClassesFilter.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Filtering; use TomasVotruba\ClassLeak\ValueObject\FileWithClass; use Webmozart\Assert\Assert; final readonly class PossiblyUnusedClassesFilter { /** * These class types are used by some kind of collector pattern. Either loaded magically, regis...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Commands/CheckCommand.php
src/Commands/CheckCommand.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Commands; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOp...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Reporting/UnusedClassesResultFactory.php
src/Reporting/UnusedClassesResultFactory.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Reporting; use TomasVotruba\ClassLeak\ValueObject\FileWithClass; use TomasVotruba\ClassLeak\ValueObject\UnusedClassesResult; final class UnusedClassesResultFactory { /** * @param FileWithClass[] $unusedFilesWithClasses */ public funct...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/src/Reporting/UnusedClassReporter.php
src/Reporting/UnusedClassReporter.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Reporting; use Nette\Utils\Json; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Style\SymfonyStyle; use TomasVotruba\ClassLeak\ValueObject\FileWithClass; use TomasVotruba\ClassLeak\ValueObject\UnusedClassesResult; final re...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/AbstractTestCase.php
tests/AbstractTestCase.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests; use PHPUnit\Framework\TestCase; use TomasVotruba\ClassLeak\DependencyInjection\ContainerFactory; use Webmozart\Assert\Assert; abstract class AbstractTestCase extends TestCase { /** * @template TType as object * @param class-string<...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/FileSystem/StaticRelativeFilePathHelperTest.php
tests/FileSystem/StaticRelativeFilePathHelperTest.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\FileSystem; use PHPUnit\Framework\TestCase; use TomasVotruba\ClassLeak\FileSystem\StaticRelativeFilePathHelper; final class StaticRelativeFilePathHelperTest extends TestCase { public function test(): void { $relativeFilePath = Sta...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/FileSystem/Fixture/some-file.php
tests/FileSystem/Fixture/some-file.php
<?php declare(strict_types=1); // some content
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/UseImportsResolverTest.php
tests/UseImportsResolver/UseImportsResolverTest.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver; use Iterator; use PHPUnit\Framework\Attributes\DataProvider; use RuntimeException; use TomasVotruba\ClassLeak\Tests\AbstractTestCase; use TomasVotruba\ClassLeak\Tests\UseImportsResolver\Fixture\SomeFactory; use TomasVotruba\Cla...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Source/ThirdUsedClass.php
tests/UseImportsResolver/Source/ThirdUsedClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source; final class ThirdUsedClass { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Source/FourthUsedClass.php
tests/UseImportsResolver/Source/FourthUsedClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source; final class FourthUsedClass { public static function create(): array { return []; } }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Source/FirstUsedClass.php
tests/UseImportsResolver/Source/FirstUsedClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source; final class FirstUsedClass { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Source/SecondUsedClass.php
tests/UseImportsResolver/Source/SecondUsedClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source; final class SecondUsedClass { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Fixture/SomeFactory.php
tests/UseImportsResolver/Fixture/SomeFactory.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Fixture; use TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source\FourthUsedClass; final class SomeFactory { public static function create(): FourthUsedClass { return new FourthUsedClass(); } }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Fixture/FileUsingOtherClasses.php
tests/UseImportsResolver/Fixture/FileUsingOtherClasses.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Fixture; use TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source\FirstUsedClass; use TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source\SecondUsedClass; final class FileUsingOtherClasses { public function run(FirstUs...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Fixture/FileUsesStaticCall.php
tests/UseImportsResolver/Fixture/FileUsesStaticCall.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\UseImportsResolver\Fixture; use TomasVotruba\ClassLeak\Tests\UseImportsResolver\Source\FourthUsedClass; final class FileUsesStaticCall { public function other(): FourthUsedClass { return SomeFactory::create(); } }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/UseImportsResolver/Fixture/ParseError.php
tests/UseImportsResolver/Fixture/ParseError.php
<?php namespace ParseError; function doFoo() { // this file intentionally contains this parse error $x ABC }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/Finder/PhpFilesFinderTest.php
tests/Finder/PhpFilesFinderTest.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\Finder; use TomasVotruba\ClassLeak\Finder\PhpFilesFinder; use TomasVotruba\ClassLeak\Tests\AbstractTestCase; final class PhpFilesFinderTest extends AbstractTestCase { private PhpFilesFinder $phpFilesFinder; protected function setUp(): vo...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/Finder/Fixture/core_file.php
tests/Finder/Fixture/core_file.php
<?php declare(strict_types=1); // some content
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/Finder/Fixture/some/file.php
tests/Finder/Fixture/some/file.php
<?php declare(strict_types=1); // some content
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/Finder/Fixture/some/more-nested/nested-file.php
tests/Finder/Fixture/some/more-nested/nested-file.php
<?php declare(strict_types=1); // some content
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/ClassNameResolverTest.php
tests/ClassNameResolver/ClassNameResolverTest.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver; use Iterator; use PHPUnit\Framework\Attributes\DataProvider; use TomasVotruba\ClassLeak\ClassNameResolver; use TomasVotruba\ClassLeak\Tests\AbstractTestCase; use TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture\ClassWithAn...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/Fixture/SomeMethodAttribute.php
tests/ClassNameResolver/Fixture/SomeMethodAttribute.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture; use Attribute; #[Attribute(Attribute::TARGET_METHOD)] class SomeMethodAttribute { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/Fixture/ClassWithApiComment.php
tests/ClassNameResolver/Fixture/ClassWithApiComment.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture; /** @api */ final class ClassWithApiComment { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/Fixture/SomeAttribute.php
tests/ClassNameResolver/Fixture/SomeAttribute.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture; use Attribute; #[Attribute] class SomeAttribute { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/Fixture/ClassWithAnyComment.php
tests/ClassNameResolver/Fixture/ClassWithAnyComment.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture; /** some comment */ final class ClassWithAnyComment { }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/tests/ClassNameResolver/Fixture/SomeClass.php
tests/ClassNameResolver/Fixture/SomeClass.php
<?php declare(strict_types=1); namespace TomasVotruba\ClassLeak\Tests\ClassNameResolver\Fixture; #[SomeAttribute] final class SomeClass { #[SomeMethodAttribute] public function myMethod(): void { } }
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/build/rector-downgrade-php-72.php
build/rector-downgrade-php-72.php
<?php declare(strict_types=1); use Rector\Config\RectorConfig; use Rector\Set\ValueObject\DowngradeLevelSetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->parallel(240, 8, 1); $rectorConfig->sets([DowngradeLevelSetList::DOWN_TO_PHP_72]); $rectorConfig->skip([ ...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
TomasVotruba/class-leak
https://github.com/TomasVotruba/class-leak/blob/282902699bcc29ed2832ffac04a411d6b15ec0b5/bin/class-leak.php
bin/class-leak.php
<?php declare(strict_types=1); use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Output\ConsoleOutput; use TomasVotruba\ClassLeak\DependencyInjection\ContainerFactory; if (file_exists(__DIR__ . '/../../../../vendor/autoload.php')) { // project...
php
MIT
282902699bcc29ed2832ffac04a411d6b15ec0b5
2026-01-05T05:22:22.860445Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/dv_confirm.php
dv_confirm.php
<?php require('require/top.php'); authorise_user2(); $oid = $_GET['id']; ?> <div class="path"> <div class="container"> <a href="index.html">Home</a> / <a href="index.html">My Orders</a> </div> </div> <section class="myorders"> <section class="myac-body"> <div class="flex row"...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/payment_fail.php
payment_fail.php
<?php echo '<pre>'; print_r($_POST); ?>
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/insert.php
insert.php
<?php require('utility/utility.php'); //4012 0010 3714 1112 if (isset($_POST['orderId_user'])) { $order_id = $_POST['orderId_user']; $query = "select orders.txnid,orders.o_id,orders.final_val,user_address.user_name,user_address.user_mobile,users.email from orders,user_address,users where orders.id='$order_id' and o...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/edit_address.php
edit_address.php
<?php require('require/top.php'); authorise_user2(); $userid = $_SESSION['USER_ID']; if (!isset($_GET['ad-id'])) { redirect('address.php'); die(); } $id = $_GET['ad-id']; $query = "select * from user_address where id='$id' and uid='$userid'"; if (mysqli_num_rows(mysqli_query($con, $query)) == 0) { redirect(...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/view.php
view.php
<?php require('require/top.php'); $categories = get_all_categories($con); $subcategories = get_all_sub_categories($con, $_GET['n']); $all_product = array(); $key = $_GET['k']; $cat = $_GET['n']; if (isset($_GET['n']) && !isset($_GET['scat']) && !isset($_GET['filter']) && !isset($_GET['subfilter'])) { $all_product ...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/add_address.php
add_address.php
<?php require('require/top.php'); authorise_user2(); $userid = $_SESSION['USER_ID']; $userData = mysqli_fetch_assoc(mysqli_query($con, "select users.*,user_wallet.ballance from users,user_wallet where users.id='$userid' and user_wallet.user_id=users.id")); ?> <div class="path"> <div class="container"> <a hr...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/address.php
address.php
<?php require('require/top.php'); authorise_user2(); $userid = $_SESSION['USER_ID']; $userData = mysqli_fetch_assoc(mysqli_query($con, "select users.*,user_wallet.ballance from users,user_wallet where users.id='$userid' and user_wallet.user_id=users.id")); ?> <div class="path"> <div class="container"> <a href="in...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/product_detail.php
product_detail.php
<?php require('require/top.php'); $pid = $_GET['pid']; $product = product_detail($con, $pid); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href=""><?php echo $product['product_name']; ?></a> </div> </div> <section class="single-product"> <div class...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/payment_complete.php
payment_complete.php
<?php require('utility/utility.php'); $payment_mode = $_POST['mode']; $pay_id = $_POST['mihpayid']; $status = $_POST["status"]; $firstname = $_POST["firstname"]; $amount = $_POST["amount"]; $txnid = $_POST["txnid"]; $posted_hash = $_POST["hash"]; $key = $_POST["key"]; $productinfo = $_POST["productinfo"]; $email = $_PO...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/cart.php
cart.php
<?php require('require/top.php'); $cart = get_cart_products($con); $total_subtotal = 0; // print_r($_SESSION['USER_CART']); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="cart.php">Cart</a> </div> </div> <section class="cart"> <section class="my...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/process.php
process.php
<?php require('utility/utility.php'); if (isset($_POST['order-id'])) { $order_id = $_POST['order-id']; $order = mysqli_fetch_assoc(mysqli_query($con, "select * from orders where id='$order_id'")); $payment_type = $order['payment_type']; if ($payment_type == 1) { mysqli_query($con, "update orders...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/index.php
index.php
<?php require('require/top.php'); ?> <div class="main-banner-slider"> <div class="container"> <div class="row"> <div class="owl-carousel owl-theme main-slider"> <div class="item"> <img src="assets/images/sample/offer-1.jpg" alt="banner" /> ...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
true
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/myac.php
myac.php
<?php require('require/top.php'); authorise_user2(); ?> <div class="path"> <div class="container"> <a href="index.html">Home</a> / <a href="index.html">My Orders</a> </div> </div> <section class="myorders"> <?php require('require/headbanner.php'); ?> <section class="myac-body"> ...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/verify_ME.php
verify_ME.php
<?php require('require/top.php'); authorise_user2(); user_vfd_efd2($con); $id = $_SESSION['USER_ID']; $gui = mysqli_fetch_assoc(mysqli_query($con, "select * from users where id='$id'")); ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="verify_ME.php">Veri...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/wallet.php
wallet.php
<?php require('require/top.php'); authorise_user2(); $sid = $_SESSION['USER_ID']; $r = mysqli_fetch_assoc(mysqli_query($con, "select * from user_wallet where user_id='$sid'")); $sr = mysqli_query($con, "select * from user_w_msg where u_id='$sid'"); ?> <div class="path"> <div class="container"> <a href="inde...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/checkout.php
checkout.php
<?php require('require/top.php'); authorise_user(); user_vfd_efd($con); $checkout = array(); $checkout = get_chekout_products($con); $subtotal = 0; ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="checkout.php">Checkout</a> </div> </div> <section clas...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/orderPlaced.php
orderPlaced.php
<?php require('require/top.php'); if (isset($_POST['orderId_user'])) { $order_id = $_POST['orderId_user']; $query = "select orders.o_id,orders.final_val,orders.payment_type,user_address.user_name,user_address.user_mobile,user_address.user_add,user_address.user_pin,user_address.user_local,city.city_name,dv_time.from...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/wishlist.php
wishlist.php
<?php require('require/top.php'); authorise_user2(); ?> <div class="path"> <div class="container"> <a href="index.html">Home</a> / <a href="index.html">My Wishlist</a> </div> </div> <section class="wishlist"> <?php require('require/headbanner.php'); ?> <section class="myac-body"> <div class="fle...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/order-detail.php
deliveryBoy/order-detail.php
<?php require("require/top.php"); $oid = $_GET['id']; ?> <div class="path"> <div class="container"> <a href="index.php">Home</a> / <a href="order-detail.php?id=<?php echo $oid; ?>">Order Detail</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <?php ...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/order_assigned.php
deliveryBoy/order_assigned.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select assigned_orders.od_id,orders.o_id,orders.id,order_time.added_on from assigned_orders,orders,order_time where assigned_orders.dv_id='$did' and assigned_orders.od_id=orders.id and order_time.oid=orders.id and order_time.o...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/final_delivery.php
deliveryBoy/final_delivery.php
<?php require("require/top.php"); $oid = $_GET['id']; ?> <div class="path"> <div class="container"> <a href="index.html">Home</a> / <a href="index.html">Orders</a> </div> </div> <div class="cartrow" id="catrow"> <div class="gh"> <?php $query = "select orders.dv_time,o...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/undelivery_cnfrm.php
deliveryBoy/undelivery_cnfrm.php
<?php require("require/top.php"); $did = $_SESSION['DELIVERY_ID']; $res = mysqli_query($con, "select cnfrm_undelivery.od_id,orders.o_id,orders.id,order_time.added_on from cnfrm_undelivery,orders,order_time where cnfrm_undelivery.dv_id='$did' and cnfrm_undelivery.od_id=orders.id and order_time.oid=orders.id and order_ti...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false
detronetdip/E-commerce
https://github.com/detronetdip/E-commerce/blob/a9368863c2fb493bb9f14582bcf6410377e06521/deliveryBoy/index.php
deliveryBoy/index.php
<?php require("require/top.php"); ?> <div class="row"> <div class="col-xxl-6"> <div class="card"> <div class="bg-secondary card-border"></div> <div class="card-body"> <div class="media align-items-center"> <div class="media-body mr-3"> ...
php
MIT
a9368863c2fb493bb9f14582bcf6410377e06521
2026-01-05T05:22:32.990752Z
false