Laravel

PHP Laravel Tutorial

Laravel Tutorial Day 1

Learning Objectives: To understand the fundamental about PHP Laravel, Installation and Hello World Example. Install LAMP into Ubuntu Reference Website to Install Composer in Ubuntu sudo apt update sudo apt install php-cli unzip cd ~curl -sS https://getcomposer.org/installer -o composer-setup.php sudo php composer-setup.php –install-dir=/usr/local/bin –filename=composer composer Install Composer https://getcomposer.org/download/ Install Laravel https://laravel.com/docs/9.x#getting-started-on-windows Create Hello World Project […]

Laravel Tutorial Day 1 Read More »

Laravel Tutorial Day 7

Learning Objectives: Insert data into database using Model, Controller in Laravel. This day includes understanding of Edit and Delete Operations. You need the following: Model Controller View Routes Database Table Creation (direct or using Migration) Model php artisan make:model Todo -mcr Once you execute the above command you will find the Model File, Migration file, and

Laravel Tutorial Day 7 Read More »

Laravel Tutorial Day 8

Learning Objectives: 1) Laravel Session Management. Store value to Session, Fetch value from the session. 2) Another Important Point we will discuss is File Upload. 3) Validation Controller 1.1 Store Value to Session Route::get(‘/setsession’, function () {         session([‘loginusername’=>’Adarsh Patel’]);         echo “done”;         }); 1.2 Fetch

Laravel Tutorial Day 8 Read More »