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 |
|---|---|---|---|---|---|---|---|---|
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Recipient/Device.php | src/Recipient/Device.php | <?php
namespace paragraph1\phpFCM\Recipient;
class Device implements Recipient
{
private $token;
public function __construct($token)
{
$this->token = $token;
}
public function getIdentifier()
{
return $this->token;
}
} | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Recipient/Recipient.php | src/Recipient/Recipient.php | <?php
namespace paragraph1\phpFCM\Recipient;
interface Recipient
{
public function getIdentifier();
} | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/src/Recipient/Topic.php | src/Recipient/Topic.php | <?php
namespace paragraph1\phpFCM\Recipient;
class Topic implements Recipient
{
private $name;
public function __construct($name)
{
$this->name = $name;
}
public function getIdentifier()
{
return $this->name;
}
} | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/tests/NotificationTest.php | tests/NotificationTest.php | <?php
namespace paragraph1\phpFCM\Tests;
use paragraph1\phpFCM\Notification;
class NotificationTest extends PhpFcmTestCase
{
private $fixture;
protected function setUp()
{
parent::setUp();
$this->fixture = new Notification('foo', 'bar');
}
public function testJsonSerializeWithMin... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/tests/ClientTest.php | tests/ClientTest.php | <?php
namespace paragraph1\phpFCM\Tests;
use paragraph1\phpFCM\Client;
use paragraph1\phpFCM\Recipient\Topic;
use paragraph1\phpFCM\Message;
use GuzzleHttp;
use GuzzleHttp\Psr7\Response;
class ClientTest extends PhpFcmTestCase
{
private $fixture;
protected function setUp()
{
parent::setUp();
... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/tests/PhpFcmTestCase.php | tests/PhpFcmTestCase.php | <?php
namespace paragraph1\phpFCM\Tests;
class PhpFcmTestCase extends \PHPUnit_Framework_TestCase
{
protected function tearDown()
{
\Mockery::close();
parent::tearDown();
}
} | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/tests/bootstrap.php | tests/bootstrap.php | <?php
require_once __DIR__ . '/../vendor/autoload.php'; | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
Paragraph1/php-fcm | https://github.com/Paragraph1/php-fcm/blob/b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0/tests/MessageTest.php | tests/MessageTest.php | <?php
namespace paragraph1\phpFCM\Tests;
use paragraph1\phpFCM\Recipient\Recipient;
use paragraph1\phpFCM\Message;
use paragraph1\phpFCM\Recipient\Topic;
use paragraph1\phpFCM\Notification;
use paragraph1\phpFCM\Recipient\Device;
class MessageTest extends PhpFcmTestCase
{
private $fixture;
protected function... | php | MIT | b8d6fec2c5327ed8fbe09d4d1cc0b53467a340e0 | 2026-01-05T02:27:24.015622Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/workbench/app/Providers/WorkbenchServiceProvider.php | workbench/app/Providers/WorkbenchServiceProvider.php | <?php
namespace Workbench\App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
class WorkbenchServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/KnowledgeBaseServiceProvider.php | src/KnowledgeBaseServiceProvider.php | <?php
namespace Guava\FilamentKnowledgeBase;
use Filament\Support\Assets\AlpineComponent;
use Filament\Support\Facades\FilamentAsset;
use Guava\FilamentKnowledgeBase\Commands\MakeDocumentationCommand;
use Guava\FilamentKnowledgeBase\Livewire\HelpMenu;
use Guava\FilamentKnowledgeBase\Livewire\Modals;
use Livewire\Live... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/KnowledgeBase.php | src/KnowledgeBase.php | <?php
namespace Guava\FilamentKnowledgeBase;
use Exception;
use Filament\Contracts\Plugin;
use Filament\Facades\Filament;
use Filament\Panel;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Plugins\KnowledgeBaseCompanionPlugin;
use Guava\FilamentKnowledgeBase\Plugins\KnowledgeB... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/KnowledgeBaseRegistry.php | src/KnowledgeBaseRegistry.php | <?php
namespace Guava\FilamentKnowledgeBase;
use Illuminate\Support\Collection;
class KnowledgeBaseRegistry
{
protected array $docsPaths = [];
public function docsPath(string $panel, string $path): static
{
data_set($this->docsPaths, $panel, $path);
return $this;
}
public funct... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Markdown/MarkdownRenderer.php | src/Markdown/MarkdownRenderer.php | <?php
namespace Guava\FilamentKnowledgeBase\Markdown;
use Arr;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Guava\FilamentKnowledgeBase\Markdown\Parsers\IncludeParser;
use Guava\FilamentKnowledgeBase\Markdown\Renderers\ImageRenderer;
use Illuminate\Support\Fluent;
use InvalidArgumentException;
use Leagu... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Markdown/Renderers/FencedCodeRenderer.php | src/Markdown/Renderers/FencedCodeRenderer.php | <?php
namespace Guava\FilamentKnowledgeBase\Markdown\Renderers;
use League\CommonMark\Extension\CommonMark\Node\Block\FencedCode;
use League\CommonMark\Extension\CommonMark\Renderer\Block\FencedCodeRenderer as BaseRenderer;
use League\CommonMark\Node\Node;
use League\CommonMark\Renderer\ChildNodeRendererInterface;
us... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Markdown/Renderers/ImageRenderer.php | src/Markdown/Renderers/ImageRenderer.php | <?php
namespace Guava\FilamentKnowledgeBase\Markdown\Renderers;
use Illuminate\Support\Facades\Vite;
use Illuminate\Support\Str;
use League\CommonMark\Extension\CommonMark\Node\Inline\Image;
use League\CommonMark\Node\Inline\Newline;
use League\CommonMark\Node\Node;
use League\CommonMark\Node\NodeIterator;
use League... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Markdown/Parsers/IncludeParser.php | src/Markdown/Parsers/IncludeParser.php | <?php
namespace Guava\FilamentKnowledgeBase\Markdown\Parsers;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Guava\FilamentKnowledgeBase\Markdown\MarkdownRenderer;
use League\CommonMark\Parser\Inline\InlineParserInterface;
use League\CommonMark\Parser\Inline\InlineParserMatch;
use League\CommonMark\Parser... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Livewire/Modals.php | src/Livewire/Modals.php | <?php
namespace Guava\FilamentKnowledgeBase\Livewire;
use Filament\Actions\Concerns\InteractsWithActions;
use Filament\Actions\Contracts\HasActions;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledg... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Livewire/HelpMenu.php | src/Livewire/HelpMenu.php | <?php
namespace Guava\FilamentKnowledgeBase\Livewire;
use Arr;
use Filament\Actions\ActionGroup;
use Filament\Actions\Concerns\InteractsWithActions;
use Filament\Actions\Contracts\HasActions;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Resources\Pages\Page;
use ... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Filament/Pages/ViewDocumentation.php | src/Filament/Pages/ViewDocumentation.php | <?php
namespace Guava\FilamentKnowledgeBase\Filament\Pages;
use Filament\Navigation\NavigationItem;
use Filament\Pages\Enums\SubNavigationPosition;
use Filament\Panel;
use Filament\Resources\Pages\PageRegistration;
use Filament\Resources\Pages\ViewRecord;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
use Guava\Fila... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Filament/Resources/DocumentationResource.php | src/Filament/Resources/DocumentationResource.php | <?php
namespace Guava\FilamentKnowledgeBase\Filament\Resources;
use Filament\Panel;
use Filament\Resources\Resource;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Guava\FilamentKnowledgeBase\Filament\Pages\ViewDocumentation;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Database\Eloquent\Buil... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Filament/Navigation/Navigation.php | src/Filament/Navigation/Navigation.php | <?php
namespace Guava\FilamentKnowledgeBase\Filament\Navigation;
use Filament\Panel;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Guava\FilamentKnowledgeBase\Models\FlatfileNode;
class Navigation
{
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Support/FlatfileParser.php | src/Support/FlatfileParser.php | <?php
namespace Guava\FilamentKnowledgeBase\Support;
use Exception;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
use Guava\FilamentKnowledgeBase\Markdown\MarkdownRenderer;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Fluent;
use Illuminate\Support\Str;
use SplFileI... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Actions/HelpAction.php | src/Actions/HelpAction.php | <?php
namespace Guava\FilamentKnowledgeBase\Actions;
use Filament\Actions\Action;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Illuminate\Support\HtmlString;
class HelpAction extends Action
{
protected function setUp(): void
{
pare... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Actions/Tables/Components/HelpAction.php | src/Actions/Tables/Components/HelpAction.php | <?php
namespace Guava\FilamentKnowledgeBase\Actions\Tables\Components;
use Filament\Forms\Components\Actions\Action;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Illuminate\Support\Arr;
use Illuminate\Support\HtmlString;
class HelpAction extends A... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Actions/Forms/Components/HelpAction.php | src/Actions/Forms/Components/HelpAction.php | <?php
namespace Guava\FilamentKnowledgeBase\Actions\Forms\Components;
use Filament\Forms\Components\Actions\Action;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Illuminate\Support\Arr;
use Illuminate\Support\HtmlString;
class HelpAction extends Ac... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Plugins/KnowledgeBaseCompanionPlugin.php | src/Plugins/KnowledgeBaseCompanionPlugin.php | <?php
namespace Guava\FilamentKnowledgeBase\Plugins;
use Filament\Contracts\Plugin;
use Filament\Facades\Filament;
use Filament\Navigation\NavigationItem;
use Filament\Panel;
use Filament\Support\Concerns\EvaluatesClosures;
use Filament\View\PanelsRenderHook;
use Guava\FilamentKnowledgeBase\Concerns\CanDisableModalLi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Plugins/KnowledgeBasePlugin.php | src/Plugins/KnowledgeBasePlugin.php | <?php
namespace Guava\FilamentKnowledgeBase\Plugins;
use Filament\Contracts\Plugin;
use Filament\Facades\Filament;
use Filament\Panel;
use Filament\Support\Concerns\EvaluatesClosures;
use Guava\FilamentKnowledgeBase\Concerns\CanConfigureCommonMark;
use Guava\FilamentKnowledgeBase\Concerns\CanDisableBreadcrumbs;
use G... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Contracts/HasKnowledgeBase.php | src/Contracts/HasKnowledgeBase.php | <?php
namespace Guava\FilamentKnowledgeBase\Contracts;
interface HasKnowledgeBase
{
public static function getDocumentation(): array | string;
}
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Contracts/Documentable.php | src/Contracts/Documentable.php | <?php
namespace Guava\FilamentKnowledgeBase\Contracts;
use Filament\Navigation\NavigationGroup;
use Filament\Navigation\NavigationItem;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
interface Documentable
{
public function getId(): string;
public function getTitle(): ?string;
public function isActive... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Facades/KnowledgeBase.php | src/Facades/KnowledgeBase.php | <?php
namespace Guava\FilamentKnowledgeBase\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \Guava\FilamentKnowledgeBase\KnowledgeBase
*/
class KnowledgeBase extends Facade
{
protected static function getFacadeAccessor(): string
{
return \Guava\FilamentKnowledgeBase\KnowledgeBase::class;... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Enums/NodeType.php | src/Enums/NodeType.php | <?php
namespace Guava\FilamentKnowledgeBase\Enums;
enum NodeType: string
{
case Documentation = 'documentation';
case Group = 'group';
case Link = 'link';
}
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Enums/TableOfContentsPosition.php | src/Enums/TableOfContentsPosition.php | <?php
namespace Guava\FilamentKnowledgeBase\Enums;
use Filament\Pages\Enums\SubNavigationPosition;
enum TableOfContentsPosition
{
case Start;
case End;
public function toSubNavigationPosition(): SubNavigationPosition
{
return match ($this) {
self::Start => SubNavigationPosition:... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasAnchorSymbol.php | src/Concerns/HasAnchorSymbol.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait HasAnchorSymbol
{
protected ?string $anchorSymbol = '#';
public function anchorSymbol(?string $symbol): static
{
$this->anchorSymbol = $symbol;
return $this;
}
public function getAnchorSymbol(): ?string
{
re... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasModalPreviews.php | src/Concerns/HasModalPreviews.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait HasModalPreviews
{
protected bool $modalPreviews = false;
protected bool $slideOverPreviews = false;
public function modalPreviews(bool $condition = true): static
{
$this->modalPreviews = $condition;
return $this;
}
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasDocumentable.php | src/Concerns/HasDocumentable.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
trait HasDocumentable
{
protected Documentable $documentable;
public function documentable(Documentable $documentable): static
{
$this->documentable = $documentable;
return $thi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/CanConfigureCommonMark.php | src/Concerns/CanConfigureCommonMark.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Closure;
use League\CommonMark\ConverterInterface;
use League\CommonMark\Environment\EnvironmentBuilderInterface;
trait CanConfigureCommonMark
{
protected ?Closure $configureCommonMarkEnvironmentUsing = null;
protected ?Closure $configureCommonMarkOp... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/CanDisableFilamentStyles.php | src/Concerns/CanDisableFilamentStyles.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait CanDisableFilamentStyles
{
protected bool $disableFilamentStyledTables = false;
protected bool $disableFilamentStyledBlockquotes = false;
public function disableFilamentStyles(bool $condition = true): static
{
$this
->di... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/CanDisableBreadcrumbs.php | src/Concerns/CanDisableBreadcrumbs.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait CanDisableBreadcrumbs
{
protected bool $disableBreadcrumbs = false;
public function disableBreadcrumbs(bool $condition = true): static
{
$this->disableBreadcrumbs = $condition;
return $this;
}
public function shouldDisa... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/CanDisableSyntaxHighlighting.php | src/Concerns/CanDisableSyntaxHighlighting.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait CanDisableSyntaxHighlighting
{
protected bool $disableSyntaxHighlighting = false;
public function disableSyntaxHighlighting(bool $condition = true): static
{
$this->disableSyntaxHighlighting = $condition;
return $this;
}
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasKnowledgeBasePanelButton.php | src/Concerns/HasKnowledgeBasePanelButton.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Closure;
use Filament\Actions\Action;
use Filament\Facades\Filament;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
trait HasKnowledgeBasePanelButton
{
protected ?Closure $modifyKnowledgeBasePanelButtonUsing = null;
protected bool $disableKno... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasArticleClass.php | src/Concerns/HasArticleClass.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Closure;
trait HasArticleClass
{
protected null | Closure | string $articleClass = null;
public function articleClass(Closure | string $class): static
{
$this->articleClass = $class;
return $this;
}
public function getAr... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/CanDisableModalLinks.php | src/Concerns/CanDisableModalLinks.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
trait CanDisableModalLinks
{
protected bool $disableModalLinks = false;
public function disableModalLinks(bool $condition = true): static
{
$this->disableModalLinks = $condition;
return $this;
}
public function shouldDisableM... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasBackToDefaultPanelButton.php | src/Concerns/HasBackToDefaultPanelButton.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Closure;
use Filament\Actions\Action;
use Filament\Facades\Filament;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
trait HasBackToDefaultPanelButton
{
protected ?Closure $modifyBackToDefaultPanelButtonUsing = null;
protected bool $disableBac... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Concerns/HasTableOfContents.php | src/Concerns/HasTableOfContents.php | <?php
namespace Guava\FilamentKnowledgeBase\Concerns;
use Guava\FilamentKnowledgeBase\Enums\TableOfContentsPosition;
trait HasTableOfContents
{
protected bool $disableTableOfContents = false;
protected TableOfContentsPosition $tableOfContentsPosition = TableOfContentsPosition::End;
public function disa... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Models/FlatfileNode.php | src/Models/FlatfileNode.php | <?php
namespace Guava\FilamentKnowledgeBase\Models;
use Filament\Navigation\NavigationGroup;
use Filament\Navigation\NavigationItem;
use Guava\FilamentKnowledgeBase\Contracts\Documentable;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
use Guava\FilamentKnowledg... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/src/Commands/MakeDocumentationCommand.php | src/Commands/MakeDocumentationCommand.php | <?php
namespace Guava\FilamentKnowledgeBase\Commands;
use Filament\Facades\Filament;
use Filament\Panel;
use Guava\FilamentKnowledgeBase\Enums\NodeType;
use Guava\FilamentKnowledgeBase\Plugins\KnowledgeBasePlugin;
use Illuminate\Console\GeneratorCommand;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\App;... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/tests/Pest.php | tests/Pest.php | <?php
use Guava\FilamentKnowledgeBase\Tests\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/tests/TestCase.php | tests/TestCase.php | <?php
namespace Guava\FilamentKnowledgeBase\Tests;
use Guava\FilamentKnowledgeBase\KnowledgeBaseServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/tests/ArchTest.php | tests/ArchTest.php | <?php
it('will not use debugging functions')
->expect(['dd', 'dump', 'ray'])
->each->not->toBeUsed()
;
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/tests/ExampleTest.php | tests/ExampleTest.php | <?php
it('can test', function () {
expect(true)->toBeTrue();
});
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/config/filament-knowledge-base.php | config/filament-knowledge-base.php | <?php
// config for Guava/KnowledgeBasePanel
use Guava\FilamentKnowledgeBase\Enums\NodeType;
return [
'flatfile-model' => \Guava\FilamentKnowledgeBase\Models\FlatfileNode::class,
'cache' => [
'prefix' => env('FILAMENT_KB_CACHE_PREFIX', 'filament_kb_'),
'ttl' => env('FILAMENT_KB_CACHE_TTL', 86... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/database/factories/ModelFactory.php | database/factories/ModelFactory.php | <?php
namespace Guava\FilamentKnowledgeBase\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/*
class ModelFactory extends Factory
{
protected $model = YourModel::class;
public function definition()
{
return [
];
}
}
*/
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/de/translations.php | resources/lang/de/translations.php | <?php
return [
'knowledge-base' => 'Dokumentation',
'help' => 'Hilfe',
'open-documentation' => 'Dokumentation öffnen',
'close' => 'Schließen',
'back-to-default-panel' => 'Zurück',
'url-copied' => 'URL wurde in die Zwischenablage kopiert.',
'code-copied' => 'Code wurde in die Zwischenablage ... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/pt_BR/translations.php | resources/lang/pt_BR/translations.php | <?php
return [
'knowledge-base' => 'Documentação',
'help' => 'Ajuda',
'open-documentation' => 'Abrir documentação',
'close' => 'fechar',
'back-to-default-panel' => 'Voltar',
'url-copied' => 'URL foi copiado para sua área de transferência.',
'code-copied' => 'Código copiado para sua área de ... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/uk/translations.php | resources/lang/uk/translations.php | <?php
return [
'knowledge-base' => 'Документація',
'help' => 'Допомога',
'open-documentation' => 'Відкрити документацію',
'close' => 'Закрити',
'back-to-default-panel' => 'Назад',
'url-copied' => 'URL скопійовано у буфер обміну.',
'code-copied' => 'Код скопійовано у буфер обміну.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/cs/translations.php | resources/lang/cs/translations.php | <?php
return [
'knowledge-base' => 'Dokumentace',
'help' => 'Nápověda',
'open-documentation' => 'Otevřít dokumentaci',
'close' => 'Zavřít',
'back-to-default-panel' => 'Zpět',
'url-copied' => 'URL adresa byla zkopírována do schránky.',
'code-copied' => 'Kód byl zkopírován do schránky.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/en/translations.php | resources/lang/en/translations.php | <?php
return [
'knowledge-base' => 'Documentation',
'help' => 'Help',
'open-documentation' => 'Open documentation',
'close' => 'Close',
'back-to-default-panel' => 'Back',
'url-copied' => 'URL was copied to your clipboard.',
'code-copied' => 'Code copied to your clipboard.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/pt_PT/translations.php | resources/lang/pt_PT/translations.php | <?php
return [
'knowledge-base' => 'Documentação',
'help' => 'Ajuda',
'open-documentation' => 'Abrir documentação',
'close' => 'Fechar',
'back-to-default-panel' => 'Voltar',
'url-copied' => 'URL copiado para a área de transferência.',
'code-copied' => 'Código copiado para a área de transfer... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/ar/translations.php | resources/lang/ar/translations.php | <?php
return [
'knowledge-base' => 'التوثيق',
'help' => 'مساعدة',
'open-documentation' => 'فتح التوثيق',
'close' => 'إغلاق',
'back-to-default-panel' => 'رجوع',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/nl/translations.php | resources/lang/nl/translations.php | <?php
return [
'knowledge-base' => 'Documentatie',
'help' => 'Help',
'open-documentation' => 'Open documentatie',
'close' => 'Sluit',
'back-to-default-panel' => 'Terug',
'url-copied' => 'De URL is gekopieerd naar je klembord.',
'code-copied' => 'De code is gekopieerd naar je klembord.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/fr/translations.php | resources/lang/fr/translations.php | <?php
return [
'knowledge-base' => 'Base de connaissances',
'help' => 'Aide',
'open-documentation' => 'Ouvrir la documentation',
'close' => 'Fermer',
'back-to-default-panel' => 'Retour',
'url-copied' => 'URL copiée dans votre presse-papier.',
'code-copied' => 'Code copié dans votre presse-p... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/it/translations.php | resources/lang/it/translations.php | <?php
return [
'knowledge-base' => 'Documentazione',
'help' => 'Aiuto',
'open-documentation' => 'Apri documentazione',
'close' => 'Chiudi',
'back-to-default-panel' => 'Indietro',
'url-copied' => 'La URL è stata copiata nei tuoi appunti.',
'code-copied' => 'Il codice è stato copiato nei tuoi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/fa/translations.php | resources/lang/fa/translations.php | <?php
return [
'knowledge-base' => 'پایگاه دانش',
'help' => 'راهنما',
'open-documentation' => 'گشودن مستند',
'close' => 'بستن',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/ru/translations.php | resources/lang/ru/translations.php | <?php
return [
'knowledge-base' => 'Документация',
'help' => 'Помощь',
'open-documentation' => 'Открыть документацию',
'close' => 'Закрыть',
'back-to-default-panel' => 'Назад',
'url-copied' => 'URL скопирован в буфер обмена.',
'code-copied' => 'Код скопирован в буфер обмена.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/lang/da/translations.php | resources/lang/da/translations.php | <?php
return [
'knowledge-base' => 'Dokumentation',
'help' => 'Vejledning',
'open-documentation' => 'Åben dokumentation',
'close' => 'Luk',
'back-to-default-panel' => 'Tilbage',
'url-copied' => 'URL blev kopieret.',
'code-copied' => 'Kode blev kopieret.',
];
| php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/documentation.blade.php | resources/views/documentation.blade.php | @php
use Filament\Pages\Enums\SubNavigationPosition;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
$sidebar = $this->getSubNavigationPosition();
$articleClass = KnowledgeBase::plugin()->getArticleClass();
@endphp
@push('scripts')
<script>
document.querySelectorAll('.gu-kb-anchor')... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/sidebar-action.blade.php | resources/views/sidebar-action.blade.php | <ul class="px-6 fi-sidebar-nav-groups mb-4 -mx-2 flex flex-col gap-y-7">
<x-filament-panels::sidebar.item
:icon="$icon"
class="ring-1 ring-gray-950/10 dark:ring-white/20 rounded-lg"
:url="$url"
:should-open-url-in-new-tab="$shouldOpenUrlInNewTab">
<x-filament::button
... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/modals.blade.php | resources/views/modals.blade.php | @php
use Filament\Facades\Filament;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
$plugin = KnowledgeBase::plugin();
$companion = KnowledgeBase::companion();
$hasModalPreviews = $companion->hasModalPreviews();
$hasSlideOverPreviews = $companion->hasSlideOverPreviews();
$hasModalTi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/code-block.blade.php | resources/views/code-block.blade.php | @pushonce('styles')
<style>
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');
.shiki * {
font-family: "JetBrains Mono", monospace;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
</styl... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/pages/section.blade.php | resources/views/pages/section.blade.php | @php
$sidebar = $this->getSubNavigationPosition();
@endphp
<x-filament-panels::page
@class([
"[&_.fi-page-sub-navigation-sidebar]:pl-4 [&_.fi-page-sub-navigation-sidebar]:border-l [&_.fi-page-sub-navigation-sidebar]:border-l-gray-600/10 [&_.fi-page-sub-navigation-sidebar]:dark:border-l-gray-600/30" => $side... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/components/content.blade.php | resources/views/components/content.blade.php | @use(Guava\FilamentKnowledgeBase\Facades\KnowledgeBase)
@push('styles')
<style>
html.dark .phiki,
html.dark .phiki span {
color: var(--phiki-dark-color) !important;
background-color: var(--phiki-dark-background-color) !important;
font-style: var(--phiki-dark-font... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/livewire/help-menu.blade.php | resources/views/livewire/help-menu.blade.php | @php
use Filament\Facades\Filament;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
$plugin = KnowledgeBase::plugin();
$companion = KnowledgeBase::companion();
$hasModalPreviews = $companion->hasModalPreviews();
$hasSlideOverPreviews = $companion->hasSlideOverPreviews();
$hasModalTi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
GuavaCZ/filament-knowledge-base | https://github.com/GuavaCZ/filament-knowledge-base/blob/e60c1bc8e18c85b23f657ae3c3086c4c85212b5f/resources/views/livewire/modals.blade.php | resources/views/livewire/modals.blade.php | @php
use Filament\Facades\Filament;
use Guava\FilamentKnowledgeBase\Facades\KnowledgeBase;
$plugin = KnowledgeBase::plugin();
$companion = KnowledgeBase::companion();
$hasModalPreviews = $companion->hasModalPreviews();
$hasSlideOverPreviews = $companion->hasSlideOverPreviews();
$hasModalTi... | php | MIT | e60c1bc8e18c85b23f657ae3c3086c4c85212b5f | 2026-01-05T02:26:57.520231Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/functions_include.php | src/functions_include.php | <?php
// Don't redefine the functions if included multiple times.
if (!function_exists('League\Uri\resolve_domain')) {
require __DIR__.'/functions.php';
}
| php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/functions.php | src/functions.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/HttpClient.php | src/PublicSuffix/HttpClient.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/HttpClientException.php | src/PublicSuffix/HttpClientException.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/CurlHttpClient.php | src/PublicSuffix/CurlHttpClient.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/Domain.php | src/PublicSuffix/Domain.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/Rules.php | src/PublicSuffix/Rules.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/Exception.php | src/PublicSuffix/Exception.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/Cache.php | src/PublicSuffix/Cache.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/ICANNSectionManager.php | src/PublicSuffix/ICANNSectionManager.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/PublicSuffix/CacheException.php | src/PublicSuffix/CacheException.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/src/Installer/ICANNSection.php | src/Installer/ICANNSection.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\PublicSuffix
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @license https://github.com/thephpleague/uri-hostname-parser/blob/master/LICENSE (MIT License)
* @version 1.1.1
* @link ... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/tests/CacheTest.php | tests/CacheTest.php | <?php
declare(strict_types=1);
namespace League\Uri\Tests;
use DateInterval;
use League\Uri\PublicSuffix\Cache;
use org\bovigo\vfs\vfsStream;
use PHPUnit\Framework\TestCase;
use Psr\SimpleCache\InvalidArgumentException;
use Traversable;
/**
* Abstract PSR-16 tester.
*
* Because all cache implementations should m... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/tests/RulesTest.php | tests/RulesTest.php | <?php
declare(strict_types=1);
namespace League\Uri\Tests;
use League\Uri;
use League\Uri\PublicSuffix\Cache;
use League\Uri\PublicSuffix\CurlHttpClient;
use League\Uri\PublicSuffix\ICANNSectionManager;
use League\Uri\PublicSuffix\Rules;
use PHPUnit\Framework\TestCase;
class RulesTest extends TestCase
{
/**
... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/tests/CurlHttpClientTest.php | tests/CurlHttpClientTest.php | <?php
declare(strict_types=1);
namespace League\Uri\Tests;
use League\Uri\PublicSuffix\CurlHttpClient;
use League\Uri\PublicSuffix\HttpClientException;
use PHPUnit\Framework\TestCase;
class CurlHttpClientTest extends TestCase
{
/**
* @var HttpClient
*/
protected $adapter;
protected function s... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/tests/DomainTest.php | tests/DomainTest.php | <?php
declare(strict_types=1);
namespace League\Uri\Tests;
use League\Uri\PublicSuffix\Domain;
use PHPUnit\Framework\TestCase;
class DomainTest extends TestCase
{
/**
* @dataProvider invalidRegistrableDomainProvider
*
* @param string $domain
* @param string $publicSuffix
*/
public f... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
thephpleague/uri-hostname-parser | https://github.com/thephpleague/uri-hostname-parser/blob/a3ef2f862640bfd79dd3fc28f23c98be09152603/tests/ICANNSectionManagerTest.php | tests/ICANNSectionManagerTest.php | <?php
declare(strict_types=1);
namespace League\Uri\Tests;
use League\Uri\PublicSuffix\Cache;
use League\Uri\PublicSuffix\CurlHttpClient;
use League\Uri\PublicSuffix\Exception;
use League\Uri\PublicSuffix\ICANNSectionManager;
use org\bovigo\vfs\vfsStream;
use PHPUnit\Framework\TestCase;
class ICANNSectionManagerTes... | php | MIT | a3ef2f862640bfd79dd3fc28f23c98be09152603 | 2026-01-05T02:28:01.968157Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/FieldManager.php | src/FieldManager.php | <?php
namespace verbb\fieldmanager;
use verbb\fieldmanager\base\PluginTrait;
use verbb\fieldmanager\models\Settings;
use verbb\fieldmanager\twigextensions\Extension;
use verbb\fieldmanager\variables\FieldManagerVariable;
use Craft;
use craft\base\Model;
use craft\base\Plugin;
use craft\events\RegisterUrlRulesEvent;
u... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/services/Export.php | src/services/Export.php | <?php
namespace verbb\fieldmanager\services;
use verbb\fieldmanager\helpers\Plugin;
use Craft;
use craft\helpers\ArrayHelper;
use craft\helpers\Json;
use craft\fields\Matrix;
use craft\fieldlayoutelements\CustomField;
use yii\base\Component;
use Throwable;
use verbb\supertable\SuperTable;
use verbb\supertable\fiel... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/services/Audit.php | src/services/Audit.php | <?php
namespace verbb\fieldmanager\services;
use Craft;
use craft\db\Query;
use craft\helpers\UrlHelper;
use yii\base\Component;
// Supported Elements
use craft\elements\Asset;
use craft\elements\Category;
use craft\elements\Entry;
use craft\elements\GlobalSet;
use craft\elements\Tag;
use craft\elements\User;
use cr... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/services/Service.php | src/services/Service.php | <?php
namespace verbb\fieldmanager\services;
use verbb\fieldmanager\FieldManager;
use verbb\fieldmanager\helpers\Plugin;
use verbb\fieldmanager\models\Settings;
use Craft;
use craft\base\FieldInterface;
use craft\db\Query;
use craft\helpers\ArrayHelper;
use craft\helpers\Json;
use craft\helpers\StringHelper;
use craf... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/services/Import.php | src/services/Import.php | <?php
namespace verbb\fieldmanager\services;
use verbb\fieldmanager\FieldManager;
use Craft;
use craft\helpers\ArrayHelper;
use craft\helpers\Json;
use craft\helpers\StringHelper;
use craft\models\EntryType;
use craft\models\FieldLayout;
use yii\base\Component;
use Throwable;
use craft\ckeditor\Plugin as CkEditor;... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/assetbundles/FieldManagerAsset.php | src/assetbundles/FieldManagerAsset.php | <?php
namespace verbb\fieldmanager\assetbundles;
use craft\web\AssetBundle;
use craft\web\assets\cp\CpAsset;
use verbb\base\assetbundles\CpAsset as VerbbCpAsset;
class FieldManagerAsset extends AssetBundle
{
// Public Methods
// =========================================================================
p... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/base/PluginTrait.php | src/base/PluginTrait.php | <?php
namespace verbb\fieldmanager\base;
use verbb\fieldmanager\FieldManager;
use verbb\fieldmanager\services\Audit;
use verbb\fieldmanager\services\Service;
use verbb\fieldmanager\services\Import;
use verbb\fieldmanager\services\Export;
use verbb\base\LogTrait;
use verbb\base\helpers\Plugin;
trait PluginTrait
{
... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/helpers/Plugin.php | src/helpers/Plugin.php | <?php
namespace verbb\fieldmanager\helpers;
use verbb\base\helpers\Plugin as BasePlugin;
class Plugin extends BasePlugin
{
}
| php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/variables/FieldManagerVariable.php | src/variables/FieldManagerVariable.php | <?php
namespace verbb\fieldmanager\variables;
use verbb\fieldmanager\FieldManager;
use craft\models\FieldLayout;
class FieldManagerVariable
{
// Public Methods
// =========================================================================
public function createFieldLayoutFromConfig($config): FieldLayout
... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
verbb/field-manager | https://github.com/verbb/field-manager/blob/dcb654555159ac4812f62907f59efbcc626da276/src/translations/en/field-manager.php | src/translations/en/field-manager.php | <?php
return [
'Add field' => 'Add field',
'All' => 'All',
'All Fields' => 'All Fields',
'Audit' => 'Audit',
'Back' => 'Back',
'Blocktype' => 'Blocktype',
'Cancel' => 'Cancel',
'Choose how you want to import your fields. You can modify the Name and Handle for each field.' => 'Choose how you want to imp... | php | MIT | dcb654555159ac4812f62907f59efbcc626da276 | 2026-01-05T02:28:41.909894Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.