Download the PHP package koassi/filament-rail without Composer

On this page you can find all versions of the php package koassi/filament-rail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-rail

Filament Rail

Filament Latest Version on Packagist Tests Total Downloads

Filament Rail — a Filament full-height sidebar in the panel's accent color

A layout theme for Filament v5 panels, built around a full-height sidebar rail.

Screenshots

Light Dark
Expanded Accent sidebar, expanded, light mode Accent sidebar, expanded, dark mode
Collapsed Accent sidebar, collapsed, light mode Accent sidebar, collapsed, dark mode

Requirements

PHP ^8.3
filament/filament ^5.0
blade-ui-kit/blade-icons ^1.6

The stylesheet uses @apply and Tailwind v4 syntax, so it is compiled by the host application's Tailwind rather than shipped pre-built.

Installation

Publish the stylesheet entry point:

This writes resources/css/filament/admin/theme.css. If your panel is not named admin, move the file to match Filament's convention: resources/css/filament/{panel-id}/theme.css.

vendor:publish skips an existing file and still exits successfully. If the panel already has a stylesheet, nothing was written — add the import by hand instead.

Register the entry point as a Vite input:

Point the panel at it and register the plugin:

Then build: npm run build.

Configuration

collapsedBrandLogo() accepts an image URL, an Htmlable (an inline SVG, say) or a closure returning either. It is boxed to 2.25rem square, so give it square artwork.

Beyond those four setters, anything the panel sets after ->plugins([...]) overrides the theme — that is the escape hatch for every option the plugin sets on your behalf.

The plugin also configures the panel (collapsible sidebar, global search and notifications in the topbar, user menu in the sidebar) and registers a few global defaults for tables and schemas (compact pagination, striped, deferLoading, session persistence, d M Y date formats). Both lists, and how to override them, are in IMPLEMENTATION_NOTE.md.

Customization

The published entry point is a couple of imports; your own rules and token overrides go below them and win, because the theme adds no !important and no @layer:

The sidebar palette is driven by --sidebar-* custom properties, all derived from --sidebar-bg — re-pointing that one token repaints the whole sidebar. The full token table is in contrast floor before lowering any of the text mixes.

Neutral sidebar variant

Same layout, but the sidebar takes the app's own surface color — white in light mode, gray-900 in dark — and the accent moves onto the active navigation item and the badges.

Light Dark
Expanded Neutral sidebar, expanded, light mode Neutral sidebar, expanded, dark mode
Collapsed Neutral sidebar, collapsed, light mode Neutral sidebar, collapsed, dark mode

Publish its entry point instead of the base one:

The two tags write the same file, so publish one or the other, never both. If you already have an entry point, just add the variant import after the base one — order is the whole mechanism:

The variant is chosen at build time, not from PHP. Its token table is in IMPLEMENTATION_NOTE.md.

Testing

Further reading

IMPLEMENTATION_NOTE.md documents the design tokens, the contrast measurements, the layout decisions behind the stylesheet, and the known limitations.

License

MIT.


All versions of filament-rail with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
blade-ui-kit/blade-icons Version ^1.6
filament/filament Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package koassi/filament-rail contains the following files

Loading the files please wait ...