Anvar Freelance Web Designer and SEO Expert Logo
01 / 01
WhatsApp Logo +91 808 999 0405

Laravel Hello World Example

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.

by anvar
Published : Sep , 28

Post a comment

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