0% found this document useful (0 votes)
34 views23 pages

Minggu Ke-6 Laravel Introduction

The document discusses Laravel, an open source PHP web framework. It begins by defining Laravel and its popularity. It then covers Laravel's features which include routing, middleware, templates and more. The document also discusses Laravel's libraries, versions and packages. Finally, it provides instructions on installing Laravel using Composer or the Laravel installer.

Uploaded by

Nadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views23 pages

Minggu Ke-6 Laravel Introduction

The document discusses Laravel, an open source PHP web framework. It begins by defining Laravel and its popularity. It then covers Laravel's features which include routing, middleware, templates and more. The document also discusses Laravel's libraries, versions and packages. Finally, it provides instructions on installing Laravel using Composer or the Laravel installer.

Uploaded by

Nadia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Laravel introduction

PEMROGRAMAN WEB 2
Oleh Novan A. B. Saputra
Minggu ke-6: 28 Maret 2023
Tujuan pembelajaran

1 Mampu memahami fitur Framework PHP Laravel

2 Mampu melakukan instalasi Laravel


Topik

Apa itu Framework Laravel ? Fitur Laravel

Instalasi Laravel
Pengenalan Laravel
• Laravel is an open source MVC Framework written in PHP
for web application development, created in 2011 by
Taylor Otwell.
• Free, Open-Source PHP Framework
• One of the most popular PHP Framework (Sympony,
Codeigniter, Zend, Yii, Falcon, PHP Cake, etc)
• Many Company use Laravel Taylor Oatwell

• Laravel have many community and supported by many


othe technology.

Laravel.com https://github.com/laravel/laravel
Best PHP
REPO
2023
https://github.com/search?l=PHP&o=desc
&q=php&s=stars&type=Repositories
Laravel Version
Library
• Beberapa bagian Laravel menggunakan Library PHP yang sudah
popular.
• Project Management => Composer
• Logging => Monolog
• Unit test => PHPUnit
• Dan lain-lain
A. BASIC FEATURE
v Routing v Blade Templates
v Middleware v URL Generation
v CSRF Protection v Session
v Controllers v Validation
v Requests v Error Handling
v Responses v Logging
v Views
B. INTERMEDIATE FEATURE
v Artisan Console v HTTP Clients
v Broadcasting v Localizations
v Cache v Mail
v Collection v Notifications
v Compiling Asset v Package Development
v Contract v Queue
v Events v Rate Limiting
v File Storage v Task Scheduling
v Helpers
C. SECURITY FEATURE
v Authentication
v Authorization
v Email Verification
v Encription
v Hashing
v Password Reset
D. DATABASE FEATURE
v Query Builder
v Pagination
v Migration
v Seeding
v Redis
E. ELOQUENT ORM FEATURE
v Relationship
v Collection
v Mutators/Cast
v API Resources
v Serialization
F. TESTING FEATURE
v HTTP Tests
v Console Tests
v Browser Tests
v Database
v Mocking
PACKAGE (ADVANCED)

v Breeze: Authenticate v Jetstream: Frond-end Starter Kit


v Cashier (Stripe): billing service v Octane: increase Laravel performance
v Cashire (Paddle): billing service v Passport: Authenticate
v Dusk: automation and testing v Sail: CLI interface with Docker ENV
v Envoy: execute common task in v Sanctum: authenticate
server v Scout: Searching Feature
v Fortify: authenticate v Socialite: Autheticate with FB, Google
v Homstead: development ENV etc
v Horizon: queue dashboard v Telescope: local ENV dashboard
v Laravel UI: Frond-end starter kit v Valet: development ENV minimalist
LANGKAH INSTALASI LARAVEL
Server Requirement
• PHP >= 8.1 • Mbstring PHP Extension
• BCMath PHP Extension • OpenSSL PHP Extension
• Ctype PHP Extension • PCRE PHP Extension
• cURL PHP Extension • PDO PHP Extension
• DOM PHP Extension • Tokenizer PHP Extension
• Fileinfo PHP Extension • XML PHP Extension
• JSON PHP Extension
Instalasi
Install viaVia COMPOSER
Composer
1. Install composer terlebih dahulu melalui
https://getcomposer.org/download/
2. Pastikan composer sudah terinstall dengan menulis command
composer di CMD.
3. Tuliskan command composer create-project laravel/laravel
example-app pada folder yang akan dijadikan root folder aplikasi
4. Tulis command cd example-app untuk berpindah kedalam folder
5. Tulis command php artisan serve
6. akses di browser http://localhost:8000.
Langkah instalasi Laravel
Laravel installer
v composer global require laravel/installer

v laravel new example-app

v cd example-app

v php artisan serve


OTHER LARAVEL INSTALLATION
• https://laravel.com/docs/10.x/installation
TERIMA KASIH
Daftar Pustaka
• Practical Laravel - Develop clean MVC web applications,
Daniel Correa & Paola Vallejo, 2022
• Laravel.com

You might also like