Code with Burt
Code with Burt
  • Видео 105
  • Просмотров 150 807
Pass by Reference vs Pass by Value in PHP: What’s the REAL Difference?
In this short video, we break down the key differences between Pass by Value and Pass by Reference in PHP. 🚀 Understanding these two concepts is essential for writing efficient and bug-free code. Learn how PHP handles variables when passed to functions, and see how small changes in your code can have a BIG impact on performance and behavior! 🔍
Whether you're a beginner or just need a quick refresher, this video will clarify:
What happens when you pass a variable by value?
How does pass by reference work?
When should you use each method for better code performance?
💡 By the end of this video, you'll have a clear grasp on both concepts and know exactly how to apply them in your projects.
Don’t fo...
Просмотров: 883

Видео

Laravel in 2025
Просмотров 788Месяц назад
🚀 Laravel in 2025: What’s Next for the Framework? 🚀 In this video, we dive into the future of Laravel and explore the exciting updates and features coming to the framework in 2025! Discover cutting-edge tools, enhancements, and what this means for developers. PLUS, we introduce Warp Pack-our powerful, custom package designed to take your Laravel development to the next level. Whether you're a s...
Here is Eloquent's Fluent helper in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 211Месяц назад
In this episode of the Quick Win Wednesday series, we're taking a look the Eloquent Fluent helper. #tutorial #howto #laravel #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - amzn.to/3UB9CRm
Working with Carbons Closest & Farthest in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 154Месяц назад
In this episode of the Quick Win Wednesday series, we're playing around with 2 carbon functions to see which dates are closest of farthest from a given date. #tutorial #howto #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - amzn.to/3UB9CRm
How to use diffInDays with filters in Laravel | Tutorial | Quick Win Wednesday #QWW
Просмотров 153Месяц назад
In this episode of the Quick Win Wednesday series, we're taking a look at diffInDaysFiltered(). #tutorial #howto #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - amzn.to/3UB9CRm
Push to the background in Laravel with Defer | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 3123 месяца назад
In this episode of the Quick Win Wednesday series, we're talking about pushing things to the background in Laravel. Instead of using Jobs and a Queue, we can now defer things. Available for us since Laravel 11.23. #tutorial #howto #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - amzn.to/3UB9CRm
This was Laracon US 2024
Просмотров 5524 месяца назад
A recap video about our trip to Dallas Texas for Laracon US 2024. Featuring the trip, the apartment, the view, the bars, the restaurants, the venue, and its speakers.
Working with multiple Route files in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 2734 месяца назад
In this episode of the Quick Win Wednesday series, we're taking a look at how you can use multiple route files in a elegant way. Available for us since Laravel 11.8. #tutorial #howto #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - amzn.to/3UB9CRm
Write cleaner code with Named Arguments in PHP | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 3476 месяцев назад
In this episode of the Quick Win Wednesday series, we'll learn about Named Arguments, which has been available for us since PHP 8. Using Named Arguments doesn't only make your code more readable, it also helps in the definition of argument order and it allows us to skip arguments that have a pre-defined value. #tutorial #howto #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2...
Using whereAny() for cleaner queries in Eloquent | Laravel | Tutorial | Quick Win Wednesday #QWW
Просмотров 8446 месяцев назад
In this episode of the Quick Win Wednesday series, we're taking a look at whereAny(), which was released with Laravel 10.47. A very elegant way of grabbing data based on a conditional "any of the following columns". #tutorial #howto #laravel #php #code #development #eloquent My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini light - ...
Become a debugging wizard with RAY
Просмотров 1,2 тыс.7 месяцев назад
In this video we're learning how to use Ray to debug your projects. Weither your working with Laravel, PHP, Javascript or some other programming language, Ray is there for you. Debugging your project was made easy by the guys over at Spatie. They designed and developed a debugging tool for us, called Ray. Available at myray.app #debugging #webdevelopment Note: this video is NOT sponsored.
One command to create everything in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 2877 месяцев назад
In this episode of the Quick Win Wednesday series, we'll create everything you need in just one simple command. Instead of running multiple commands to create models, policies, controllers, custom requests, migration, and factories, we can simply chain "-a" onto our Artisan command. #tutorial #howto #laravel #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Cond...
Saving data without triggering events in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 2747 месяцев назад
In this episode of the Quick Win Wednesday series, we're taking a look at how we can save data without triggering model events. Using SaveQuietly, w're able to update or create record in our database without triggering any events. #tutorial #howto #laravel #php #code #development My Gear: - Canon EOS 2000d - amzn.to/3UkDCl2 - Rode NT-USB Condenser Microphone - amzn.to/3UeTTI5 - Aputure Mini lig...
Laravel Reverb : Getting started
Просмотров 12 тыс.9 месяцев назад
Laravel Reverb is a first-party WebSocket server for Laravel applications. In this video we're getting started with Reverb, we're building a very simple chat app which allows 2 users to communicate in real-time using a websocket server, Reverb in this case. No need for additional Javascript to make this magic work. We're using Breeze and Livewire to ease out this tutorial. #laravel #livewire #r...
Laravel 11, What is new?
Просмотров 83610 месяцев назад
A new version of Laravel was released, version 11. In this video we're taking a look at a few of the changes and what's new to the framework.
Impersonating users made easy in Laravel - Package In Review: 404labfr/laravel-impersonate
Просмотров 1,4 тыс.10 месяцев назад
Impersonating users made easy in Laravel - Package In Review: 404labfr/laravel-impersonate
Playing with OpenAI and Laravel - Package In Review: openai-php/laravel
Просмотров 2,4 тыс.11 месяцев назад
Playing with OpenAI and Laravel - Package In Review: openai-php/laravel
Sit Down with Rissa Jackson
Просмотров 20011 месяцев назад
Sit Down with Rissa Jackson
Laravel Livewire Volt. Functional API Components VS Class-based Components
Просмотров 7 тыс.11 месяцев назад
Laravel Livewire Volt. Functional API Components VS Class-based Components
Sit Down with James Brooks
Просмотров 19511 месяцев назад
Sit Down with James Brooks
Laravel Pulse in action
Просмотров 1,8 тыс.Год назад
Laravel Pulse in action
Optimisation with Offset and Limit. Part 2
Просмотров 1,1 тыс.Год назад
Optimisation with Offset and Limit. Part 2
Liwewire wire:confirm | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 301Год назад
Liwewire wire:confirm | How to | Tutorial | Quick Win Wednesday #QWW
Optimisation with Offset and Limit, for load more & infinite scrolling in Livewire 3
Просмотров 1,4 тыс.Год назад
Optimisation with Offset and Limit, for load more & infinite scrolling in Livewire 3
My very first Package: cash-converter
Просмотров 252Год назад
My very first Package: cash-converter
Infinite Scroll with Livewire 3 and Alpine.js
Просмотров 4,8 тыс.Год назад
Infinite Scroll with Livewire 3 and Alpine.js
Implementing Load More functionality with Livewire 3 in 2 minutes.
Просмотров 2,7 тыс.Год назад
Implementing Load More functionality with Livewire 3 in 2 minutes.
Building a Datatable with Livewire 3
Просмотров 21 тыс.Год назад
Building a Datatable with Livewire 3
Conditionally Dispatch Events in Oneliners | Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 295Год назад
Conditionally Dispatch Events in Oneliners | Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Playing with Model Attribute Visibility | Laravel | How to | Tutorial | Quick Win Wednesday #QWW
Просмотров 298Год назад
Playing with Model Attribute Visibility | Laravel | How to | Tutorial | Quick Win Wednesday #QWW

Комментарии

  • @BulgusTV
    @BulgusTV 4 дня назад

    I could use your help if you have time, I have done everything but my counter is not updating. When I go to the web address for the JSON script, it shows the correct number. But the counter does not update. When I contacted smiirl, they said they see {"number":-4,"error":"protocol mismatch"} on their end

    • @CodewithBurt
      @CodewithBurt 2 дня назад

      Hop on the telegram group. The details are on my Twitter. We'll figure it out.

  • @WTPleo
    @WTPleo 11 дней назад

    Great video! LOVED the intro "hello fellow artisans",haha I rock with it. Do you know if that package supports the OpenAI Vision model for image analysis? I couldn't find any info on that in the repo

    • @CodewithBurt
      @CodewithBurt 2 дня назад

      I'm not sure to be honest. But thanks for watching! Glad you liked it!

    • @WTPleo
      @WTPleo 2 дня назад

      @@CodewithBurt I ended up figuring out that it does, for anyone wondering!

    • @CodewithBurt
      @CodewithBurt 2 дня назад

      Awesome! Thanks for sharing that!

  • @llBestBoyll
    @llBestBoyll 11 дней назад

    Thx a lot.

  • @mabdullahsari
    @mabdullahsari 19 дней назад

    This bit me more times than I'd like to confess... 🫣

  • @christophrumpel
    @christophrumpel 19 дней назад

    Nice one

  • @Aljiwaninursyah
    @Aljiwaninursyah 21 день назад

    my echo not found

    • @CodewithBurt
      @CodewithBurt 20 дней назад

      Wild guess, you forgot the install broadcasting?

  • @pauliusjankauskas8028
    @pauliusjankauskas8028 22 дня назад

    Is there any particular reason where should/must be used reference? Isn't better just simply avoid it everywhere?

    • @CodewithBurt
      @CodewithBurt 21 день назад

      Hi man! Sure there are, personally I use by reference more often than by value.

    • @pauliusjankauskas8028
      @pauliusjankauskas8028 21 день назад

      ​@@CodewithBurt can you give any example of that during "daily" coding?

    • @CodewithBurt
      @CodewithBurt 21 день назад

      Sure, for example a function that takes in the usage of for a client. While looping over all services a user has, we have a function that calculates how much they spent for that service. in that function e also update the total invoice amount and end up saving the invoice in the end (after all services have been calculated). The function would be something like this. `public function collectUsageForServceX($user, &$invoice){....}`` This is an example of something I wrote just a few days ago.

    • @peterhorvath86
      @peterhorvath86 5 дней назад

      @@CodewithBurt jeez, hell no! Have you heard of single responsibility yet? I would never expect a function, that's sole purpose is to collect some info, to modify my data that I'm passing to it. Wrap your data into well-formed DTOs (data transfer objects), pass them (by ref, but without explicitly writing out the & sign), and name your method to something that yields that "hey, I'll modify it".

    • @CodewithBurt
      @CodewithBurt 5 дней назад

      Well, that's basically what's happening in this example. The method is named with the action it will perform. In any case, some projects don't have DTO's, it's never a perfect world.

  • @SharutiGarg-s1o
    @SharutiGarg-s1o 23 дня назад

    We have filament and livewire website. Can we convert that into desktop application?

    • @CodewithBurt
      @CodewithBurt 23 дня назад

      Sure, we could use NativePHP for that. I also have a video on that.

  • @GergelyCsermely
    @GergelyCsermely 23 дня назад

    Thanks!

  • @mytakeasabir
    @mytakeasabir 29 дней назад

    Thanks man

  • @scott_itall8638
    @scott_itall8638 Месяц назад

    I have just come into Laravel from Django and Svelt and am enjoying it a lot especially Livewire/Volt.

  • @mabdullahsari
    @mabdullahsari Месяц назад

    If he's not your brother, is he your cousin? He looks way too similar. 😆

    • @CodewithBurt
      @CodewithBurt Месяц назад

      Good question 😁 Had a lot of work to make those 50 seconds work out, to be honest... 🤣

  • @fahnleindieselschweif5022
    @fahnleindieselschweif5022 Месяц назад

    This quick win feels like slow suffering without a photo of the dog!

    • @CodewithBurt
      @CodewithBurt Месяц назад

      The frame fell off a while ago... 😔

  • @KuldeepSChauhan-u2j
    @KuldeepSChauhan-u2j Месяц назад

    such a good information on carbon

  • @mabdullahsari
    @mabdullahsari Месяц назад

    Carbon has so many useful tools. I had no clue these existed. Thanks!

  • @mikemwangi849
    @mikemwangi849 Месяц назад

    I love this

  • @afshanhanif8473
    @afshanhanif8473 2 месяца назад

    Hi, it is given the following error in my console. can you please help? "Uncaught You must pass your app key when you instantiate Pusher."

    • @CodewithBurt
      @CodewithBurt Месяц назад

      Sorry for my late reply... I think you didn't generate the key that should be present in your .env file. Are you still having this issue?

  • @llBestBoyll
    @llBestBoyll 2 месяца назад

    Thx that was very informative 🔥

  • @latehlarry
    @latehlarry 2 месяца назад

    Thank, you so much. I didn't realize we could group route files in an array. Thank you so much. By the way I'm deaf so I just saw the video with no sound.

    • @CodewithBurt
      @CodewithBurt Месяц назад

      Hi Man, thanks for watching. Did RUclips's automatic subtitles help you?

  • @SergioMeneses29
    @SergioMeneses29 2 месяца назад

    I'would like to know if you have the same error: when I change the value of the perPage dropDownlist (for example from 10 rows to 20 rows) and then navigate through the paginator, The paginator return to 10 rows per page instead of allow me navigate between pages with 20 rows per page.

    • @CodewithBurt
      @CodewithBurt Месяц назад

      I think this is related to your other question...

  • @SergioMeneses29
    @SergioMeneses29 2 месяца назад

    Thanks for your video! Everythig ok until I've got an error. After clic on perpage (50 register per page) and then clic on any page of the paginator I've got "The GET method is not supported for route livewire/update. Supported methods: POST". I've alredy added WithPagination on my component but the error is still happening. Any advice how to solve it?

    • @SergioMeneses29
      @SergioMeneses29 2 месяца назад

      I found the solutions with indicating the path, in my case: $providers->setPath(route('providers'));

    • @CodewithBurt
      @CodewithBurt Месяц назад

      Sorry for my late response, I guess you're running into this issue because alpine isn't active in some way.

  • @Le0thecat
    @Le0thecat 3 месяца назад

    Thanks for this video, very well made !

  • @camisetasfutbolsorpresa
    @camisetasfutbolsorpresa 3 месяца назад

    I hope you're doing well. I recently installed my RUclips Custom Counter, but I noticed that the display shows an approximate number of followers (e.g., 290,000) instead of the exact number (290,932). Is there a way to modify the code to retrieve the exact number of followers and display it on the counter instead of the rounded number?

    • @CodewithBurt
      @CodewithBurt 3 месяца назад

      Hi there! I have the same issue to be honest. But there is a reason... The Google API is responding with less precision as the number grows. For example when you have 3.138 subs, it will respond with 3.130, if hou have 10k+ if will give you a 100 subs precision, is you have 100k+ it will give you a 1k precision. It's kinda stupid I know...

    • @camisetasfutbolsorpresa
      @camisetasfutbolsorpresa 3 месяца назад

      @@CodewithBurt Thanks for the reply mate!

  • @kimca
    @kimca 4 месяца назад

    Great video! Straight to the point and super useful, thx!

  • @AdrianBav
    @AdrianBav 4 месяца назад

    Hi Burt. After finding this video I've just put 2 and 2 together and realized that I saw you at Laracon when I came over to speak to Freek. I would have said hi, if i'd have realized it was you. Your report captured the event really well. Great work. And amazing hotel room!

  • @ruslansteiger
    @ruslansteiger 4 месяца назад

    Amazing my dessert brother 👏

  • @rissa_bubbles
    @rissa_bubbles 4 месяца назад

    Amazing summary of LaraconUS! So good to see you again ❤

  • @mahmoud-bakheet
    @mahmoud-bakheet 4 месяца назад

    It's nice that you did this and told us about it. I enjoyed the video. I watched the event on RUclips, but this video added up the missing pieces from my RUclips viewing. I know all the people you mentioned, but unfortunately through RUclips, as I know you. However, it's nice to know people around the world because you're a developer like them. It's a community that energizes you and makes you feel like you belong. I will always be grateful to those who spread that spirit.

    • @CodewithBurt
      @CodewithBurt 4 месяца назад

      Those are kind words. Thank you!

  • @igapaja
    @igapaja 4 месяца назад

    wow, it's like magic! thank you. anyway i have a question, i already use WithPagination, but sometime still got "The GET method is not supported for route livewire/update. Supported methods: POST." error, i need your help, thanks

    • @CodewithBurt
      @CodewithBurt 4 месяца назад

      Have you tried php artisan optimize:clear ?

  • @eslammostafa1247
    @eslammostafa1247 5 месяцев назад

    Great tip, Since I use multi-route files, I will begin to use them Thank you

  • @tuurswimberghe2610
    @tuurswimberghe2610 5 месяцев назад

    nice microphone 😁

    • @CodewithBurt
      @CodewithBurt 5 месяцев назад

      Had to be creative. 😁

  • @devopssimon
    @devopssimon 5 месяцев назад

    Brilliant video, Thank you. I used to use PHP many years ago before moving to JS, but looking at how the PHP ecosystem has progressed, I am keen to get back and get productive again.

  • @DavidMeddowsTaylor
    @DavidMeddowsTaylor 5 месяцев назад

    Your algorithm for checking letters is wrong. If the word is TESLA and you guess HELLO both L's will be marked as yellow, but there is only one L in TESLA. The first L in HELLO should be yellow and the second should be grey. If the answer were LEVEL then both L's in HELLO would be yellow.

    • @CodewithBurt
      @CodewithBurt 5 месяцев назад

      Well it's not that important, the goal of the video is more about creating the game. If someone would like to have an extra check in the algorithm, it's possible to extend it.

  • @muhammadalifdanielbinmohdh3188
    @muhammadalifdanielbinmohdh3188 5 месяцев назад

    Hey can you make an crud tutorial for laravel tall stack with volt class?

    • @CodewithBurt
      @CodewithBurt 5 месяцев назад

      It's on my list, but I need to find some extra time. Thanks for watching!

  • @sagart00100
    @sagart00100 6 месяцев назад

    where do i get the reverb keys from ? to put in my laravel .env

    • @CodewithBurt
      @CodewithBurt 5 месяцев назад

      You can choose that yourself.

    • @sagart00100
      @sagart00100 5 месяцев назад

      @@CodewithBurt i could not find the section where we can get the keys in reverb website

  • @kruhlyk_ua
    @kruhlyk_ua 6 месяцев назад

    Sorry man, but your code style is... please use PSR and data types in your code! Anyway thanks for video.

    • @CodewithBurt
      @CodewithBurt 6 месяцев назад

      I know. Still messing up writing a lot while talking. But thanks for watching tho. 😁

  • @MortalKoaster
    @MortalKoaster 6 месяцев назад

    Yeaaaah, until they bring out a plug and play version like their FB and Insta versions…I’ll be keeping hold of my money. Far too complicated.

  • @amanverma8300
    @amanverma8300 6 месяцев назад

    which one TO choose, PHP or LARAVEL???

    • @CodewithBurt
      @CodewithBurt 6 месяцев назад

      Laravel is PHP in the end right.

    • @amanverma8300
      @amanverma8300 6 месяцев назад

      @@CodewithBurt i am a javascript developer. I have no knowledge on php . Can I choose laravel direct to learn for job and freelancing? Please suggest me

    • @numb6455
      @numb6455 5 месяцев назад

      nah bro learn php and oop php first​@@amanverma8300

  • @PaulinhoAprimo
    @PaulinhoAprimo 6 месяцев назад

    very useful tks

  • @HappyToDev
    @HappyToDev 6 месяцев назад

    Thank you for this cool demo Burt !

  • @hoangphuong98
    @hoangphuong98 6 месяцев назад

    done. Thank you 🙏

  • @eslammostafa1247
    @eslammostafa1247 6 месяцев назад

    This method is new for me. Thank you :)

  • @miguelmenchuxoyon4191
    @miguelmenchuxoyon4191 6 месяцев назад

    In Livewire 3 and Laravel 11, you must to add the WithPagination trait and publish Livewire's pagination views to render page navigation links

  • @Jack-sp3ic
    @Jack-sp3ic 6 месяцев назад

    No offense here, just curious. I'm using both Ray and Xdebug but I always wonder if there is a significant advantage of Ray over Xdebug? When use Xdebug I don't have to remove left over ray calls in code (the clear ray CLI command doesn't detect empty ray()->...statements). At this time I'm mostly using ray to display multiple variable at once or quick simple debug.

    • @CodewithBurt
      @CodewithBurt 6 месяцев назад

      It's a personal preference I guess. I'm not that big of a Xdebug user.

  • @ilahazs
    @ilahazs 6 месяцев назад

    Is it safe? I want to rebuild my livewire blog app. But my concern they merge client and server thing in one file.

    • @CodewithBurt
      @CodewithBurt 6 месяцев назад

      Yes, I use it in production for small things.

  • @riddlerealm_0
    @riddlerealm_0 7 месяцев назад

    Can reverb be implemented using Laravel as an API and ReactJS (Ionic) as the front end? I attempted it, but encountered an error: 'runtime.ts:115 WebSocket connection to 'ws://localhost:8080/app/***********?protocol=7&client=js&version=8.4.0-rc2&flash=false' failed:'

  • @PrimeDime99
    @PrimeDime99 7 месяцев назад

    Using Ray for a while now, learned many new things through your video. Thanks 🙂

  • @bravehotsauce
    @bravehotsauce 7 месяцев назад

    👍

  • @bravehotsauce
    @bravehotsauce 7 месяцев назад

    thanks!