Add Joomla as Project Type #8212
Replies: 5 comments 8 replies
|
We'd be delighted to have a Joomla project type. Full details on how to add one are at https://docs.ddev.com/en/stable/developers/project-types/ There are lots of resources on how to contribute to DDEV on https://ddev.com/blog, it's not hard! |
That's probably why we have And I agree it would be much better to have a specific project type for Joomla.
|
|
With the help of Claude AI I managed to create a 'joomla' project type. I built a local ddev executable and tested that and it works perfect. I can now query the api endpoints without any modifications. All together these files were modified: The following new files were created: How can we proceed from here? When I created a local Joomla 6 based website I also found that two php.ini settings were not optimal for Joomla. So then I thought if would be possible to automatically distribute a According to Claude AI it is technically possible to do this in the following way:
What do you think about this idea? |
|
There are 2 ini settings that Joomla 'complains' about during installation. Joomla likes to have the following alterations: Error display is handled by a setting in the Joomla backend admin interface. |
|
I created a PR to add Joomla support by adding the new joomla project type: |

Uh oh!
There was an error while loading. Please reload this page.
I am a professional Joomla developer and recently started using DDEV for local development. Since Joomla 4.0 (the current stable release is Joomla 6.0.3), Joomla ships with a built-in REST API based on the JSON:API specification, accessible under the
/apiendpoint.When creating a new DDEV project there is currently no Joomla-specific project type available, so the natural fallback is to choose
phpas the project type. Joomla runs fine with this setup using Nginx as the web server, with one notable exception: the API functionality does not work out of the box. The defaultnginx.confprovided by DDEV lacks the routing rule required to pass API requests through to Joomla's front controller.To get the API working, the Nginx configuration needs the following addition:
While adding a custom Nginx configuration override per project is a workable workaround, it is an extra manual step that is easy to miss and needs to be repeated for every new Joomla project.
Would it be feasible to add a dedicated Joomla project type to DDEV, with Nginx settings optimised for Joomla 5 and 6 out of the box? This would give Joomla developers a first-class experience in DDEV — including full API support — from the moment they run
ddev config, without any manual configuration required.All reactions