Connect with us

Laravel Absolute Beginners Masterclass

kizinho

Published

on

Follow
DEVELOPER PROGRAMMING: Laravel Absolute Beginners Masterclass [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
site

Hi, folks you are welcome to laravel absolute beginner masterclass, if you are here to learn how laravel works, I will recommend you to visit laravel website here but if you are here to use laravel build a product, you are very welcome. Laravel is a PHP Framework

What is a Framework?

Before I dive into explaining Laravel, you will need to understand what is a framework. In general, a Framework is a set of conceptual structure and guidelines, used to build a useful product without so much stress.

What Laravel 

Laravel is a web application framework with an expressive, elegant syntax which aims to make the development process a pleasing one for the developer without sacrificing application functionality. Laravel follows the MVC (Model View Controller) structure which makes it easy to learn and rapidly prototype the web applications

Installation

  1. PHP version from 7.3 and above
  2. Composer
  3. I will make use of latest laravel version 8 for this

How to Install PHP

Visit this link to download Xampp for your PHP, download based on your OS and install it.

How to install Composer

Visit this link to download composer for your OS, for window user click here, After downloading install the composer, you need to select the path for your PHP, the composer will alert you during the installation on windows.


To check if your PHP and composer are successfully installed, open your command (cmd) and type PHP -v, you will see a screen like this

PHP 7.3.5 (cli) (built: May 1 2019 13:17:17) ( ZTS MSVC15 (Visual C++ 2017) x64 )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.3.5, Copyright (c) 1998-2018 Zend Technologies


Check for composer type on your cmd composer, a list of a variable will appear on the screen

Laravel Installation Completion

Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

First, download the Laravel installer using Composer:

composer global require laravel/installer

Creating a new project using - Create-Project

  1. first, go to your composer, the local disk you will see xampp -> htdocs-> create a new folder, right on the folder by holding shift + right click and follow the step below
  2. Install Laravel by issuing the Composer create-project command in your terminal:
composer create-project --prefer-dist laravel/laravel SampleSite

You have successfully installed your first project using laravel.

Congrats you can now move to the next class by clicking here

Click Here To Comment


site


kizinho

Adike Kizito is a top-rated software developer, blogger, sports, and entertainment lover. He is the CEO of these popular websites Naijacrawl.com and Mp3ager.com. He operates his software developing task through Kizzsoft.com,... Read More

Continue Reading
5 Comments

5 Comments

  1.  davidenabs

    OK this nice..
    But I don't get that MVC...please?

    And when will be the next class.. Cause I'm really interested in Laravel?
    Thanks!

    •  kizinho

      Model View Controller, where model handles ur database, view handles ur frontend, the controller handles ur backend codes. Next class will be tomorrow

  2.  Timmortal

    Thanks for this amazing tutorial, kizhinho.
    There are so much i can take away from this and refractor some PHP that i have been working on,I hope to see more from you anytime soon.

  3.  Stan

    I love this. Please can we get video explanations if possible.
    I have been a huge fan of this blog since I came across it from a school friend here in California.

    •  kizinho

      Ya but might need a new laptop or get from a friend to run the installation afresh


Leave a Reply

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

Laravel 8 is now released!

kizinho

Published

on

DEVELOPER PROGRAMMING: Laravel 8 is now released! [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Laravel 8 is now released and includes many new features including Laravel Jetstream, a models directory, model factory classes, migration squashing, rate-limiting improvements, time testing helpers, dynamic blade components, and many more features.Before we jump into the new features, we’d like to point out that starting with version 6, Laravel now follows semver and will release a new major version every six months. You can see how the release process works here.L...
Continue Reading

How to fix Flutterwave common error's while Integrating payment in your Laravel App

kizinho

Published

on

DEVELOPER PROGRAMMING: How to fix Flutterwave common error's while Integrating payment in your Laravel App [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Hi folks, I was integrating FLutterwave on my laravel app, on the process i found a bunch of errors while trying to use it accept payment on my site. Have been a Paystack heavy user but decided to use Flutterwave for a reason that I love to do. Going through this article I will list the two types of error or bug that you must encounter while using Laravel Rave steps to get Flutterwave payment working.Types of errorError on the payment page when user try to refresh t...
Continue Reading

Easy way to Host your Laravel Application on Shared Hosting

kizinho

Published

on

DEVELOPER PROGRAMMING: Easy way to Host your Laravel Application on Shared Hosting [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Hi , Folks have you finished building that your awesome project but hosting it o shared hosting is what remains, don't worry you are on the right track, I have the best way to do that.StepsCreate Database on your online cpanelUpload your project or use git to do thatSet everything up on your ENVnow we need .htaccess that you will create inside your laravel root folderInside the .htaccess add this code RewriteEngine On #ends RewriteCond %{HTTP_HOST} ^(www.)?mydomain...
Continue Reading

Latest


Download Naijacrawl App today

Fastest way to read on the go

Download the Naijacrawl App.