This is my first time use laravel blade and composer, i am so confuse after i run php artisan serve
When I enter the http://localhost:8000/news
that should appear the display of the code I wrote in news.blade.php
but when I run it out as shown in this below
Anyone can explain me what is this and why this is appear after i run php artisan serve
.
this is what CMD looks like after running php artisan serve
.
I found a problem similar to yours I believe it's the same problem
you can check it out here
It seems there's a problem with your APP_KEY
in your .env
file
if you have any backup of your .env
file with the APP_KEY
revert to that or if that's not the case you can generate a key with the following command
php artisan key:generate
hope it solves the problem