Download the PHP package aymanalhattami/filament-page-with-sidebar without Composer

On this page you can find all versions of the php package aymanalhattami/filament-page-with-sidebar. 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-page-with-sidebar

Filament Page With Sidebar

StandWithPalestine Latest Version on Packagist Total Downloads GitHub Tests Action Status GitHub Code Style Action Status

Organize pages in the sidebar in order to make navigation between pages more comfortable.

Note: It supports both pages and resource pages.

Note: For Filament 2.x use version 1.x

Screenshots

LTR (Left to Right) filament-page-with-sidebar

RTL (Right to Left) filament-page-with-sidebar

Please check out this video by Povilas Korop (Laravel Daily) to learn more about our package: link

Installation

optionally you can publish config, views and components files

Usage with Resource Pages

  1. First you need to prepare resource pages, for example, we have an edit page, view page, manage page, change password page, and dashboar page for UserResource

  2. Define a $record property in each custom page, example

  3. Then, define the sidebar method as static in the resource

  4. Use x-filament-page-with-sidebar::page component in the page blade file as a wrapper for the whole content

or add the trait on any page you want the sidebar included. This trait will add the sidebar to the Page. Add it to all your Resource Pages :

If you want to use custom view, you can still overwrite the default value with and

Usage with Page

  1. Add the trait on any page you want the sidebar included.
  2. Then, define the sidebar method as static in the page

More Options

Set title and description for sidebar

You can set the title or description by using setTitle, setDescription, setDescriptionCopyable methods for the sidebar that will be at the beginning of the sidebar on the top, for example

Set navigation layout

You can set navigation as sidebar by using or as topbar by using . The default layout is sidebar

Sidebar

filament-page-with-sidebar

Topbar

filament-page-with-sidebar

Add icon

You can add an icon to the item by using the icon method, for example

Add group

You may group navigation items, for example

Set active item

You can make an item active "has a different background color" by using isActiveWhen method, for example

Hide the item

You can control the visibility of an item from the sidebar by using visible method, for example

Add bage to the item

You can add a badge to the item by using the badge method, for example

Translate the item

You can translate a label by using translateLabel method, for example

License

The MIT License (MIT). Please see License File for more information.

Demo Project Link


All versions of filament-page-with-sidebar with dependencies

PHP Build Version
Package Version
Requires filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.0
laravel/framework Version ^10.0|^11.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 aymanalhattami/filament-page-with-sidebar contains the following files

Loading the files please wait ....