Is it possible to programatically create new sites in Forge?

Posted 1 year ago by denislam

While it is simple to create and configure a new site within Forge, I was wondering if there is any way to programatically create a new site via ssh shell, cron job, or code/script? The new site should be listed within Forge just like the results of a manual site creation.

This would be useful if one is building an app that creates new sites and we'd like the Forge admin to be able to manage all of these sites and configurations via Forge.

Any tips would be appreciated.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.