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

OmarMakled's avatar

how to integrate native php script in laravel

is there a practical way to integrate native php script with js,css,php files in laravel

for example I have backup and restore db script I don't wanna touch it just create route like Route::get('backup',function() { // must run script });

0 likes
2 replies
RobinMalfait's avatar

You can run whatever php code that you want actually :)

1 like

Please or to participate in this conversation.