๐ Hi there! Iโm Soeng Souy (StarCode Kh)
๐ฑ Currently creating sample projects with Laravel, React, Vue, Node, Nuxt, Python, and Livewire
๐ฏ Looking to collaborate on open-source PHP & JavaScript projects
๐ฌ Ask me about Laravel, MySQL, or Flutter
โก Fun fact: I love turning โ๏ธ into code!
โจ Enjoying the content?
๐ Subscribe for FREE: youtube.com/@laravelcrud
๐ Connect with me:
๐ฑ Telegram: t.me/starcodekh
๐ Facebook: www.facebook.com/starcodekh
๐ Website: souysoeng.com/
๐ Admin Template: admintem.com/
๐ ๏ธ Fix Code: fixcodekh.com/
๐ฆ Twitter: twitter.com/StarCodeKh
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
Laravel Webhooks
Webhooks in Laravel allow apps to communicate in real time by sending simple HTTP POST requests when specific events happen.
Receiving Webhooks
Route: Create a POST route in api.php or web.php as the webhook endpoint.
Controller: Handle the incoming request in a controller method.
Validation: Verify signatures, shared secrets, or whitelist IPs for security.
Processing: Store the payload and process it in a queued job to keep responses fast.
Sending Webhooks
Trigger: Fire webhooks when certain events occur.
Dispatch: Send POST requests to external endpoints.
Customize: Include relevant event data in the payload.
Retry: Add retry logic for failed attempts.
Useful Laravel Packages
spatie/laravel-webhook-client โ Receive & validate webhooks.
spatie/laravel-webhook-server โ Send signed webhook calls with retries.
laravel-notification-channels/webhook โ Send webhooks using Laravel notifications.
Security Tips
Verify signatures.
Whitelist trusted IPs.
Apply rate limiting.
Handle errors safely.
#Laravel #Webhooks #Laravel10 #Laravel12 #PHP #APIs #RealTime #WebhookClient #WebhookServer #Spatie #BackendDevelopment #WebDevelopment #LaravelTips #LaravelTutorial
1 month ago | [YT] | 7
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
Eloquent in Laravel is the built-in ORM (Object-Relational Mapper) that allows you to interact with your database using PHP classes called Models instead of writing raw SQL. It makes database operations like querying, inserting, updating, and
Deleting records is easy and intuitive through an expressive syntax.
#Laravel #Eloquent #LaravelEloquent #PHP #WebDevelopment #ORM #Database #LaravelTutorial #Backend #Programming #Code #LaravelPHP #DevTips
1 month ago | [YT] | 12
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
Laravel is beginner-friendly if you know basic PHP and web development.
It has clean syntax, great docs, and many built-in features that make development faster.
The main challenges are learning MVC structure, Eloquent ORM, and setup.
With practice and good tutorials, itโs not hard to learn!
#Laravel
#PHP
#WebDevelopment
#LaravelTutorial
#LearnLaravel
#BackendDevelopment
#LaravelBeginner
#Programming
#WebDev
#Coding
1 month ago | [YT] | 13
View 4 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
โ What Laravel Sanctum Is Used For
1. API Token Authentication
Create personal access tokens for users.
Perfect for mobile apps, SPA (Vue/React), and external API clients.
2. SPA Authentication (Cookie-Based)
Handles login for React, Vue, Next.js, etc.
Uses Laravelโs built-in session + CSRF for secure authentication.
3. Lightweight alternative to Passport
Sanctum is easier and faster for typical CRUD APIs.
No OAuth complexity, no heavy token system.
๐ Why Developers Use Sanctum
Easy to set up
Secure and modern
Supports multiple device logins
Works with both token and cookie authentication
#Laravel #LaravelSanctum #Sanctum #APISecurity #APIAuthentication
#WebDevelopment #PHP #BackendDevelopment #RESTAPI #LaravelTutorial
#WebSecurity #TokenAuthentication #FullStackDeveloper
1 month ago | [YT] | 10
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
Laravel security functions (short version):
@csrf โ CSRF protection for forms
Hash::make() โ Secure password hashing
Hash::check() โ Verify hashed passwords
{{ }} โ Escape output (XSS protection)
encrypt() / decrypt() โ Data encryption
These are the core security functions used in Laravel.
#LaravelSecurity
#Laravel
#PHP
#WebSecurity
#BackendSecurity
#SecureCoding
#WebDevelopment
#CodingTips
1 month ago | [YT] | 14
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
Backend: Laravel handles tasks such as routing, database management, authentication, business logic, API creation, and server-side rendering.
Frontend: Laravel itself doesnโt handle frontend UI directly, but it can serve frontend views using Blade templates (Laravelโs templating engine). However, the actual frontend design (HTML, CSS, JavaScript) is typically created by you or with frontend frameworks/libraries like Vue.js, React, or plain HTML/CSS.
#Laravel #Backend
#PHP #WebDevelopment
#BackendDevelopment #WebDev
#Programming #Tech
#Coding #Developer
1 month ago (edited) | [YT] | 14
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
๐ How to Learn Laravel Quickly (Short & Simple)
Know basic PHP (variables, functions, OOP).
Install Laravel & understand folder structure.
Learn routing, controllers, views, models, and migrations.
Build a simple CRUD project (fastest way to learn).
Learn authentication using Laravel Breeze.
Learn Eloquent relationships (one-to-many, many-to-many).
Build one real project (blog, inventory, student system).
Learn APIs using Sanctum or Passport.
Practice daily โ build, donโt read only.
1 month ago | [YT] | 10
View 2 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
๐ด Low Security Laravel (Short Script)
โNo validation, plain-text passwords, no rate limit, weak routes, CSRF disabled.
Easy to hack. Never use this setup.โ
๐ข High Security Laravel (Short Script)
โStrong validation, hashed passwords, rate-limited login, protected routes, CSRF enabled.
Safe, secure, and production-ready.โ
1 month ago | [YT] | 7
View 2 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
๐ JWT vs Passport: What's the Difference?
๐น JWT (JSON Web Token)
A secure token format for transmitting info between client & server.
Stateless: no server-side session needed.
Used for verifying identity & granting access.
๐น Passport
A Node.js middleware for authentication.
Supports multiple strategies: Local, JWT, OAuth, Google, Facebook, etc.
Helps implement auth without writing all the logic yourself.
๐น How they work together:
Passport handles the strategy.
JWT carries the token.
Together, they make stateless, secure authentication easy.
๐ก TL;DR: JWT = token, Passport = tool to authenticate.
#WebDev #NodeJS #JWT #PassportJS #Authentication #CodingTips
3 months ago | [YT] | 10
View 0 replies
๐ฆ๐๐ฎ๐ฟ๐๐ผ๐ฑ๐ฒ ๐๐ต
GitHub vs GitLab: CI/CD & Docker Registry Explained
In this video, we compare GitHub and GitLab when it comes to:
Running automated tests with CI/CD
Building and pushing Docker images
Handling artifacts and registries
Key strengths and differences
๐น GitHub is perfect for open-source projects and has a huge actions marketplace.
๐น GitLab provides more powerful pipelines and a built-in container registry for enterprises.
๐ Watch till the end to see which platform fits your workflow better!
#GitHub #GitLab #DevOps #Coding #Docker #CI #CD
4 months ago | [YT] | 10
View 0 replies
Load more