Skip to content

G4b0rDev/filament-package-skeleton-cli

Repository files navigation

Filament Package Skeleton CLI

A command-line tool to generate skeletons for Filament packages. It uses this template to generate the package.

💡 This package is inspired by Spatie Laravel Package.

Installation

You can install the package via Composer globally and use it as a command line tool:

composer global require g4b0rdev/filament-package-skeleton-cli

or you can download the phar file from the releases page.

Download and Setup

  1. Download the file from the releases page.
  2. Move the file to your bin directory:
    sudo mv filament-package-skeleton-cli /usr/local/bin/filament-package-skeleton-cli
  3. Make the file executable:
     chmod +x /usr/local/bin/filament-package-skeleton-cli

Commands

new

Creates a new FilamentPHP package project.

Usage:

filament-package-skeleton new <package-name>

Parameters:

  • <package-name>: The name of the new package.

Options:

  • --standalone: Create a standalone filament package

config

Changes the global configuration of the Filament Package Skeleton CLI.

Usage:

filament-package-skeleton config

This configs can be globally set for generating new filament packages

  • Vendor name: Set the base vendor name globally.
  • Path: Set the publish package path globally.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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