j3j5, to fediverse
@j3j5@hachyderm.io avatar

My first is finally live! @LaDiaria posts news from the 🇺🇾 newspaper @ladiaria directly from their RSS feed. As bots go, it's really simple but the reason I'm so happy is that's running from my own implementation of an compatible server made with and . There's still plenty of work to do, but for now, the basics are there and I wanted to test it in the wild.

AstraKernel, to php

🪲 PHP developers and other developers, can you identify what is the issue in this code?

(No comment like "PHP". Save it for some other time 😀. This can happen in any language)

sirber, to Laravel
@sirber@fosstodon.org avatar

#Laravel / Eloquent looks way easier than #nestjs / typeorm and #go / #gin / #gorm 😅

#php #webdev

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Has anyone been successful in using #fulltext search IN BOOLEAN MODE with pagination in #laravel. All works great until you try a Boolean search with a +, then invalid number of parameters error rears it’s ugly head. Without pagination also works fine. This might work with a custom pagination query, but was hoping someone might have found a better way. #php #mysql

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

A bit saddening to see some of the active #laravel users posting a lot on Threads, but still not here on #mastodon. Guess this is an opportunity for some folks to get a leg up by posting more #php and laravel related code stuff

ramsey, to Laravel
@ramsey@phpc.social avatar

The ecosystem has really nailed developer experience and streamlining work for their users. I think other open source projects have a lot to learn from them.

rvxlab, to php

Really not a fan of all this AI nonsense going on in IDEs. #Jetbrains with an un-uninstallable AI plugin (not to mention increasingly poor performance), #zed looks promising and luckily the AI stuff can be disabled but it’s lacking features because it’s new-ish. VSCode is a nope…

Anyone has recommendations for an alternative? I mainly work with #php #laravel #rust and #typescript. Obvious choice for me is #neovim or #helix but I’m finding it such a chore to get working, not to mention tooling.

valorin, to Laravel
@valorin@phpc.social avatar

Do you log login attempts in your app? 🤔
Both successes and failures? 😯
Why not? 😧
https://securinglaravel.com/p/security-tip-login-logging

Crell, to Laravel
@Crell@phpc.social avatar

An excellent if long writeup about the failures of #ActiveRecord. Which is also one of the reasons I am so vocal about the fundamental problems of #Laravel/#Eloquent, as it's a particularly messy Active Record implementation.

https://shawnmc.cool/active-record-how-we-got-persistence-perfectly-wrong

#PHP

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

And to start of Monday, we have "This database engine does not support fulltext search operations.” when running local tests in sqlite, even though we have verified that fts5 is enabled.

¯_(ツ)_/¯

Is it Friday yet?

#pest #laravel #sqlite

grmpyprogrammer, to Laravel
@grmpyprogrammer@phpc.social avatar

First fight I have apparently picked with 10 is my desire to use the repository pattern for some data access where I am doing a bunch of joins and I used the query builder. What other approaches should I consider using?

valorin, to php
@valorin@phpc.social avatar

One of my favourite (and oh so simple) hacker tricks is to abuse JSON support in APIs and pass TRUE instead of the actual API key. If the code does loose comparison, you don't need the key! 😎 😈 🍿
https://securinglaravel.com/p/security-tip-type-juggling #PHP #Laravel

michael, to Laravel
@michael@thms.uk avatar

So, it really annoyed me that in Laravel 11 you cannot have multiple listeners for the same event in an array like you could in Laravel 10.

It's not like it's a big deal, as it's simple enough to implement, but just seems like a step backwards.

What do you think?

https://blog.thms.uk/2024/05/event-listeners-laravel-11?utm_source=mastodon

#Laravel #PHP

thomas, to Laravel
@thomas@phpc.social avatar

I'm researching open source help desk options this morning and came across this gem. Free Scout (built on 5.5) doesn't believe in updating the framework. But wait, it gets better. They think the proper solution for bugs or upgrading versions is “patching and overriding vendor files”

shawnhooper, to Laravel
@shawnhooper@fosstodon.org avatar

It appears that Tinkerwell (tinkerwell.app) is a fairly popular tool in the Laravel space.

I just can't figure out how I'd use it in my regular workflow. Maybe for testing Eloquent queries on local?

#laravel #tinkerwell

Joy_intl, to CSS
@Joy_intl@mastodon.online avatar

Right now, I'm procrastinating because I am fighting with #CSS

Come on guys, some smart person has GOT to come up with an easier way..

emd, to php
@emd@cosocial.ca avatar

Anyone out there in #php or #laravel -land explain this?

kenny, (edited ) to php

I'm interested following more people here, particularly in the and community. It's actually quite challenging to find folks on this service IMO.

timvandijck, to Laravel

Sometimes I wonder if we decided to make controllers too skinny… #laravel #php

jclermont, to php
@jclermont@phpc.social avatar

Here's why we like to cache routes and views in CI, just like we do in production. It brings benefits other than performance. #php #laravel https://masteringlaravel.io/daily/2023-12-27-the-benefits-of-caching-in-ci

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Love #Tinkerwell for those that have used it you’ll know why. But… sadly, I find the direction it is going in for my uses is not a good fit. Too many features, and AI… ick. Yeah I know, just don’t use those.

There is also 3v4l Integration from JetBrains, but I can’t help think… why?

I have several PHP versions running locally, why can’t I run test code locally? In VisualCode I used to do this a lot. Perhaps time to just go back to Tinker in my #laravel projects?

jclermont, to Laravel
@jclermont@phpc.social avatar

Today's tip is more of a thought experiment: What if every Composer package had a fee? Would it change how many packages you pull into your projects? #laravel #php https://masteringlaravel.io/daily/2023-09-08-what-if-every-composer-package-had-a-fee

cctechwiz, to php

Anyone have a good config for coding in #php with #laravel in #neovim?

I’ve got intelephense pro working but it keeps trying to reformat the default/generated laravel file formatting and it’s bugging me super bad.

stux, to Laravel
@stux@mstdn.social avatar

Don't know what happened to the profile media but ill fix that later

First a bit of a profile page and after that media uploading

#Laravel #Vue3

My Twitter clone in Laravel / Vue3 to get back into it

outofcontrol, to php
@outofcontrol@phpc.social avatar

Anyone with experience in convert #markdown tables to arrays in #PHP? Our system gets 2 column markdown tables which we want to turn into associative arrays. #Laravel is our framework.

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