Laravel: Simple CRUD (Add, Edit, Delete, View) [Beginner Tutorial]

This beginner tutorial/article shows how you can create a simple/basic CRUD (Create, Read, Update, Delete) system or application using Laravel. Laravel is a popular open-source PHP MVC Framework with lots of advanced development features. Installing Laravel has been explained here. Laravel Application Folder Structure After you have successfully installed Laravel, you need to know about … Read more

Laravel: Enable Proper Error Display

By default, you will see the following message in case any error occurs in your Laravel application: Whoops, looks like something went wrong. Whoops, looks like something went wrong. To show the exact error message details, you need to follow the steps below: Go to your Laravel root folder Rename .env.example to .env After this, … Read more

[SOLVED] Laravel Error: Failed to open stream: No such file or directory bootstrap/autoload.php

You might get the following error while trying to run Laravel for the first time. Warning: require(/var/www/laravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/laravel/bootstrap/autoload.php on line 17 Fatal error: require(): Failed opening required ‘/var/www/laravel/bootstrap/../vendor/autoload.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/laravel/bootstrap/autoload.php on line 17 Problem Scenario: This error generally occurs when you download/clone Laravel from … Read more

Laravel: Simple/Easy Installation Guide

This tutorial shows step-by-step guide to install Laravel. Here, I will show two ways for installation. One is installing directly by composer create-project command and the other is by cloning or downloading Laravel from GitHub and then running the composer install command. 1) Method 1 Go to your web server root In Ubuntu, it’s /var/www/. … Read more