Typo3 by Egg² Code Labs
CommunityA plugin that brings Typo3 functionality to filament.
Author:
Egg² Code Labs
Package health
Automated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Failed: Dependabot or Renovate configured — No dependency updater configuration found. View details on Plumb
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 12 days ago; last release 574 days ago.
-
Failed:
composer.lock not committed by library
—
composer.lockis present in the released dist archive. View details on Plumb - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. - Passed: Current PHP version supported — No PHP constraint declared; package imposes no version restriction.
- Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
filament-typo3 bundles some functionality known from TYPO3 into a Filament PHP plugin. Features include the TYPO3 entry access tab, SEO tab and pages tree view.
#Installation
You can install the package via composer:
composer require egg2-code-labs/filament-typo3
#TYPO3 Access Tab
The TYPO3 Access Tab feature consists of multiple parts:
- Migration helpers
- Filament component
- Query scope
Make use of the migration helpers to get all the required fields:
public function up(): void
{
Schema::create('pages', function (Blueprint $table) {
//
$table->typo3Sorting();
$table->typo3Access();
//
});
}
Then, in your filament resource add the form component:
use Egg2CodeLabs\FilamentTypo3\Forms\Components\Enums\Typo3AccessTabFieldsEnum;
public static function form(Form $form): Form
{
return $form
->schema([
Tabs::make('Tabs')
->tabs([
Typo3AccessTab::make()
->exclude([ // disable the nav_hide field, because the resources does not use it
Typo3AccessTabFieldsEnum::NAV_HIDE,
])
])
]);
}
And finally add the query scope to all the necessary models:
use Egg2CodeLabs\FilamentTypo3\Scopes\Typo3AccessScope;
protected static function booted(): void
{
static::addGlobalScope(new Typo3AccessScope());
}
#Factories
Laravel factories support state manipulation methods to allow for discrete modifications. The Typo3FactoryStatesTrait
provides an easy way to get a few simple modifications going. Add this trait to your factory classes.
#Available methods
#Typo3FactoryStatesTrait::published()
This method creates a non-hidden, non-time-constrained element.
#Typo3FactoryStatesTrait::hiddenInNav()
This method creates an element that is hidden in the navigation.
#Typo3FactoryStatesTrait::expired()
This method creates non-hidden, time-constrained element, which has an endtime one week before now().
#Typo3FactoryStatesTrait::scheduled()
This method creates non-hidden, time-constrained element, which has a starttime one week after now().
#Testing
composer test
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Feel free to contribute by writing tests, fixing bugs, reporting bugs or whatever other way of contribution you come up with. Just create a pull request or issue and I'll do my best to reply fast.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
#Attribution
Some components of this package are based on one or more of the following pieces of software:
The author
Egg² Code Labs is a software development company located in Vienna, Austria. We strive to deliver high-quality applications and build our own packages.
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Soft Theme
A theme that gives panels a warm, approachable look with rounded shapes, gentle colors, and serif headings.
Filament
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight like Command Palette to your Filament Panel.
Dennis Koch