Level 1
OK, i did it. i just create url with . something like this: domain.com/y.php
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, An api that i use wants url format which matches with this regex pattern
http[s]?://(([^/:.[:space:]]+(.[ ^/:.[:space:]]+)*)|([0-9](.[0- 9]{3})))(:[0- 9]+)?((/[^?#[:space:]]+)(?[^# [:space:]]+)?(#.+)?)? So if i have an address like this
domain.com/y i have to convert it to the
domain.com/index.php?something=y I am using laravel 5.1 and need to be change pretty url to the traditional format.
Is there a way to do this, or is there any option to use simple php page inside laravel project?
Please or to participate in this conversation.