Kategori: Tulisan
Laravel 11 Passport API Authentication
Intorduction
Hi! Today, we will learn how to create authentication using Laravel Passport in our Laravel 11 API. Before diving in, let's discuss w ...
Laravel: Storage Permission Denied
Seringkali setelah pull dari git ke VPS muncul seperti ini saat running di server. Salah satu langkah yang bisa dijalankan adalah:
sudo chgrp -R w ...

Laravel Admin Authentication
Pada bagian ini catatan tentang membuat fungsi login untuk Admin dengan model Admin, dengan kata lain akan dibuat multiple authentication.
Settin ...
Force HTTPS via .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
RewriteCond %{HTTP ...
Multiple Auth Role – Laravel
Kali ini kita akan membuat Login yang terpisah untuk Admin dan User. Kita akan menempatkan model pada folder Models. untuk itu update file config/aut ...
Menghilangkan Public dari URL Dengan HTACCESS di Laravel
Lankah Pertama: Ganti Nama File
Rename server.php jadi index.php di laravel root directory.
server.php
INTO
index.php
L ...
Force Delete File atau Folder dengan CMD
How to delete a single file
Open the command prompt by typing “CMD” in the search field in the taskbar and clicking on “Command Prompt”. Navigate ...
Setup Let’s Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)
Virtual hosts
Let's say you want to host domains first.com and second.com.
Create folders for their files:
mkdir /var/www/fir ...
Mengatasi Composer Out OF Memory Saat Install Laravel di Google Cloud Engine
Berikut adalah sedikit catatan kecil untuk mengatasi Composer yang out of memory saat membuat create-project laravel di Google Cloud Engine:
Cara t ...
Redirect Ke Mobile Site Dengan Htaccess
Berikut adalah script .htaccess untuk redirect ke situs mobile kita.
RewriteEngine on
RewriteBase /
# Check if this is the noredirect que ...
