Laravel Hello World
After the above step, open CMD and hit the composer –version. You should receive the  Composer version information. That’s it! The setup was successful.

After composer installation, Write following command in command line.

composer global require “laravel/installer=~1.1”
After above installation, create a directory in apache24 or xamp directory, then go to command line and set your created directory.

Then write the following command into a command line.

composer create–project anvar
where, anvar is the name of the project.

Now, create your first application.

Create a controller in /app/Http/Controllers/anvar.php  and write following code in it.




Laravel


AlphansoTech Step By Step Laravel Guide


Replace code in app/Http/route.php

Route::get(‘/alphansotech’, function () {
    return view(‘alphansotech’);
});
I hope you will find this post very useful regarding Laravel beginner guide . Let me know any questions if you have in comment regarding Laravel. I will reply you ASAP.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.