PHPackages                             joserick/filament-devtool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. joserick/filament-devtool

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joserick/filament-devtool
=========================

A development tool for FilamentPHP

v0.1.0(today)00MITPHPPHP ^8.3

Since Jun 13Pushed todayCompare

[ Source](https://github.com/joserick/filament-devtool)[ Packagist](https://packagist.org/packages/joserick/filament-devtool)[ RSS](/packages/joserick-filament-devtool/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

Filament DevTool
================

[](#filament-devtool)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1fd3bdc8860841cfb8750eb23e5be140514ed334f2d65a0ff8dd18a5684856db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f73657269636b2f66696c616d656e742d646576746f6f6c2e737667)](https://packagist.org/packages/joserick/filament-devtool)[![License](https://camo.githubusercontent.com/f7fa8e458ce54bc30cb3310dd9786fd5ff3ab87d772809e69057c232bf4ee6a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6f73657269636b2f66696c616d656e742d646576746f6f6c2e737667)](https://github.com/joserick/filament-devtool/blob/main/LICENSE)

Filament DevTool is an agile tool that enables the creation of **FilamentPHP v5** components within Laravel packages under development. It replaces Filament's original `make:` commands with versions that generate code directly in the package's `src/` structure instead of the Laravel application skeleton.

Features
--------

[](#features)

- 🚀 **All Filament `make:` commands** rewritten for package development
- 📦 File generation in `src/` using [Orchestra Canvas](https://github.com/orchestral/canvas)
- 🐳 Docker/Sail development environment included
- 🧪 Integration with [Orchestra Testbench](https://github.com/orchestral/testbench) for package testing
- ⚡ No need for a full Laravel application to develop components

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- [Composer](https://getcomposer.org/) 2.2+
- [Docker](https://www.docker.com/) (for the Sail development environment)

Installation
------------

[](#installation)

### As a development dependency in your package

[](#as-a-development-dependency-in-your-package)

```
composer require --dev joserick/filament-devtool
```

The package will be automatically registered thanks to Laravel's package discovery.

### Using the Sail/Docker development environment

[](#using-the-saildocker-development-environment)

Run the installation script directly with `curl`:

```
curl -s https://filament-devtool.joserick.com/install | bash
```

The `install.sh` script:

1. Clones the `joserick/filament-devtool` repository
2. Copies `stubs/compose.stub` to `compose.yml`
3. Installs Composer dependencies using Docker
4. Builds the Sail image for PHP 8.5
5. Sets up permissions for the `vendor/` directory

Once finished, start the containers:

```
cd filament-devtool && vendor/bin/sail up -d
```

Usage
-----

[](#usage)

### Available commands

[](#available-commands)

All Filament `make:` commands are available through Canvas. Run them using the `canvas` alias:

```
vendor/bin/sail php vendor/bin/canvas
```

#### Included commands

[](#included-commands)

CommandDescription`make:filament-resource`Creates a panel Resource`make:filament-page`Creates a panel Page`make:filament-widget`Creates a Widget`make:filament-cluster`Creates a panel Cluster`make:filament-relation-manager`Creates a Relation Manager`make:form-field`Creates a form field`make:form`Creates a form component`make:livewire-form`Creates a Livewire form`make:rich-content-custom-block`Creates a custom block for Rich Content`make:table-column`Creates a table column`make:table`Creates a table component`make:livewire-table`Creates a Livewire table`make:infolist-entry`Creates an Infolist entry`make:schema-component`Creates a Schema component`make:schema`Creates a Schema`make:livewire-schema`Creates a Livewire Schema`make:filament-importer`Creates an Importer`make:filament-exporter`Creates an Exporter`make:filament-issue`Creates an Issue#### Examples

[](#examples)

```
# Create a resource
vendor/bin/sail php vendor/bin/canvas make:filament-resource User

# Create a form field
vendor/bin/sail php vendor/bin/canvas make:form-field ColorPicker

# Create a page
vendor/bin/sail php vendor/bin/canvas make:filament-page Settings
```

Generated files are automatically placed in `src/` following the package structure (`canvas.yaml`).

### Recommended terminal aliases

[](#recommended-terminal-aliases)

Add these aliases to your `~/.bashrc` or `~/.zshrc`:

```
alias sail='vendor/bin/sail'
alias canvas='vendor/bin/sail php vendor/bin/canvas'
alias testbench='vendor/bin/sail php vendor/bin/testbench'
```

### Testing

[](#testing)

Run tests with Pest:

```
vendor/bin/sail php vendor/bin/pest
```

To run a specific test file:

```
vendor/bin/sail php vendor/bin/pest tests/Feature/MakeResourceCommandTest.php
```

### Testbench

[](#testbench)

Use Testbench as an Artisan alias to interact with the Laravel skeleton application:

```
vendor/bin/sail php vendor/bin/testbench make:model User
vendor/bin/sail php vendor/bin/testbench migrate
vendor/bin/sail php vendor/bin/testbench route:list
```

Project structure
-----------------

[](#project-structure)

```
├── src/                          # Package source code
│   ├── DevToolServiceProvider.php
│   └── Commands/                 # Rewritten make: commands
│       ├── MakeResourceCommand.php
│       ├── MakeFieldCommand.php
│       ├── MakeTableCommand.php
│       └── ...
├── workbench/                    # Laravel skeleton app for testing
│   ├── app/
│   ├── database/
│   └── routes/
├── vendor/                       # Dependencies
├── canvas.yaml                   # Orchestra Canvas configuration
├── testbench.yaml                # Orchestra Testbench configuration
├── compose.yml                   # Docker Compose for Sail
└── install.sh                    # Installation script

```

License
-------

[](#license)

MIT License © [Joserick](https://github.com/joserick)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15143699?v=4)[Jose Erick Carreon](/maintainers/joserick)[@joserick](https://github.com/joserick)

---

Tags

laraveldevfilamentfilamentphplaravel-filament

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/joserick-filament-devtool/health.svg)

```
[![Health](https://phpackages.com/badges/joserick-filament-devtool/health.svg)](https://phpackages.com/packages/joserick-filament-devtool)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.5k](/packages/orchestra-testbench)[orchestra/testbench-core

Testing Helper for Laravel Development

27146.5M362](/packages/orchestra-testbench-core)[laravel/nova-devtool

Devtool for Laravel Nova Development

32531.4k165](/packages/laravel-nova-devtool)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12351.0k](/packages/jibaymcs-filament-tour)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7976.7k4](/packages/guava-filament-modal-relation-managers)[awcodes/richer-editor

A collection of extensions and tools to enhance the Filament Rich Editor field.

379.0k8](/packages/awcodes-richer-editor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
