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 *

Upload files to Amazon S3 from the browser using pre-signed post (Laravel, Vue.js/Nuxt.js)

kizinho

Published

on

DEVELOPER PROGRAMMING: Upload files to Amazon S3 from the browser using pre-signed post (Laravel, Vue.js/Nuxt.js) [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Upload files to Amazon S3 from the browser using pre-signed post (Laravel, Vue.js/Nuxt.js)This article was written by Okonkwo Buchi Flair a ccolleague of mind, read and know how to simply upload your files via Amazon S3.original article can be found hereBefore I begin I would love to point out that is my first post so please pardon me any errors you may find as you read alongRecently I’ve been working on a e-learning platform which of course was going to deal with a...
Continue Reading

How to Integrate Flutterwave Rave Payment System in your Laravel Applications

kizinho

Published

on

DEVELOPER PROGRAMMING: How to Integrate Flutterwave Rave Payment System in your Laravel Applications [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Hi Folks, I know many laravel developers that have been using Paystack as their payment system have been finding it difficult to integrate Paystack Laravel Package from Laravel 6.0 - 7.0 versions. Today I have a beautiful solution by using Flutterwave Rave Payment System, this process will work on any laravel versions.RequirementsRunning Exiting Project on LaravelCreate Account on FlutterwaveThen you are good to goLets Begincomposer require kingflamez/laravelrave On...
Continue Reading

How to show a nice message to the user when an error occurs in using Guzzle with Laravel

kizinho

Published

on

DEVELOPER PROGRAMMING: How to show a nice message to the user when an error occurs in using Guzzle with Laravel [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
Hi Folks, have you encountered an ugly Exception when making a post, get, put, delete to external API when an error like 500 or 404 occurs. Today you are at the right place, after reading this you will be able to show a nice message to your users in case of any of those errors occursWhen making a request to external API using guzzle to solve this problem you will need to catch the Exception by following the steps below.Prepare your request using Guzzle, I believe yo...
Continue Reading

Latest