Download the PHP package alessandronuunes/filament-plugin without Composer

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

Filament Plugin Scaffolder

Scaffold Filament v3/v4/v5 plugins with Artisan commands. Generates the full structure: ServiceProvider, Plugin class, config, views, translations, install command, and more in packages/ or a custom path.

Features

Command Description
make:filament-plugin Create a new Filament plugin from scratch
filament-plugin:register Register an existing plugin in the project composer.json
filament-plugin:page Create a Filament page inside an existing plugin
filament-plugin:submit Interactive wizard to submit a plugin to filamentphp.com

Requirements

Installation

For local package (monorepo), add to the application composer.json:

Then run:

Configuration

Publish the config file:

Edit config/filament-plugin.php:

Option Description Default
packages_path Base directory for local plugins packages
filamentphp_fork_path Path to your filamentphp.com fork (env: FILAMENTPHP_FORK_PATH) —
default_vendor Vendor namespace for new plugins AlessandroNuunes
default_author_name Author name for composer.json AlessandroNuunes
default_author_email Author email for composer.json —

The packages_path is used by filament-plugin:register and filament-plugin:page to locate plugins (e.g. FilamentTest → packages/filament-test).

The filamentphp_fork_path is used by filament-plugin:submit as the default repo path and enables automatic creation of author and plugin files in your fork. Set in .env:


1. Create a New Plugin

The command asks interactively:

The plugin is created in packages/{slug}/ (or --path=custom/path).

Options

Option Description
--path=packages Base directory for the plugin (default: packages)
--force Overwrite existing directory
--register Add plugin to composer.json and run composer update
--no-register Skip adding to composer.json

Non-interactive Example

With --no-interaction, the Filament version defaults to 4 or 5.


2. Register Existing Plugin

If the plugin already exists in packages/ but is not in the project composer.json:

The command:

  1. Finds the plugin in packages/filament-test (or configured packages_path)
  2. Adds the path repository and require to composer.json
  3. Runs composer update {package}

Argument: Plugin name in PascalCase (e.g. FilamentTest, FilamentMember).

If the plugin is not found, check packages_path in config/filament-plugin.php.


3. Create Page Inside a Plugin

After creating or cloning a plugin, add Filament pages with:

Creates the class at src/Pages/MyPage.php and the view at resources/views/filament/pages/my-page.blade.php.

Arguments and Options

Argument/Option Required Description
name Yes Page name in PascalCase (e.g. ManageSettings)
--plugin= Yes Plugin name in PascalCase (e.g. FilamentTest)
--filament= When --no-interaction Version: 3, 4, 5, or 4\|5
--force No Overwrite existing class and view
--register No Add page to ->pages([...]) in the Plugin class
--panel= No Panel name (comment only in the class)

Examples

Auto-register Page

With --register, the command adds the page to ->pages([...]) in the plugin *Plugin.php. If the plugin uses ->discoverPages(), the page is discovered automatically and no manual change is needed.


4. Submit Plugin to filamentphp.com

Interactive wizard to prepare and submit a plugin to filamentphp.com:

The wizard guides you through:

  1. Fork and clone the filamentphp.com repository
  2. Selecting a plugin from packages/ (or entering data manually)
  3. Creating a branch (e.g. add-filament-tabbed-dashboard)
  4. Author profile (new or existing)
  5. Plugin data (name, slug, categories, description, etc.)
  6. Create files — optionally writes content/authors/{slug}.md and content/plugins/{slug}.md directly into your fork
  7. Commit and push instructions
  8. Pull Request checklist

Options

Option Description
--repo= Path to your filamentphp.com clone (default: FILAMENTPHP_FORK_PATH or current directory)

Automatic File Creation

If FILAMENTPHP_FORK_PATH is set in .env, the wizard uses it as the default repo path. At the end, it asks:

Create the author and plugin files in your fork now? [y/N]

If you confirm, it writes the author and plugin markdown files directly. Add avatar and plugin image manually (JPEG, sizes as per filamentphp.com guidelines).

Author Defaults (Submit Wizard)

Configure in config/filament-plugin.php to pre-fill the submit wizard:

Option Description
author_full_name Full name for author profile
author_slug Author slug (e.g. alessandro-nuunes)
author_github_url GitHub profile URL
author_twitter Twitter/X URL (optional)
author_mastodon Mastodon URL (optional)
author_sponsor_url Sponsor URL (optional)
author_bio Short bio (optional)

Recommended Workflow

  1. Create the plugin:

  2. Register in the project (if not already):

  3. Add pages:

  4. Register the plugin in the Filament panel:

  5. Submit to filamentphp.com (optional):

Structure Generated by make:filament-plugin


Troubleshooting


Publishing

  1. Publish the package to GitHub (or GitLab).
  2. Others can install via Composer:
    • Packagist: composer require alessandronuunes/filament-plugin
    • Git repo: add to repositories: "type": "vcs", "url": "https://github.com/your-username/filament-plugin" then composer require alessandronuunes/filament-plugin:dev-main

Contributing

This package is in its early stages and we would love your help to improve it. Ideas, bug reports, pull requests, and feedback are all welcome.

Ways you can contribute:

Together we can make this scaffolder more useful for the Filament community. Thank you!


License

MIT. See LICENSE.md.


All versions of filament-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3|^8.4
illuminate/console Version ^11.0|^12.0
illuminate/process Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.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 alessandronuunes/filament-plugin contains the following files

Loading the files please wait ...