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.5(3w ago)011MITPHPPHP ^8.3

Since Jun 13Pushed 3w agoCompare

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

READMEChangelog (5)Dependencies (21)Versions (6)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

39

—

LowBetter than 84% of packages

Maintenance94

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~4 days

Total

5

Last Release

26d ago

### Community

Maintainers

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

---

Top Contributors

[![joserick](https://avatars.githubusercontent.com/u/15143699?v=4)](https://github.com/joserick "joserick (16 commits)")

---

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.2k42.5M42.9k](/packages/orchestra-testbench)[orchestra/testbench-core

Testing Helper for Laravel Development

27248.1M393](/packages/orchestra-testbench-core)[laravel/nova-devtool

Devtool for Laravel Nova Development

33625.5k195](/packages/laravel-nova-devtool)[boundwize/structarmed

Configurable PHP architecture guards — define your layers and rules, then keep them enforced

45629.2k27](/packages/boundwize-structarmed)[jibaymcs/filament-tour

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

12453.6k1](/packages/jibaymcs-filament-tour)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7981.8k7](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

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