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

prashantmalla's avatar

php artisan commands returning output by attaching '.' in the first line

When I run an artisan command like 'php artisan --version', It gives output by attaching '.' (dot) in the first line like '.Laravel Framework 9.5.1'

'.' is automatically added in each js file due to this so, I can not use JS.

0 likes
3 replies
MohamedTammam's avatar

Why you are using Artisan for JS files? and are you sure that dot from the artisan command not from your terminal?

1 like
prashantmalla's avatar

@MohamedTammam yes I am sure dot is not from my terminal. I used the same terminal for running artisan command for two different project One worked fine another did not.

Please or to participate in this conversation.