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.2.5 and above
  2. Composer
  3. I will make use of latest laravel version 7.13 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.

Click Here To Comment


site


kizinho

I am a software developer, like meeting people and love blogging, that's why I developed naijacrawl because that's what I love doing.

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 6 and 7 Package for Paystack

kizinho

Published

on

NEWS: Laravel  6 and  7 Package for Paystack [New  Developer] » Naijacrawl
Photo: Naijacrawl
Hi, Folks since the release of laravel version 6 and 7, it is very difficult to easily use Paystack on it due to lack of maintenance but today unicodeveloper of the package have taken his time to release a new update on the package.To use it, you just need to follow the same pattern we normally do and get things working back again.Visit the package URL here
Continue Reading

How to solve This page isn’t working HTTP ERROR 500 in Laravel

kizinho

Published

on

DEVELOPER PROGRAMMING: How to solve This page isn’t working HTTP ERROR 500 in Laravel [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
In case you ran into this problem This page isn’t working www.example.com is currently unable to handle this request HTTP ERROR here is the cause and how to fix it. First, it must not be an error from your code, it is an error from querying large data from your database. So request ran out of memory, to fix it follow this step.In your Laravel root project folder locate this filevendor/laravel/framework/src/Illuminate/ Database/Connection.php. Insert this line of cod...
Continue Reading

Latest