Laravel Starter Guide: Part 1 – Introduction

Laravel Starter Guide

Laravel is a FREE, Open-Source PHP Web Framework. It is created by Taylor Otwell. It follows the model, view, controller (MVC) architecture. The websites built in Laravel also secure. It prevents the many attacks that can take place on the website. In this tutorial (Laravel Starter Guide) we focus on laravel basic installation and introduction.

Laravel Starter Guide – Installation

Server Requirment

PHP >= 7.1.3
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension

Step 1: Get composer and Install it using this link –

Laravel Starter Guide
Laravel Starter Guide

Step 2: Install XAMPP for setup PHP environment.

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

XAMPP is an Open source software. It’s a Stands of Cross-platform (X). we can create a local web server using XAMPP. It’s easy to use and it works with Windows, Linux, and Mac OS. You can use alternative software for XAMPP, such as WAMP, MAMP but today I’m going to focus on XAMPP.

XAMPP Download link (121 MB) –
WAMP download link (286 MB) –
MAMP download link (410 MB) –

Click on the downloaded XAMPP setup. (If you got any permission message or warning message click “OK” or “YES” button to continue). It will open the XAMPP setup wizard. Click the next button to continue.

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Now it asked, what components we want to install and what’s not. We only need Apache and MySQL. (select following Components and click the next button to continue)

  • Server
    • Apache – Apache Server
    • MySQL – Database Server
  • Program Language
    • PHP – Hypertext Preprocessor
  • Program Languages
    • phpMyAdmin – Database Control panel
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Choose the installation location and click Next. (If you get Windows Defender Firewall Permission request, Tick both checkboxes and click Allow access.) Then click the next button to continue Now it will install XAMPP (wait till the installation complete) After the installation complete. Click Finish. It will open the XAMPP Control panel automatically.

This is a XAMPP Control Panel.

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Now click Start up Apache and MySQL (It will start Apache and MySQL servers)

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Now open your web browser and type http://localhost  or on the address bar.

Step 3: Create a new directory, anywhere in your computer for your project. Then move to the path using CMD.

Step 4: Create new Laravel Project.

Via Composer Create-Project

composer create-project --prefer-dist laravel/laravel projectName
Laravel Starter Guide

more details:

Step 5: Start the Laravel

Use following command to the run laravel project

php artisan serve
Laravel Starter Guide

Now visit

Laravel Starter Guide

Application Structure

Laravel Starter Guide

Environmental Configuration

Laravel Starter Guide

Open laravel project folder using your favourite text editor

Database Configuration – Create Database

Open a web browser and type http://localhost/phpmyadmin or (it will redirect you to phpMyAdmin control page)

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Click Databases and enter the Database Name then click Create, it will create our database.

My database name is “db_firstproject”

Database Configuration – Edit .env

Open .env file

Laravel Starter Guide

Find the following lines and enter your details and save it.

Laravel Starter Guide

Naming the Application

Use following command to name your application

php artisan app:name Your_Application_Name

Maintenance Mode – Start

php artisan down

Maintenance Mode – Stop

php artisan up

for more information:

Sources : (images) (Documentation)

Hello Friends,

Hope this post (Laravel Starter Guide) will help you to learn something, If you enjoy my work then please share my posts with your friends and anyone who might be interested in web development and programming and don’t forget to subscribe my mailing list.

If you had any problem with this post, please do mention it in the comment section.

Like ctechf Facebook fan page:

What is HTML?

HTML (HyperText Markup Language) is developed by Tim Berners-Lee. An HTML document which can be displayed through a web browser is called a web page. HTML is not a computer language it’s a markup language.

For more information: HTML Tutorial: Introduction for beginners (Basic)

What is PHP?

PHP: Hypertext Preprocessor is a general purpose server side script language. it designed for web development. It designed by Rasmus Lerdorf in 1994 and first released in 1995. PHP is free to download and use. It can contain text, HTML, JavaScript, CSS and PHP code. it runs on Windows, Linux, Mac OS and etc… PHP can do many things such as generate dynamic web pages, manage data in your database, control user access, etc… PHP 7 is much faster than the previous versions. In this tutorial. You will learn to install and run PHP on Windows pc.

For more information
PHP 7 Tutorial: Introduction for Beginners (Basic)
PHP7 Tutorial | Part 2 – GET, POST and Cookies

What is SQL?

SQL (Structured Query Language) is a standard language for storing, managing and retrieving data in databases. SQL was developed at IBM by Donald Chamberlin and Raymond Boyce. and first released in 1991. SQL became a standard of the ANSI (American National Standards Institute) in 1986.

For more information: SQL Tutorial: Introduction for beginners (Basic)

What is Python?

Python is a scripting language and that is used for creating engineering-analysis tools, web development (server-side), software development, system scripting, and animation software. It designed by Guido van Rossum and first released in 1991. It’s an interpreted, High-level. General-purpose language. Python runs on Windows, Mac OS, and Linux.

Python Tutorial: Introduction for Beginners (Part 1)
Python Tutorial: Introduction for Beginners (Part 2)
SQL Tutorial: Introduction for beginners (Basic)
Python Tutorial: How to Connect MySQL Database in Python
Python Tutorial: Python GUI Programming (Tkinter)
Python Tutorial: Send Emails Using Python

Also Read :

How to be a Programmer

Liked it? Take a second to support CtechF on Patreon!

Leave a Reply