Download the PHP package lartisan/filament-architect without Composer

On this page you can find all versions of the php package lartisan/filament-architect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-architect

Filament Architect

A powerful [Filament](https://filamentphp.com) plugin that enables rapid scaffolding and generation of Eloquent models, migrations, factories, seeders, and Filament resources through an intuitive wizard interface.
[![Latest Version on Packagist](https://img.shields.io/packagist/v/lartisan/filament-architect.svg)](https://packagist.org/packages/lartisan/filament-architect) [![GitHub Tests](https://img.shields.io/github/actions/workflow/status/lartisan/filament-architect/tests.yml?label=Tests)](https://github.com/lartisan/filament-architect/actions) [![Total Downloads](https://img.shields.io/packagist/dt/lartisan/filament-architect.svg)](https://packagist.org/packages/lartisan/filament-architect) [![License](https://img.shields.io/packagist/l/lartisan/filament-architect.svg)](https://packagist.org/packages/lartisan/filament-architect) [![Live Demo](https://img.shields.io/badge/Live_Demo-architect.filamentcomponents.com-blue)](https://architect.filamentcomponents.com/)

Architect

[!TIP] Try the live demo — architect.filamentcomponents.com

[!IMPORTANT] Upgrading from v0.2.x or earlier? v1.0.0 introduces new database migrations.

See UPGRADE.md for the full upgrade steps.

It gives you a wizard for defining a table schema, then generates and updates the matching:

The current implementation is built for iterative work, not just first-time scaffolding. Existing blueprints can be created, merged, or replaced depending on the selected generation mode.

Quick Start

Prerequisite: you already have a Laravel app with a Filament panel set up.

Upgrading from a pre-1.0.0 release? Skip to the UPGRADE.md.

  1. Install the package.
  2. Run the Architect installer.
  3. Register the plugin in your Filament panel.
  4. Open the Architect action in your panel and generate your first resource stack.

Highlights

Wizard-driven scaffolding inside Filament

Generates the full stack around a model

Architect can generate:

Three generation modes

When files already exist, you can choose how Architect behaves:

merge is the default and the safest mode for day-to-day iteration.

Merge-aware updates for existing code

The plugin now updates existing generated files instead of blindly overwriting them.

For models, factories, and Filament resources, the merge flow is parser-aware and uses nikic/php-parser to preserve custom code while refreshing generated structure. Seeders use a managed generated-region strategy.

Current merge support includes:

Revision-aware migration previews and sync generation

Architect stores blueprint revisions after successful generation.

That revision history is used to make migration previews and sync migrations smarter:

Safer schema evolution

Architect supports guarded schema changes for existing tables:

Better generated-file readability

When enabled, Architect will try to run a formatter after writing generated files.

It also normalizes merged output for several blueprint types so updated files stay readable, including:

Filament panel integration

Production-aware visibility

The Architect action is hidden in production by default unless explicitly enabled.

Extension points for Premium / third-party packages

Architect Core now exposes a small set of stable extension points so premium modules or internal packages can build on the OSS workflow without forking the generators.

Minimal access example:


Planned premium edition

Architect today is focused on strong open-source CRUD scaffolding and safe regeneration loops.

A premium edition — Architect PRO — builds on that foundation with workflows especially useful for larger teams, legacy projects, and more complex data models.

Available in Architect PRO

These features are already shipped in the premium package:

Coming soon

These features are planned for future PRO releases:

Some PRO features are already available; others are still in development. The open-source package described in this README is the free, currently available product.

Waiting list / early-bird pricing

Before the premium edition launches, a waiting list is planned.

The idea is to offer early-bird launch pricing to people who join that waiting list before release.

Until pricing and packaging are finalized, it is safest to describe this as:

Join the waiting list

Requirements


Installation

Fresh install

Then register the plugin in your Filament panel provider:

architect:install publishes assets and migrations, runs php artisan migrate, and registers a Composer hook for filament:assets.

Upgrading from pre-1.0.0

If you are upgrading from any pre-1.0.0 release (v0.2.x, v0.1.x, etc.):

architect:upgrade publishes the new migrations, runs php artisan migrate, and backfills initial revisions for existing blueprints.

Tip: Run php artisan architect:upgrade --dry-run first to preview which blueprints will be backfilled without writing any changes.

For a detailed walkthrough, see UPGRADE.md.


Add the plugin to a Filament panel

Register the plugin in your panel provider:

Optional plugin customization:


Configuration

Architect uses sensible runtime fallbacks, but the available options are defined in config/architect.php.

Key options include:

Example configuration:

Useful environment variables:

Filament version

Architect supports two resource output structures depending on your installed Filament version.

Set ARCHITECT_FILAMENT_VERSION in your .env file:

Value Target Structure
v4 (default) Filament 4 / 5 Domain folder per model (Resources/Users/) with separate Schemas/ and Tables/ sub-classes
v3 Filament 3 Flat structure (Resources/UserResource.php) with inline form, table and infolist

Formatting options

Supported formatter values:


Wizard workflow

1. Database step

You define the table structure:

Supported column types in the wizard:

Per-column options:

For foreign-key-like columns, you can also provide:

2. Eloquent step

You choose:

3. Review step

You can:

Current code previews include:


Blueprint management

Architect stores blueprints in the database so you can iterate over time.

Current blueprint management features:

Blueprint revisions are used to improve migration preview and sync generation accuracy across multiple iterations.

Current behavior: deleting a blueprint from the table is destructive. It also drops the related database table (if present), removes matching migration records, deletes generated files, and removes generated Filament resource pages.


Generated blueprints

Model

Location depends on models_namespace.

Generated behavior includes:

Relationship inference currently supports columns such as:

Migration

Architect can generate:

Factory

Location depends on factories_namespace.

Generated definitions are inferred from column names and types, including special handling for:

Seeder

Location depends on seeders_namespace.

Generated seeders use a managed region strategy so repeated generations can refresh the generated seeding block without wiping custom logic outside it.

Filament Resource

Location depends on resources_namespace and filament_version.

Generated resource support includes:

v4 / v5 — domain structure (default)

Architect generates a thin resource that delegates to dedicated schema and table classes.

In merge mode each file is updated independently: form fields merge into UserForm.php, table columns into UsersTable.php, and the thin UserResource.php only receives new imports and the getEloquentQuery() method if needed.

v3 — flat / monolithic structure

Architect generates a single monolithic resource with form, infolist, and table defined inline, matching the classic Filament v3 layout.

To use v3 output, add ARCHITECT_FILAMENT_VERSION=v3 to your .env.


Schema safety and migration behavior

When working against existing tables, Architect supports a safer regeneration workflow.

Supported diff types

Safety controls

Revision-aware behavior

If a blueprint has prior revisions, Architect compares against the latest generated revision first.

This means:


Merge behavior summary

Blueprint Managed / generated updates in merge mode Preserved in merge mode
Model Missing imports, framework traits, $fillable, inferred belongsTo relationships Existing custom methods and existing relationship overrides
Factory Missing definition() keys and generated imports Existing custom field values and custom state/helper methods
Seeder Managed generated block inside run() Custom logic outside the managed seed region
Filament Resource (v3) Managed form(), table(), infolist(), generated filters / bulk actions, missing page wiring Clearly custom unmatched entries where possible, existing page classes
Filament Resource (v4) Thin resource: new imports + getEloquentQuery() if missing; *Form.php, *Infolist.php, *Table.php each merged independently Custom components in each schema/table file; custom page classes
Resource Pages Missing generated page classes Existing page classes and their custom logic
Migration Preview / Sync Revision-aware diffing from the latest stored blueprint revision Previous revisions stay as the baseline instead of being re-added from stale DB state

Notes


Plugin visibility and rendering

Architect is hidden in production by default.

To explicitly enable it:

Render hook and icon button options are configured through ArchitectPlugin:


Action Color

Customize the color of the Architect action button or icon button:

When no custom color is provided, the action keeps Filament's default primary color.

Custom Render Hook

Change where the Architect action is rendered in your panel:

By default, the action is rendered at PanelsRenderHook::GLOBAL_SEARCH_BEFORE when the panel topbar is enabled, and at PanelsRenderHook::SIDEBAR_NAV_END when the panel uses ->topbar(false).

Available render hooks:

Usage

Accessing the Wizard

Once installed and configured, the Architect plugin adds an action button to your Filament panel. Click the "Architect" button to open the generation wizard.

Step 1: Database Configuration

Define your database table structure:

Configure what to generate:

Step 2: Eloquent Configuration

Note: Migrations and Models are always generated as they are core to the plugin's functionality.

Step 3: Review & Generate

Review your configuration and click "Save & Generate" to:

  1. Save the blueprint to the database
  2. Generate all selected files
  3. Optionally run migrations immediately
  4. Create Filament resource pages (list, create, edit, view)

Managing Blueprints

In the "Blueprints" tab, you can:

Generated Files

When you use the Architect wizard, it generates the following files:

Model

Migration

Factory

Seeder

Filament Resource

Output structure depends on ARCHITECT_FILAMENT_VERSION (default: v4).

v4 / v5 — domain structure:

v3 — flat / monolithic:

Development

Run tests:

Format code:

Lint with Pint:


Current scope

Architect currently focuses on fast CRUD scaffolding and safe regeneration loops for Laravel + Filament projects.

The strongest supported workflows today are:

Planned premium work is aimed at visual revision tooling, rollback workflows, legacy-project adoption, advanced relationships, and team-oriented collaboration features.


License

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


All versions of filament-architect with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.92
filament/filament Version ^4.0|^5.0
nikic/php-parser Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lartisan/filament-architect contains the following files

Loading the files please wait ...