Category: Laravel

Getting Form Input Value in Laravel

Used: Laravel 5.8 Before Started: You should have knowledge about basic Route, read here You should have knowledge about Controller, read here Known: I want to make a form that sending employee name like...

Understanding Request URI in Laravel

Used: Laravel Version 5.8 Before started: You must already understand about: Basic Laravel Route, read here Create Laravel Controller, read here Definition: Laravel have several method for handling URI, namely: fullUrl is used to...

Create Controller in Laravel

Definition Controller is a bridge between View and Model Location Controller location is in app/Http/Controllers folder How to Create There is 2 option for creating a controller: From command line Create the code directly in...

Understanding Laravel Basic Routing

Syntax: Route::HTTP_Request_Method(“URI_Path_Name’, function (){ //code })   Example 1: Route::get(‘/’, function () { return view(‘welcome’); }); Explain: ‘/’ this character refer to   http://localhost:8000 view(‘welcome’), this code mean that it take welcome.blade.php file from resources/views folder...

Install Laravel melalui Composer

Install Laraver Installer Download dan installah laravel installer dengan mengetik kode berikut ini ke terminalmu composer global require “laravel/installer=~1.1” Dalam macbook saya kodenya seperti berikut ini: php composer.phar global require “laravel/installer=~1.1” Hasilnya seperti terlihat...