# Partisan — Documentation

Artisan for Laravel packages. Run every `make:` generator from your package directory and get files in `src/` with your package's namespace — models, commands, migrations, factories, tests, and full Filament resources included. Free and open source (MIT), built on [Orchestra Testbench](https://packages.tools/testbench) and [Canvas](https://github.com/orchestral/canvas).

- Repository: [github.com/packstub/partisan](https://github.com/packstub/partisan)
- Packagist: [packstub/partisan](https://packagist.org/packages/packstub/partisan)
- Support: [GitHub issues](https://github.com/packstub/partisan/issues)

## Guides

| Guide | What it covers |
| --- | --- |
| [Installation](https://packstub.dev/docs/partisan/installation) | Requirements and the one Composer command it takes |
| [Generators](https://packstub.dev/docs/partisan/generators) | The full `make:` suite — where each file lands and which namespace it gets |
| [Filament plugins](https://packstub.dev/docs/partisan/filament-plugins) | Generating complete Filament resources into your plugin's `src/` |
| [Configuration](https://packstub.dev/docs/partisan/configuration) | `testbench.yaml`, presets, environment switches, and `partisan:about` |
| [How it works](https://packstub.dev/docs/partisan/how-it-works) | The Testbench + Canvas architecture underneath |

## At a glance

```bash
composer require --dev packstub/partisan

vendor/bin/partisan make:model Invoice
# → src/Models/Invoice.php with `namespace Acme\Widget\Models;`
```

Partisan reads your package's `composer.json` and points the whole generator suite at it — no configuration needed for the common case. Everything the Testbench CLI can do still works from the same binary: `serve`, `migrate`, `route:list`, your package's own commands.
