outofcontrol, to php
@outofcontrol@phpc.social avatar

I still follow @PovilasKorop on the bird sight, along with 3 others that I can't find on Mastodon... yet. Today he stated it was repetitive and boring to constantly have to manually enter the fillable fields in PHPStorm. Idea has the solution, with cmd-n to auto fill $fillable. So cool!

dandb, to php
@dandb@mas.to avatar

Is there a built-in way to to partial resolution from the container in ?

I have a class that takes a model and then a few service classes. The model obviously isn't resolvable from the container, but the rest of the services are.

outofcontrol, to php
@outofcontrol@phpc.social avatar

When programming in and doing Laravel specific things, Laravel Idea (https://laravel-idea.com) is a clear winner to me. CoPilot seemed a bit haphazard in its suggestions. I've not tried copilot for actually generating non-laravel specific code stuff. That is up next!

michabbb, to programming German
@michabbb@vivaldi.net avatar

🚀a laravel routing tip

sometimes a "catch-all" can be handier than having individual routes

valorin, to Laravel

Today's task: Get my talk ready for Laracon US!
Refreshing my Laracon EU talk, and hoping to add a new something in there, although I'm not sure what yet. 🤔

If you're coming to Laracon US, it's gonna be fun! 😁

stux, to Laravel
@stux@mstdn.social avatar

Image and video uploading also partly done! It uses ffmpeg to convert the videos and a custom player

Still gotta fix previews and such but we're getting there! :laravel: :vue:

My silly Twitter clone in Laravel 10, Vue3, TailwindCSS & InertiaJS

roberto, to php

I'm collecting a list of 2024 conferences for PHP, Laravel, and Symfony.

Which one will you attend?

If you have suggestions for the list (such as adding a conference), please let me know.

https://dev.to/robertobutti/php-laravel-symfony-conferences-in-2024-1olg

#devcommunity #php #conferences #laravel #symfony

valorin, to php
@valorin@phpc.social avatar

You know you have too many domains when you don't notice someone has hijacked one of them to run a malicious web shell, and in the simplest way possible too... 🤦
https://securinglaravel.com/p/security-tip-hijacking-domains-the

pieceofthepie, to Laravel
@pieceofthepie@n8e.dev avatar

#ProLifeTip. Put more effort into periodically reinforcing the learning that got you to this point in your career, because at some point you might spend a weekend implementing something from scratch and realising you've literally forgotten it all.

The wheel aren't rusty, they've fallen off.

How does one work with #Laravel?
What is a Dockerfile? WTF is Vite?

#SeniorMyArse #SoftwareDeveloper #Dev #Docker #Linux #PHP

paladin, to Laravel German
@paladin@mastodon.online avatar

WHAT THE FUCK?
Upgrading to #laravel #Livewire 3 deletes all my data in PROD?
WHY? All data is GONE.

grmpyprogrammer, to Laravel
@grmpyprogrammer@phpc.social avatar

For folks who are using Pest for tests — what is the equivalent of using the RefreshDatabase and TestDatabase traits?

joepferguson, to Laravel
@joepferguson@phpc.social avatar

Homestead v15.0.0 has been released https://github.com/laravel/homestead/releases

mikestreety, to Laravel
@mikestreety@hachyderm.io avatar

I'm doing some development and have run into the same quandary I always do.

I have some code which connects to an API and gets some data to save to a model in the Database. Where do I put the code which does the fetching?

I want it as a command but also accessible via a controller. Is it a service? Or do I just make a new folder in app with my classes in there?

shane, to Laravel

Tapping into the power of junior developers

Presented by Rissa Jackson

image/jpeg

mijustin, to Laravel
@mijustin@mastodon.social avatar

Who is building a Laravel-based SaaS?

cc @laravelnews

walsonde, to Laravel German
@walsonde@rheinneckar.social avatar

Aaargh! Es war eine sehr schlechte Idee, die id-column einer table nicht "id" zu nennen sondern "owner". Jetzt kann den Datenbankeintrag nicht mehr mit find() finden. Lernen durch Schmerz!

rolfdenhartog, to Laravel Dutch
@rolfdenhartog@phpc.social avatar

I was asked to upgrade/update an old (5.3) project to the latest version of laravel and . I’ve already seen the code and let’s say it’s going to be interesting. A lot of customizations 😱 Not calling parent constructors which contain dependencies for example (probably not necessary). And also not even following certain Laravel standards. What did they use of the Laravel framework? Facades and helper functions 😑 (I really don’t like them, just use constructor DI 😉)

jclermont, to Laravel
@jclermont@phpc.social avatar

What if you need a value that's both random and unique? One approach is to weigh the odds and hope for the best, or... you could check out today's tip. https://masteringlaravel.io/daily/2023-08-18-generate-random-and-unique-values

denniskoch, to Laravel
@denniskoch@phpc.social avatar

Does anyone have a good solution how they handle standards they use in every #Laravel project? Like packages, external tools, configuration in service providers, theming, …

shawnhooper, to Laravel
@shawnhooper@fosstodon.org avatar

Awesome. There's a Laravel Shift CLI in the works.

https://github.com/laravel-shift/cli

jclermont, to php
@jclermont@phpc.social avatar

Laravel recently added a password validation rule to more easily enforce a maximum length. Why would you ever want to limit the length of a password? Here's an explanation how it actually improves security. https://masteringlaravel.io/daily/2024-02-05-why-does-laravel-offer-a-max-password-length-validation-rule

cr0ybot, to Laravel
@cr0ybot@mastodon.social avatar

Laravel's relationship count and sum methods are great, but don't use them for orderby statements.

codappix, to php German
@codappix@phpc.social avatar

Wir geben es zu! Als harten Kontrast zum Job des Programmierers setzen wir uns manchmal eine Dosis 𝐌𝐚𝐫𝐢𝐨-𝐊𝐚𝐫𝐭 und schalten ab 🕹. Vorab gilt bei uns aber stets folgendes Motto ⏩ Erst die Arbeit, dann das Vergnügen 😎!

JustineSC9, to Laravel French
@JustineSC9@mamot.fr avatar

Bon ben mes craintes étaient donc fondées... Je signe la semaine pro une rupture conventionnelle à l'initiative de mon employeur (raisons économiques ; je me disais aussi que ça devait être compliqué de verser des salaires quand y'a pas de projets).

Du coup si vous connaissez des boites de #dev sympas sur #lyon, inclusives, humaines et qui bossent sur du #laravel (ou #symfony à la limite), éventuellement du #vue (junior), du #git et avec une bonne organisation, n'hésitez pas à balancer :-)

jclermont, to Laravel
@jclermont@phpc.social avatar

I love Eloquent! It's such a productivity boost and the code reads so nice. But every once in a while, I'll find a situation where the "non-Eloquent" way performs better. Today's tip shares one of these examples. https://masteringlaravel.io/daily/2023-08-14-sometimes-eloquent-can-make-a-query-slower

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines