#laraveltricks resultados da pesquisa

Today we open Laravel MCP (beta) to the public! Laravel MCP is a library that makes it simple to build Model Context Protocol servers in your Laravel apps. This gives AI clients (like Claude, Cursor, & ChatGPT) a structured way to interact with your application. It's already…


Today's Laravel release ships with cache failover support as well as a "deferred" queue. 🫧 Cache failover automatically tries a backup cache if your primary cache is down. laravel.com/docs/12.x/cach…

taylorotwell's tweet image. Today's Laravel release ships with cache failover support as well as a "deferred" queue. 🫧

Cache failover automatically tries a backup cache if your primary cache is down.

laravel.com/docs/12.x/cach…

Using Queue::fake() in Laravel tests to check jobs were dispatched without actually running them 🧐 From my Testing Laravel course - Oct 31 🎯 #Laravel #PestPHP

garyclarketech's tweet image. Using Queue::fake() in Laravel tests to check jobs were dispatched without actually running them 🧐

From my Testing Laravel course - Oct 31 🎯

#Laravel #PestPHP

1️⃣ Clean Code Series: Functions📒🧑💻 ☑️ Use default arguments instead of short-circuiting or conditionals "Code for humans not for machines" 🐘 #PHP #Laravel #Symfony

rajkbnp's tweet image. 1️⃣ Clean Code Series: Functions📒🧑💻

☑️ Use default arguments instead of short-circuiting or conditionals

"Code for humans not for machines"

🐘 #PHP #Laravel #Symfony

New Laravel updates are here! 🚀 Check out HTTP Batch, Stringable Methods, and more from versions 12.32 & 12.33. laravel-news.com/link/15898

LaravelLinks's tweet card. What's New in Laravel 12.32 & 12.33

youtube.com

YouTube

What's New in Laravel 12.32 & 12.33


🔥 Want quick unit tests in your Laravel app? Make sure your unit tests aren't calling real third-party APIs by using Http::preventStrayRequests() It *forces* you to fake your HTTP requests in tests, making them quick and less prone to random failures when the API has issues

LiamHammett's tweet image. 🔥 Want quick unit tests in your Laravel app?

Make sure your unit tests aren't calling real third-party APIs by using Http::preventStrayRequests()

It *forces* you to fake your HTTP requests in tests, making them quick and less prone to random failures when the API has issues

A few small treats in this week's Laravel release. First, a new "use" Blade directive for quickly importing a PHP class into a Blade template without using raw PHP tags. 🔥

taylorotwell's tweet image. A few small treats in this week's Laravel release.

First, a new "use" Blade directive for quickly importing a PHP class into a Blade template without using raw PHP tags. 🔥

👨‍🚒 Here is a Laravel testing short-cut you may not know about…

taylorotwell's tweet image. 👨‍🚒 Here is a Laravel testing short-cut you may not know about…

We've just launched a new page giving you all the details on why we believe Laravel makes for a radically productive full-stack framework that pairs perfectly with the front-end you already love. ❤️ laravel.com/frontend

taylorotwell's tweet image. We've just launched a new page giving you all the details on why we believe Laravel makes for a radically productive full-stack framework that pairs perfectly with the front-end you already love. ❤️

laravel.com/frontend

💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in "rules" method. #LaravelTips #LaravelTricks #PHP

laravel_updates's tweet image. 💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in "rules" method.

#LaravelTips #LaravelTricks #PHP

Laravel v12.9.0 and v12.8.0 released! devtalk.com/t/219641 #Laravel #PHP # #devtalk


Laravel Tip 🚀 Today is just a tip on something that was released on Laravel 12.34 yesterday that I contributed! Now you can use Http::batch(...)->defer() if you don't care about the results of the requests. This will execute the batch requests only after the request is sent to…

wendell_adriel's tweet image. Laravel Tip 🚀

Today is just a tip on something that was released on Laravel 12.34 yesterday that I contributed!

Now you can use Http::batch(...)->defer() if you don't care about the results of the requests. This will execute the batch requests only after the request is sent to…

Recent PREMIUM long-form tutorial on Laravel Daily. React.js in Laravel: Main Things You Need to Know laraveldaily.com/post/reactjs-l…

PovilasKorop's tweet image. Recent PREMIUM long-form tutorial on Laravel Daily.

React.js in Laravel: Main Things You Need to Know laraveldaily.com/post/reactjs-l…

This is very sweet 🍭 @laravelphp allows you to hook into the __construct() method of a model from a trait by implementing the initialize{TraitName} method. Excuse the rather long example, but it is worth it.

timacdonald87's tweet image. This is very sweet 🍭

@laravelphp allows you to hook into the __construct() method of a model from a trait by implementing the initialize{TraitName} method.

Excuse the rather long example, but it is worth it.

Have you ever used any of these methods to sort your Laravel collection based on its keys? #laraveltricks

codewithdary's tweet image. Have you ever used any of these methods to sort your Laravel collection based on its keys? #laraveltricks

ℹ️ Did you know that you can iterate your #Enum classes like this? Easy #laravel #laraveltricks #laraveltip #php

magarrent's tweet image. ℹ️ Did you know that you can iterate your #Enum classes like this?

Easy

#laravel #laraveltricks #laraveltip #php

Today's Laravel release brings new "Number" helper methods, including methods to easily format monetary values, file sizes, and more. Read more in the docs: laravel.com/docs/10.x/help…

taylorotwell's tweet image. Today's Laravel release brings new "Number" helper methods, including methods to easily format monetary values, file sizes, and more.

Read more in the docs: laravel.com/docs/10.x/help…

🔍 Laravel Tip: 📊 Track attribute changes like a pro! 💡Use these methods in your Laravel models. 🔄 isDirty() 🔍 isClean() 🧹 wasChanged() 🔁 getOriginal() 📜 Easily detect modified attributes, check for unchanged values, and retrieve original data.⚡️🚀 #laravel #php 🐯🫶

MrPunyapal's tweet image. 🔍 Laravel Tip: 📊 Track attribute changes like a pro!

💡Use these methods in your Laravel models. 🔄

isDirty() 🔍
isClean() 🧹
wasChanged() 🔁
getOriginal() 📜

Easily detect modified attributes, check for unchanged values, and retrieve original data.⚡️🚀 

#laravel #php 🐯🫶

Can I appeal to the primary key's sense of humor to start at a specific value in Laravel? Source: devhubby.com/thread/how-to-… #codingcommunity #webdev #laraveltricks #webdeveloper #php #set


💡Use 'when' method of Laravel factory in test cases with data providers for flexible data creation! #Laravel #LaravelTips #LaravelTricks

laravel_updates's tweet image. 💡Use 'when' method of Laravel factory in test cases with data  providers for flexible data creation! 

#Laravel #LaravelTips #LaravelTricks

Laravel tips that no ONE knows: 🔍 Debugging Goldmine in Laravel: Higher Order Tap! 🛠️ Peek into objects, no value change. Stellar for debugging & chaining operations on one object. Level up your #Laravel skills! 💼 #Debugging #LaravelTricks

LaupWing1994's tweet image. Laravel tips that no ONE knows:
🔍 Debugging Goldmine in Laravel: Higher Order Tap! 🛠️ Peek into objects, no value change. Stellar for debugging & chaining operations on one object. Level up your #Laravel skills! 💼 #Debugging #LaravelTricks

💥 Laravel Tip 💥 Use the `whereBetween()` method to retrieve records within a given range of values. 🎯👨‍💻 #LaravelTips #LaravelTricks #LaravelQuerying #DatabaseQueries #WhereBetween #QueryFilters #DataFiltering #DataRetrieval

alnahian2003's tweet image. 💥 Laravel Tip 💥

Use the `whereBetween()` method to retrieve records within a given range of values. 🎯👨‍💻

#LaravelTips #LaravelTricks #LaravelQuerying #DatabaseQueries #WhereBetween #QueryFilters #DataFiltering #DataRetrieval

💡 #Laravel Tip 💡 Use the `withCount()` method to eager load the count of related records. 🔢👨‍💻 #LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent #laravel

alnahian2003's tweet image. 💡 #Laravel Tip 💡
Use the `withCount()` method to eager load the count of related records. 🔢👨‍💻

#LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent #laravel

🚀 Laravel Tip 🚀 Use the `optional()` helper function to safely access nested object properties without causing errors. 🛡️💻 Learn more: laravel-news.com/laravel-option… #LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent

alnahian2003's tweet image. 🚀 Laravel Tip 🚀

Use the `optional()` helper function to safely access nested object properties without causing errors. 🛡️💻

Learn more: laravel-news.com/laravel-option…

#LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent

🔥 Using #Laravel Dusk You can test for JavaScript errors on a page by calling the assertSourceHas method with the </script> tag as the parameter. If the page contains any JS errors, this assertion will fail. #LaravelTips #LaravelTricks #PHP #LaravelDusk

laravel_updates's tweet image. 🔥 Using #Laravel Dusk You can test for JavaScript errors on a page by calling the assertSourceHas method with the &amp;lt;/script&amp;gt; tag as the parameter. If the page contains any JS errors, this assertion will fail.

#LaravelTips #LaravelTricks #PHP #LaravelDusk

💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in "rules" method. #LaravelTips #LaravelTricks #PHP

laravel_updates's tweet image. 💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in &quot;rules&quot; method.

#LaravelTips #LaravelTricks #PHP

💡TIL You could create a middleware that logs the response time of each request #Laravel #LaravelTips #LaravelTricks #PHP

laravel_updates's tweet image. 💡TIL

You could create a middleware that logs the response time of each request

#Laravel #LaravelTips #LaravelTricks #PHP

#Laravel tip to simplify and improve the readability of your code by using the fill() and isDirty() methods of the Eloquent model. #laraveltips #laraveltricks #php #phpdevelopers

osememenogbe's tweet image. #Laravel tip to simplify and improve the readability of your code by using the fill() and isDirty() methods of the Eloquent model.

#laraveltips #laraveltricks #php #phpdevelopers

#Laravel tip for pruning models. Sometimes you may want to periodically delete models that are no longer needed. Add the Prunable trait and implement a prunable method in your model; then schedule a database cleanup. #laraveltips #laraveltricks #laraveldeveloper

osememenogbe's tweet image. #Laravel tip for pruning models.

Sometimes you may want to periodically delete models that are no longer needed.

Add the Prunable trait and implement a prunable method in your model; then schedule a database cleanup.

#laraveltips #laraveltricks #laraveldeveloper

Here's another #Laravel array helper function to retrieve a value from a deeply nested array using "dot" notation. #laraveltips #laraveltricks #laraveldevs #developers

osememenogbe's tweet image. Here&apos;s another #Laravel array helper function to retrieve a value from a deeply nested array using &quot;dot&quot; notation.

#laraveltips #laraveltricks #laraveldevs #developers

Have you ever used any of these methods to sort your Laravel collection based on its keys? #laraveltricks

codewithdary's tweet image. Have you ever used any of these methods to sort your Laravel collection based on its keys? #laraveltricks

Want to find the sum of multiple pieces of data within a collection? Pass a closure to the sum method. #laraveltips #laraveltricks #laravel

mtownsend5512's tweet image. Want to find the sum of multiple pieces of data within a collection? Pass a closure to the sum method. #laraveltips #laraveltricks #laravel

ℹ️ Did you know that you can iterate your #Enum classes like this? Easy #laravel #laraveltricks #laraveltip #php

magarrent's tweet image. ℹ️ Did you know that you can iterate your #Enum classes like this?

Easy

#laravel #laraveltricks #laraveltip #php

💡 #Laravel Tip 💡 Use the `withCount()` method to eager load the count of related records. 🔢👨‍💻 #LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent #laravel

alnahian2003's tweet image. 💡 #Laravel Tip 💡
Use the `withCount()` method to eager load the count of related records. 🔢👨‍💻

#LaravelTips #LaravelTricks #LaravelDevelopment #LaravelLearning #Eloquent #laravel

#Laravel If you have a DB column which you want to be set only once and never updated again, you can set that restriction on Eloquent Model, with a mutator. #laravelTricks #php #webdeveloper

ameeraemad1's tweet image. #Laravel
If you have a DB column which you want to be set only once and never updated again, you can set that restriction on Eloquent Model, with a mutator.
#laravelTricks
#php
#webdeveloper

💥 Laravel Tip 💥 Use the `whereBetween()` method to retrieve records within a given range of values. 🎯👨‍💻 #LaravelTips #LaravelTricks #LaravelQuerying #DatabaseQueries #WhereBetween #QueryFilters #DataFiltering #DataRetrieval

alnahian2003's tweet image. 💥 Laravel Tip 💥

Use the `whereBetween()` method to retrieve records within a given range of values. 🎯👨‍💻

#LaravelTips #LaravelTricks #LaravelQuerying #DatabaseQueries #WhereBetween #QueryFilters #DataFiltering #DataRetrieval

Using @laravelphp anonymous migrations to avoid potential issues caused by multiple migrations having the same class name. Was contributed to Laravel 8.37. #laravel #laraveltricks #laraveltip #laraveltips #php

SerjStarovoitov's tweet image. Using @laravelphp anonymous migrations to avoid potential issues caused by multiple migrations having the same class name.

Was contributed to Laravel 8.37.
#laravel #laraveltricks #laraveltip #laraveltips #php

💡In #Laravel you can fake events in different ways according to your requirement #LaravelTips #LaravelTricks #LaravelEvents #LaravelProTips

laravel_updates's tweet image. 💡In #Laravel you can fake events in different ways according to your requirement

#LaravelTips #LaravelTricks #LaravelEvents #LaravelProTips

💡TIL You could create a middleware that logs the response time of each request #Laravel #LaravelTips #LaravelTricks #PHP

laravel_updates's tweet image. 💡TIL

You could create a middleware that logs the response time of each request

#Laravel #LaravelTips #LaravelTricks #PHP

💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in "rules" method. #LaravelTips #LaravelTricks #PHP

laravel_updates's tweet image. 💡In #Laravel You can use same Form Request class for Multiple Actions of controller by using in the match or switch case in &quot;rules&quot; method.

#LaravelTips #LaravelTricks #PHP

طريقة مميزة وبسيطة لانشاء فلتر عند الاستعلام باستخدام لارافيل #laravelTricks #قبل_لا_يسكر_تويتر #سوق_واقف_اخضر #لارافيل

haythamjal's tweet image. طريقة مميزة وبسيطة لانشاء فلتر عند الاستعلام باستخدام لارافيل
#laravelTricks
#قبل_لا_يسكر_تويتر 
#سوق_واقف_اخضر
#لارافيل

#Laravel If you want to count the number of results from a relationship without actually loading them you may use the "withCount" method, which will place a "{relation}_count" column on your resulting models. #laravelTricks #php #webdeveloper

ameeraemad1's tweet image. #Laravel
If you want to count the number of results from a relationship without actually loading them you may use the &quot;withCount&quot; method, which will place a &quot;{relation}_count&quot; column on your resulting models.
#laravelTricks
#php
#webdeveloper

Loading...

Something went wrong.


Something went wrong.


United States Trends