Download the PHP package wotz/filament-brigada-cms without Composer
On this page you can find all versions of the php package wotz/filament-brigada-cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wotz/filament-brigada-cms
More information about wotz/filament-brigada-cms
Files in wotz/filament-brigada-cms
Package filament-brigada-cms
Short Description The conventions, defaults and shared UI behind a Brigada Filament CMS
License MIT
Homepage https://github.com/wotzebra/filament-brigada-cms
Informations about the package filament-brigada-cms
Filament Brigada CMS
The conventions, defaults and shared UI behind a Brigada Filament CMS — the parts that were previously copied out of a project skeleton and then drifted.
Pulls in wotz/filament-brigada-theme
and the standard plugin set, so a project gets a styled, configured panel from one
composer require.
Installation
Import the stylesheets from your panel theme, with the other @import rules at the top —
CSS drops an @import that follows any other rule:
Extend the panel provider:
Then npm run build.
What you get
Panel — the standard plugin set (theme, shield, activity log, sticky header, menu,
settings, media library, SEO, redirects, admin bar, environment indicator, unsaved-changes
modal, spotlight), Filament's global search replaced by the ⌘K spotlight over navigation,
records and actions, and the middleware stack.
Defaults, all applied through configureUsing, so an explicit call in a resource
always wins:
| Non-clickable rows | cell text stays selectable; records open through row actions |
| Persisted table state | sort, search and column searches, not just filters |
| Humanised labels | Amount including vat → Amount including VAT |
| Collapsed nav groups | and a default group label |
| Date and money formats | d M Y H:i:s, EUR |
Shared UI — the ⌘K trigger, expand/collapse-all for the sidebar, a panel error page,
a loading skeleton, CopyTranslationAction, and the HasReadOnlyBadge concern for
resources synced from elsewhere.
Drafts and live preview — oddvalue/laravel-drafts and wotz/filament-live-preview
are wired up: the plugins are registered, draft previews are disabled inside the panel, and
two concerns add the actions to a resource's pages.
Opting a resource in
The package registers the plugins, but nothing appears until a resource opts in — a panel with the plugins loaded and no traits applied shows no Preview or draft actions at all.
On the model:
The insteadof is required, not stylistic: both traits define getDraftableAttributes(),
and PHP fatals on the collision without it.
HandlesTranslatableDrafts matters more than it looks: laravel-drafts copies raw
attributes, so a spatie/laravel-translatable model loses every locale but the current one
the first time a draft is saved. On a model that is not translatable, use HasDrafts alone.
Add the columns with the migration helper the drafts package ships:
On the pages:
The create page is the same shape, with its own helper:
Live preview renders your own front-end view, so it only applies to resources that have one — and it has to be wired on both the create and edit pages, not just edit. If a project has no use for either, drop them:
Overriding
Every method on BrigadaPanelProvider is a seam. Append rather than replace:
Views override the Laravel way — resources/views/vendor/filament-brigada-cms/… wins.
Classes can be swapped through the container. And everything above is togglable in config:
Add your project's own acronyms there rather than editing the package:
Panel error page
Point your resources/views/errors/admin.blade.php at the packaged one:
Developing this package
Improvements are meant to be made in the package, while working on a real project — not made in the project and cherry-picked back. Point the project at a local checkout:
vendor/wotz/filament-brigada-cms is then a symlink to your checkout, so you edit the
package directly with the project running against it. Commit and tag in the package; every
other project picks it up on composer update.
Remove the path repository before committing the project:
Licence
MIT. See LICENSE.md.
All versions of filament-brigada-cms with dependencies
awcodes/filament-sticky-header Version ^4.0
awcodes/richer-editor Version ^2.1
azgasim/filament-unsaved-changes-modal Version ^1.0
bezhansalleh/filament-shield Version ^4.1
filament/filament Version ^5.5
illuminate/contracts Version ^12.0|^13.0
livewire/livewire Version ^4.0
oddvalue/laravel-drafts Version ^3.1
parfaitementweb/filament-password-input Version ^4.1
pboivin/filament-peek Version ^4.0
php Version ^8.4
pxlrbt/filament-environment-indicator Version ^3.4
spatie/eloquent-sortable Version ^5.0
spatie/laravel-package-tools Version ^1.12
spatie/laravel-sluggable Version ^4.0
spatie/laravel-translatable Version ^6.11
wallacemartinss/filament-onboarding Version ^2.5
wezlo/filament-search-spotlight Version ^1.0
wotz/filament-admin-bar Version ^2.1
wotz/filament-architect Version ^3.1
wotz/filament-belongs-to-many Version ^2.2
wotz/filament-brigada-theme Version ^0.2
wotz/filament-custom-tiptap-extensions Version ^2.2
wotz/filament-image-or-video Version ^2.2
wotz/filament-link-picker Version ^2.2
wotz/filament-live-preview Version ^0.2
wotz/filament-media-library Version ^4.6
wotz/filament-menu Version ^3.2
wotz/filament-redirects Version ^3.0
wotz/filament-resource-picker Version ^2.1
wotz/filament-seo Version ^4.0
wotz/filament-settings Version ^2.3
wotz/filament-table-filter-presets Version ^0.6
wotz/filament-translatable-strings Version ^3.0
wotz/filament-translatable-tabs Version ^3.0
wotz/laravel-locale-collection Version ^2.1
wotz/laravel-online-scope Version ^2.1
wotz/laravel-translatable-routes Version ^2.1