Skip to content

Update ContaoValetDriver to support current Contao versions#1532

Merged
mattstauffer merged 1 commit intolaravel:masterfrom
lukasbableck:contao-driver
Sep 15, 2025
Merged

Update ContaoValetDriver to support current Contao versions#1532
mattstauffer merged 1 commit intolaravel:masterfrom
lukasbableck:contao-driver

Conversation

@lukasbableck
Copy link
Copy Markdown
Contributor

This PR updates the ContaoValetDriver to support current Contao versions (from Contao 4.9).
/web/app.php was used until to Contao 4.8, which was released in August 2019, later versions use index.php instead of app.php.
I don't think it makes sense to still support older versions than 4.8, because they all are unsupported since 2019. But if you still want to support them, I can add it again.
Current versions also use the public directory, but web is still supported and is probably still in use by a few people.

I have also added support for the Contao Manager, which usually resides in /public/contao-manager.phar.php and the preview mode, which uses the preview.php file.

@mattstauffer mattstauffer merged commit 0177d73 into laravel:master Sep 15, 2025
8 checks passed
@mattstauffer
Copy link
Copy Markdown
Collaborator

Looks good to me. Thanks!

@lukasbableck lukasbableck deleted the contao-driver branch September 16, 2025 03:33
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.

2 participants