Laravel Installation using CodeLobster IDE

Laravel installation using codeLobster IDE; Through this tutorial, i am going to show you how to install and configure laravel application using codeLobster IDE.

And as well as, you will learn simple way of how to install and configure laravel application using codeLobster IDE without using command line or command prompt.

Codelobster helps you to make a local Laravel installation quickly and effortlessly. There is no need to use the command line or download and run VirtualBox and Homestead virtual machine, which is larger than 2 GB.

Installing Laravel in CodeLobster IDE

Use the following steps and install laravel application into your system using CodeLobster IDE:

  • Step 1 – Go to the main menu “Project” -> “Create Project”
  • Step 2 – Configure Database Details
  • Step 3 – Setup Database Port and Host
  • Step 4 – Choose Packages to Install and Setup to App
  • Step 5 – Start Laravel Application
  • Step 6 – Testing the Work of the Laravel Application

Step 1 – Go to the main menu “Project” -> “Create Project”

In the dialog box that appears, select the type of the created project “Create Empty Laravel Project”.


Specify the project name, which we will place in the “htdocs” folder in the directory with the installed XAMPP.

Enable the option “Create project in a new folder” and click “OK” to start the wizard to install the framework.

Step 2 – Configure Database Details

You have to complete a few steps and enter the elementary settings. So, add your database details; as shown below picture:


To connect the system to an existing database, select the “Use Database” checkbox and enter DB name, username and password.

Step 3 – Setup Database Port and Host

In the next dialog box, enter the server name and port. If MySQL is running on the local computer, then nothing needs to be changed at this stage.


Step 4 – Choose Packages to Install and Setup to App

All data entered by us will be automatically saved in the “config/database.php” file, and later it can be changed manually simply by opening this file in the editor.


At the next dialog, you have got an ability to choose additional official packages for the installation:

  • Cashier – it provides an interface for working with Stripe and Braintree services for organizing an online payment system on the site.
  • Envoy – a package for organizing the execution of various tasks on a remote server, this may be the execution of PHP code or the launch of macros with several sequential commands.
  • Horizon – it provides a control panel and an API for accessing the Redis queue service, this ensures faster operation of WEB applications.
  • Passport – it provides advanced features for user authentication using the API, fully implements the OAuth2 authorization system.
  • Scout – it implements the synchronization of your search index with the records in the model for working with the database and provides the ability to perform full-text search.
  • Socialite – it allows OAuth authentication, so you can use the login with Google, Facebook, Twitter, LinkedIn, GitHub, GitLab and Bitbucket.

Such tools will help in the work on large-scale projects, if you are just starting to learn the framework, you can skip this step for now.

Click “Finish” and wait a little while CodeLobster downloads the current version of the framework and unpacks it into the designated directory.

Step 5 – Start Laravel Application

When the wizard has finished its work, you will check the correctness of the installation – open the address “http://localhost/laravel/public/” in your browser, it is in this folder the public files are stored.


As you can see, the Laravel logo appeared, there are no error messages, which means everything is well.

Step 6 – Testing the Work of the Laravel Application

Laravel includes an object-relational mapping (ORM) system, it is called Eloquent and is an implementation of the Active Record design pattern (AR).

The rules for naming classes, tables and their fields are used in order to unify ways of connecting objects and their corresponding tables and rows in the DB.

In the database that you have connected to the current installation, there is a ready-made table on which you can practice.

The name of the table is “countries”, it contains the names of countries and phone codes – these are the “name” and “phonecode” fields.

To use Eloquent, you need to create your own class that extends the “Model” class. Create a file “Country.php” in the “app” folder and add the following lines to it:


namespace App;

use Illuminate\Database\Eloquent\Model;

class Country extends Model {}

According to the naming rules, a class called “Country” (in the singular) will represent entries in the table “countries”. This is quite enough for now, the rest of the work for us will be done by the framework.

To take advantage of the model for the data access, let’s create a router – you will link the URL “http://localhost/laravel/public/countries” to the function of extracting records from the table.

Routers for your WEB applications are stored in the “routes” folder, open the “web.php” file in the editor and add a few lines of your own code to it: 

Route::get(‘/countries’, function () {

    $countries = App\Country::all();

    $html = ‘<ul>’;

foreach ($countries as $country) {

  $html .= ‘<li>’ . $country->name . ‘</li>’;


return $html .= ‘</ul>’;


The IDE understands the structure of the Laravel project very well and provides hints and dynamic help on all the functions and classes included in the framework.


It will be much easier for you to use all its advantages if you use autocomplete while typing by pressing the Ctrl + Space key combination to get the list of methods that are allowed in this context.

When you execute our code, an array with information about countries will be extracted, it can now be passed to the view for formatting and display.

In our educational example, you simply select the names of the countries and create an HTML list, and it will be displayed using the default view.

Open the address “http://localhost/laravel/public/countries” in the browser and see an accurate list with the names of all countries from our database.


Let’s summarize

In this article, you have learned how to quickly create a new project and install Laravel using the wizard in CodeLobster IDE.

This is a universal approach – it is suitable for any operating system and does not require the use of the command line or the installation of additional software.

The principle of operation of all MVC and ORM frameworks is the same. After reading this article, you have learned the basic steps to get started with Laravel, with this knowledge you will be able to easily and simply master other PHP libraries.

Leave a Comment