What Is Eloquent Serialization? | Laravel For Beginners | Learn Laravel

  Рет қаралды 9,621

Code With Dary

Code With Dary

Күн бұрын

This video will show you what Eloquent Serialization is. Serialization happens when you take something complex (such as an array) and convert it to a string - Learn one of the most popular PHP frameworks for its advanced features, templating engine, fast commands and security.
📚 New Udemy Course
If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: www.udemy.com/course/masterin...
📲 Let’s plan a meeting
Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: calendly.com/codewithdary
💌 Newsletter
Sign up for my free weekly email newsletter: www.newsletter.codewithdary.com
🔥 Resources
- PHP Hosting (10% DISCOUNT): www.hostinger.com/codewithdary
- TikTok: / codewithdary
- Instagram: / codewithdary
- Twitter: / codewithdary
- Blog: blog.codewithdary.com/
- Newsletter: newsletter.codewithdary.com/
- Patreon: www.patreon.com/user?u=30307830
- GitHub: github.com/codewithdary
Want to learn more?
- Courses: / @codewithdary
📋 Table of Content
00:00 - introduction
02:07 - toArray()
03:17 - toJson()
05:00 - Hide Attributes
06:38 - Whitelist Attributes
#laravel #laravel8 #php #eloquent #serialization

Пікірлер: 8
@codewithdary
@codewithdary 2 жыл бұрын
LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@rajabhishek2936
@rajabhishek2936 3 жыл бұрын
Nice video..
@muhammadans2193
@muhammadans2193 3 жыл бұрын
very very informative 👍
@codewithdary
@codewithdary 3 жыл бұрын
Glad you think so! :D
@guidolippolis5436
@guidolippolis5436 3 жыл бұрын
Is it possible to see table names as well by using Serialization?
@basheerraad5570
@basheerraad5570 24 күн бұрын
if you are talking when you do print_r() or var_dump, the answer is no. you only see the data resulted by your query.
@olegpristashkin9078
@olegpristashkin9078 3 жыл бұрын
But we have API resources, why we need serialization in this case? We just can use API resources and configure json structure of eloquent using toArray method
@codewithdary
@codewithdary 3 жыл бұрын
I’m not here to tell you when to use what but I’m here to teach you everything that’s Laravel related, and that’s Eloquent Serialization too.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 13 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 49 МЛН
Databases & Migrations | Laravel For Beginners | Learn Laravel
15:09
Code With Dary
Рет қаралды 50 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 469 М.
Organizing data with Laravel Collections
32:51
Andrew Schmelyun
Рет қаралды 27 М.
Laravel solved race conditions
14:13
Aaron Francis
Рет қаралды 14 М.
A Simpler Way to See Results
19:17
Logan Smith
Рет қаралды 100 М.
Introduction To Eloquent | Laravel For Beginners | Learn Laravel
45:20
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 13 МЛН