Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jogojob's avatar

Questions regarding Filament PHP

Self taught PHP and Laravel hobby-dev here.

I am unsure whether I can use Filament PHP for this idea, maybe someone knows if the following is possible:

I want to use Filament for a centralized admin CMS, but the changes that the user makes should be posted and written to a remote website's database, not the database of the website that hosts the CMS.

This would mean that I need to get into the underlying script of filament, to change the form submission script, so that I do a cURL or Guzzle HTTP post request and not a database write.

Is this idea weird or is it possible to use filament for this?

0 likes
1 reply
tykus's avatar

This should be possibly without needing to change the Filament vendor code.

You can configure a separate database connection for your individual Eloquent Models, so the forms submit to the Filament Admin panel host, but database read/writes are to the remote database.

https://laravel.com/docs/10.x/eloquent#database-connections

You are free to configure your database however you wish, but I expect in such scenarios, your Filament installation will likely have a local database , while the Models representing entities on the other site's database will use the remote connection.

Please or to participate in this conversation.