Level 18
While I'm sure it's possible in Laravel directly, the better option is to create a custom shell shell script that Laravel executes with parameters.
tip: If you have access you can leverage the cPanel / WHM API
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is it any way to do this directly from code in laravel?
I am so lazy to manually the same things again and again in cpanel. :p if it possible, Maybe better to make the application to generate those thing :D.
Please or to participate in this conversation.