Skip to content

Laravel Filament Compatible#2

Open
99linesofcode wants to merge 9 commits intomainfrom
filament-plugin-ready
Open

Laravel Filament Compatible#2
99linesofcode wants to merge 9 commits intomainfrom
filament-plugin-ready

Conversation

@99linesofcode
Copy link
Owner

@99linesofcode 99linesofcode commented Jan 24, 2026

Perhaps this skeleton shouldn't depend on and make use of Laravel Filament by default and the code on this PR should be extracted to a dedicated repository but this is where I decided to take my first steps.

Working with packages that introduce their own artisan commands is always difficult, especially when those commands do not support overriding the output filepaths, and Filament is no different. To comfortably work with Filament and use their generator commands I'm pulling the package into a clean Laravel project as such:

{
    "repositories": [
        {
            "type": "path",
            "url": "../laravel-package-skeleton",
            "options": {
                "symlink": true
            }
        }
    ],
    "require": {
        "99linesofcode/laravel-package-skeleton": "dev-master"
    },
}

Filament itself is installed/configured in the host app through artisan filament:install and any files generated are generated there and copied over.

@99linesofcode
Copy link
Owner Author

I've set things up for auto discovery and Laravel picks up on the BlogPanelProvider but during development it wouldn't pick up on the routes I added and I'm not entirely sure why. I'd expect the symlink flag to make sure that it picks up on the changes automatically but perhaps I forgot to composer dump-autoload after registering it or something else that I don't fully understand yet was going on.

When it doubt, nuke /vendor from orbit and run composer install again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant