Luke, to random
@Luke@typo.social avatar

Making new RSS feeds. XML or JSON?

trovster,

@Luke I’ve implemented both. After I found the JSON spec, I put a PR to a #Laravel RSS package, which it makes super simple to provide both. Though I’m not sure what support the JSON format has for feeds.

phpc, to php
@phpc@phpc.social avatar

Reply to this thread with the folks to follow on the Fediverse!

paladin,
@paladin@mastodon.online avatar

@phpc 👋 #laravel and sometimes good old plain #php

pad,

@phpc
#php and #laravel dev.
I may also talk a lot about #Japan, #kpop, #blackpink and more

mazedlx,
nunomaduro, to random
@nunomaduro@mastodon.social avatar

This Laravel tip never gets old! If you wanna throw in a bunch of columns right after an existing column, just go ahead and rock that "after()" method. 💅🏻

michael,
@michael@thms.uk avatar

@nunomaduro I do have to admit that I’ve never understood why I’d want to do that:

I can (and do) select columns in any order if I want to inspect the data in my sql client, and my application doesn’t care about column sequence at all.

And didn’t MySQL require a full table rebuild until quite recently to insert a column elsewhere than in the end?

Don’t get me wrong: it’s nice to see the option exists, but I personally have never seen the use case for it 🤷‍♂️

#SQL #MySQL #Laravel

ramsey, to php
@ramsey@phpc.social avatar

Let’s get all controversial up in this #PHP

MelvilleSpence,
@MelvilleSpence@phpc.social avatar

@ramsey OK
For the love of God learn #PHP before touching a framework like #symfony or #laravel
There’s a pretty good #laravel learning path at Laracasts that starts with #PHP

j3j5, to Laravel
@j3j5@hachyderm.io avatar

I've got a weird thing going on when trying to test an Http request made with .
I'm using the HTTP client with a custom middleware to modify the request using

->withMiddleware(
Middleware::mapRequest()
)

When doing the Http::assertSent() the request that is passed to the callback does not seem like it's passed through the middleware, although when I inspect the response, the request seem correct. Did I find a bug? Help!

j3j5, (edited )
@j3j5@hachyderm.io avatar

I've made a PoC on replit, you can try it by running it on their or just copying the code from ExampleTest on the Unit folder

https://replit.com/@j3j5/Laravel10-Http-Client-Bug#tests/Unit/ExampleTest.php

#PHP #Laravel #Testing

j3j5,
@j3j5@hachyderm.io avatar

Update, I've submitted a bug report and a PR for #laravel that should fix this. It's a 🐞 no doubt. Now it's up to the maintainers.

https://github.com/laravel/framework/issues/47613

https://github.com/laravel/framework/pull/47614

j3j5,
@j3j5@hachyderm.io avatar

Latest update 🥳

Not bad, from discovery to merged fix in less than a day :blobfoxdealwithitfingerguns: #laravel

danrot, to Laravel
@danrot@mastodon.social avatar

Currently looking into #Laravel for my new job.

danrot,
@danrot@mastodon.social avatar

Another thing I am really missing in #Laravel: Something like the #Symfony profiler. Getting information like which queries are executed or which events are dispatched always seem to need some code being manually added. IMO a framework should log this information somewhere by default if it is run in the development environment.

freekmurze, to php
@freekmurze@phpc.social avatar
symfonystation, to Symfony
@symfonystation@phpc.social avatar

Explore our article, Exploring the Seven (7) PHP Frameworks using Symfony Components. https://www.symfonystation.com/PHP-Platforms-Symfony :symfony:

valorin, to php

Next security tip for https://securinglaravel.com is queued and ready to go tomorrow!
Here's a hint for the topic: What do Telescope and Clockwork have in common?🤔

(I've snuck a two cool extras in there too. 🤫)

valorin, to Laravel

Security Tip : Resource Controllers and resource authorisation are awesome, but be careful if you use custom controller actions as well, as they'll bypass the authorisation! 😲🔓
So, naturally, I used this to download a client's database! 😈🥷
https://securinglaravel.com/p/security-tip-watch-out-for-resource

symfonystation, to javascript
@symfonystation@phpc.social avatar

Explore our article: Frontend Madness: SPAs, MPAs, PWAs, Decoupled, Hybrid, Monolithic, Libraries, Frameworks! WTF for your PHP backend? https://symfonystation.com/Frontend-Madness-JS-PHP-Backend #javascript #PHP #symfony #Laravel #Drupal #WordPress #React #Vue #Svelte #AlpineJS #Angular #Viewi #PWAs

mobileatom, to javascript
@mobileatom@me.dm avatar

Explore our article: Frontend Madness: SPAs, MPAs, PWAs, Decoupled, Hybrid, Monolithic, Libraries, Frameworks! WTF for your PHP backend? https://symfonystation.com/Frontend-Madness-JS-PHP-Backend #javascript #PHP #symfony #Laravel #Drupal #WordPress #React #Vue #Svelte #AlpineJS #Angular #Viewi #PWAs

Valkryir, to php

Time for an post! I'm Valkryir.

I'm a software developer working primarily in and , but also dabble with gamedev in in my spare time.

I'm also a small time streamer going live on most weekends for a few hours each evening.

I'm going to try to post on here often about basically whatevers bouncing around my skull at the time. Could be gym progress or shitposting or whatever hobby I'm working on this week.

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

From #Laravel news: Participate in the latest Developer Nation survey, accessible to all developers and no-code software creators, to share your own opinion about your compensation and what would you like to change in the Developer Ecosystem. https://www.developereconomics.net/?member_id=laravel&utm_medium=nl_2

valorin, to php

Ok, Security Tip is locked and ready to go out in 2 days. This week I'm covering a vulnerability I discovered in a recent audit that lead to complete PII exposure... 😱
Super simple to find and exploit, due to a single line overlooked...
https://securinglaravel.com

iCaspar, to Laravel
@iCaspar@phpc.social avatar

Who has experience with implementing a modular #Laravel project (using https://github.com/nWidart/laravel-modules or similar)?

We've identified several core concerns: Users, Locations, Customers... that might be candidates for modules.

Some 3rd party integrations, like Google Maps API, Logging/Monitoring might be Services living in the main app.

But maybe this is backwards? Maybe things that might be swapped out (Google maps vs Mapquest Maps) would be better as modules and the core concerns in the main app?

valorin, to php

Just sat down to write my Security Tip for this week and realised this one is Security Tip ! 😲 🎂

To celebrate, I'll sneak a special 50% off discount code into the email somewhere, valid for 24 hours only.
Sign up so you don't miss it: https://securinglaravel.com

valorin, to php

Just sat down to write my Security Tip for this week and realised this one is Security Tip ! 😲 🎂

To celebrate, I'll sneak a special 50% off discount code into the email somewhere, valid for 24 hours only.
Sign up so you don't miss it: https://securinglaravel.com

video/mp4

changelog, to programming
@changelog@changelog.social avatar

Diode is a #Nodejs #CLI app containing a #PHP server specifically built to run a local development environment for the #Laravel framework.

https://github.com/aschmelyun/diode

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Want to learn more about #Laravel #Octane, check out #Laracasts new series with awesome Mohamed Said https://laracasts.com/series/laravel-octane

michael, to php
@michael@thms.uk avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • Durango
  • DreamBathrooms
  • osvaldo12
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • everett
  • kavyap
  • ethstaker
  • megavids
  • tester
  • GTA5RPClips
  • tacticalgear
  • modclub
  • khanakhh
  • rosin
  • cisconetworking
  • normalnudes
  • provamag3
  • Leos
  • cubers
  • anitta
  • lostlight
  • All magazines