LaravelPackages.net
Acme Inc.
Toggle sidebar
jeffersongoncalves/filakit-cli

CLI tool for scaffolding Laravel projects with Filakit starter kits.

61
8
v1.0.6
About jeffersongoncalves/filakit-cli

jeffersongoncalves/filakit-cli is a Laravel package for cli tool for scaffolding laravel projects with filakit starter kits.. It currently has 8 GitHub stars and 61 downloads on Packagist (latest version v1.0.6). Install it with composer require jeffersongoncalves/filakit-cli. Discover more Laravel packages by jeffersongoncalves or browse all Laravel packages to compare alternatives.

Last updated

Filakit CLI

Filakit CLI

Tests Build Latest Release PHP 8.2+ License

CLI tool for scaffolding Laravel projects with Filakit starter kits. Select from available starter kits and create a new Laravel application with a single command.

Requirements

Installation

Download the latest filakit.phar from the Releases page:

# Download and make executable
curl -sL https://github.com/jeffersongoncalves/filakit-cli/releases/latest/download/filakit.phar -o filakit
chmod +x filakit
sudo mv filakit /usr/local/bin/filakit

Via Composer (global)

composer global require jeffersongoncalves/filakit-cli

Usage

Interactive mode

filakit new

The CLI will prompt you for:

  1. Application name - the name of your new project
  2. Starter kit - select from the available kits

With arguments

filakit new my-app

Skip selection with --kit

filakit new my-app --kit=jeffersongoncalves/filakitv5

Additional Options

All options from the Laravel installer are supported and forwarded directly:

| Option | Description | |-------------------------|---------------------------------------------------------| | --git | Initialize a Git repository | | --github[=VISIBILITY] | Create a GitHub repository (private or public) | | --branch=NAME | Default branch for the repository | | --organization=ORG | GitHub organization for the repository | | --database=DRIVER | Database driver (mysql, sqlite, pgsql, mariadb) | | --pest | Install Pest testing framework | | --npm | Use npm as the package manager | | --pnpm | Use pnpm as the package manager | | --bun | Use Bun as the package manager | | --yarn | Use Yarn as the package manager | | --boost | Install Laravel Boost | | -f, --force | Force install even if the directory already exists |

Examples:

# Create with Git + Pest + pnpm
filakit new my-app --kit=jeffersongoncalves/filakitv5 --git --pest --pnpm

# Create with a GitHub repo under an organization
filakit new my-app --kit=jeffersongoncalves/filakitv5 --github=private --organization=my-org

# Force overwrite with a specific database
filakit new my-app --kit=jeffersongoncalves/filakitv5 --database=pgsql --force

Available Starter Kits

Filament v5

| Kit | Package | |-----|--------| | Base Kit v5 | filakitphp/basev5 | | Fila Kit v5 | jeffersongoncalves/filakitv5 | | Native Kit v5 | jeffersongoncalves/nativekitv5 | | Mobile Kit v5 | jeffersongoncalves/mobilekitv5 | | Team Kit v5 | jeffersongoncalves/teamkitv5 | | Service Desk Kit v5 | jeffersongoncalves/servicedeskkitv5 | | Help Desk Kit v5 | jeffersongoncalves/helpdeskkitv5 | | Evolution Kit v5 | jeffersongoncalves/evolutionkitv5 | | MFA Kit v5 | jeffersongoncalves/mfakitv5 | | FilaFlux Kit v5 | jeffersongoncalves/filafluxkitv5 | | ERP Kit v5 | jeffersongoncalves/erpkitv5 | | Commerce Kit v5 | jeffersongoncalves/commercekitv5 |

Filament v4

| Kit | Package | |-----|--------| | Base Kit v4 | filakitphp/basev4 | | Fila Kit v4 | jeffersongoncalves/filakitv4 | | Native Kit v4 | jeffersongoncalves/nativekitv4 | | Mobile Kit v4 | jeffersongoncalves/mobilekitv4 | | Team Kit v4 | jeffersongoncalves/teamkitv4 | | Service Desk Kit v4 | jeffersongoncalves/servicedeskkitv4 | | Help Desk Kit v4 | jeffersongoncalves/helpdeskkitv4 | | Evolution Kit v4 | jeffersongoncalves/evolutionkitv4 | | MFA Kit v4 | jeffersongoncalves/mfakitv4 | | ERP Kit v4 | jeffersongoncalves/erpkitv4 | | Commerce Kit v4 | jeffersongoncalves/commercekitv4 |

Filament v3

| Kit | Package | |-----|--------| | Base Kit v3 | filakitphp/basev3 | | Fila Kit v3 | jeffersongoncalves/filakit | | Native Kit v3 | jeffersongoncalves/nativekit | | Mobile Kit v3 | jeffersongoncalves/mobilekit | | Team Kit v3 | jeffersongoncalves/teamkit | | Service Desk Kit v3 | jeffersongoncalves/servicedeskkitv3 | | Help Desk Kit v3 | jeffersongoncalves/helpdeskkitv3 | | ERP Kit v3 | jeffersongoncalves/erpkitv3 | | Commerce Kit v3 | jeffersongoncalves/commercekitv3 |

How It Works

Under the hood, Filakit CLI runs laravel new with the --using flag:

laravel new my-app --using=jeffersongoncalves/filakitv5

The list of available starter kits is embedded in the CLI and automatically updated via GitHub Actions when the source list changes.

Development

# Clone
git clone [email protected]:jeffersongoncalves/filakit-cli.git
cd filakit-cli

# Install dependencies
composer install

# Run tests
php vendor/bin/pest

# Run code formatting
php vendor/bin/pint

# Build PHAR
php filakit app:build filakit

License

Filakit CLI is open-source software licensed under the MIT license.

Comments