πŸ” Google OAuth Setup Guide (Laravel / Socialite)

General

🎯 Goal Make Google login work using only .env: πŸš€ 1. Create OAuth Credentials Go to Google Cloud Console Steps: βš™οΈ Configure Consent Screen Add scopes: βž• Add Test Users (IMPORTANT) Scroll down β†’ Test Users Click: Add: πŸ‘‰ Only these users can log in while testing πŸ”‘ 2. Create OAuth Client ID Go to:πŸ‘‰ APIs & Services β†’ Credentials Click: Select: Add Redirect URI: ⚠️ Must match Laravel exactly πŸ“¦ 3. Put Credentials in .env πŸ”„ 4. Apply Changes πŸ§ͺ Testing vs Production πŸ§ͺ Testing Mode (Default) πŸ‘‰ Use for: 🌍 Publish App (Production) πŸ‘‰ Use when: 🧠 Decision Rule ⚠️ Common Errors ❌ redirect_uri_mismatch β†’ .env and Google Console don’t match exactly ❌ invalid_client β†’ wrong client ID / secret ❌ This app isn’t verified β†’ user not in Test Users OR app not published ⚑ Local vs Production Local: Production: πŸ‘‰ Add BOTH in Google Console 🧠 Final Mental Model βœ… TL;DR

May 5, 2026 / Comments Off on πŸ” Google OAuth Setup Guide (Laravel / Socialite)
read more

Laravel Ward

General

πŸ›‘οΈ Laravel Security Scan Guide (Using Ward) This guide walks you through: Tool used: Ward πŸ“¦ 1. Install Go (Golang) πŸ‘‰ Download Go Go to:https://go.dev/dl/ Download the Windows installer and install normally. βœ… Verify installation Open CMD: Expected output: βš™οΈ 2. Install Ward Run: πŸ” 3. Verify Ward installation Expected:

April 30, 2026 / Comments Off on Laravel Ward
read more

Laravel Error Logs

General
April 30, 2026 / Comments Off on Laravel Error Logs
read more

Laravel Audit

General
April 6, 2026 / Comments Off on Laravel Audit
read more

MySQL Allow IP Address, Linux Allow IP Address

General

🐬 MySQL Commands πŸ”“ (Temporary) Allow ALL IPs πŸ” Remove β€œallow all” (%) βœ… Allow Specific IP βœ… Allow Subnet (per building) πŸ” Check Allowed IPs πŸ” Check Permissions 🐧 Linux / Server Commands πŸ”₯ Allow MySQL Port (ALL β€” testing only) πŸ” Allow Specific Subnet (recommended) πŸ” Check Firewall Rules βš™οΈ Enable Remote MySQL Access Set: πŸ”„ Restart MySQL (only if config changed) πŸ§ͺ Test Connection

March 30, 2026 / Comments Off on MySQL Allow IP Address, Linux Allow IP Address
read more

MySQL Get All Column Names In A Table

General
March 10, 2026 / Comments Off on MySQL Get All Column Names In A Table
read more

Laravel Email Notification Queue Worker

General
February 28, 2026 / Comments Off on Laravel Email Notification Queue Worker
read more

Laravel Creating A New Project In Composer

General

πŸš€ 1. Create New Laravel Project Make sure you have: βš™οΈ 2. Configure Environment Update .env Create database manually: CREATE DATABASE myapp_db; Then: 🎨 3. Install Tailwind + Alpine + Auth (Breeze) Laravel doesn’t ship with login UI by default anymore. Use Breeze (lightweight, clean). Choose: Blade Now install frontend: 🧠 What You Just Installed Clean and simple. No Jetstream spaceship complexity. πŸ—ƒοΈ 4. Run Migrations This creates: ▢️ 5. Run App Visit: http://127.0.0.1:8000 Boom. You now have: πŸ“ Clean Folder Structure (What Matters) app/ Models/ Http/Controllers/resources/ views/ css/ js/routes/ web.php πŸ” Protect Routes Example: ⚑ 6. Production Build When ready: 🧠 Recommended Additions (Professional Setup) Add Role Column Migration: Then: Add Global Layout Edit: resources/views/layouts/app.blade.php Add navbar, sidebar, etc.

February 27, 2026 / Comments Off on Laravel Creating A New Project In Composer
read more

Laravel Image Not Allowed Direct Url Viewing

General

Used built-in Laravel security patterns for private file access: Result: profile images cannot be directly viewed by unauthenticated users, and cannot be accessed by other users even if URL is guessed.

February 21, 2026 / Comments Off on Laravel Image Not Allowed Direct Url Viewing
read more

.edu.ph Information Change

General

https://services.ph.net

February 19, 2026 / Comments Off on .edu.ph Information Change
read more

Posts pagination

1 2 … 5 Next