doefom, to Laravel
@doefom@mastodon.social avatar

#Laravel models can use casts to transform a value when either getting or setting it. In this case I use this feature to remove id, class and style attributes from an HTML string while I want to keep the other ones.

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 😉)

roberto, to Laravel
@roberto@phpc.social avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
valorin, to Laravel
@valorin@phpc.social avatar

Let's checkout three of the configuration options available as part of Laravel 11's Automatic Password Rehashing: custom fields, disabling rehashing, and changing bcrypt rounds.

https://securinglaravel.com/p/security-tip-laravel-11s-automatic

phpday, to php
@phpday@phpc.social avatar

"How to contribute to PHP?" will be Gina Peter Banyard 's talk at phpday24.
@Girgias is PHP Core dev

Verona | 16-17 May
Tickets 🎫 bit.ly/4aDoVRW

cctechwiz, to php
@cctechwiz@fosstodon.org avatar

Anyone have a good config for coding in with in ?

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.

shawnhooper, to Laravel
@shawnhooper@fosstodon.org avatar

Upgrading to 11, which removes a lot of the framework code required in your app.

matthewtrask, to Laravel
@matthewtrask@phpc.social avatar

so @weaverryan has just announced he has an incurable type of brain cancer.

https://twitter.com/weaverryan/status/1777326885292114048

His family needs support and I know the loves to show up for people in the community. Please help out if you can.

https://gofund.me/9a0f45f3

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

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

kaiserkiwi, to Laravel
@kaiserkiwi@corteximplant.com avatar

I love good seeders for developing a project with .

It's just so awesome to let someone new into the project they enter one command and after a short time they can login and have a ton of plausible test data.

Takes a bit time to set it up but after that it saves so many hours of manually creating test data.

valorin, to Laravel
@valorin@phpc.social avatar

Limiting access to remote files is easy if you're using something like S3, but what about limiting access to local files?

Here's my solution: https://securinglaravel.com/p/security-tip-restricting-local-file

mobileatom, to Symfony
@mobileatom@me.dm avatar

Be sure to follow the Symfony Universe collection on the Threadiverse. https://kbin.social/c/SymfonyUniverse/

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
darkghosthunter, to php
@darkghosthunter@mastodon.social avatar

Just going to nonchalantly shove in some awareness to my GitHub Sponsorship.

If you value my contributions to Open Source and Laravel, just leave a small tip or become a sponsor. It helps me pay the bills.

https://github.com/sponsors/DarkGhostHunter

michaelwitwicki, to Laravel
@michaelwitwicki@phpc.social avatar

I have 20 minutes. I should watch a video on

Oooh. What PHPStorm theme are they using?

{20 minutes searching for theme}

Another successful attempt at bettering myself.

alda, to php
@alda@topspicy.social avatar
array, to Laravel
@array@fosstodon.org avatar

I'm pretty amazed with #Laravel+ #Vue+ #Inertia. In a nutshell, you don't have to write routes for your API endpoints and then routes in your frontend views, and then frontend methods to retrieve data and so on. You mostly work as if you were serving your server-side rendered views, write your models and controllers, and then you just pass the data as props to your Vue pages and components, and bang, done! I'm really having fun with my pet project. :)

freekmurze, to php
@freekmurze@phpc.social avatar

Ignition will now show Laravel 11’s context (if you have set some values)

Not seeing this? Just run composer update to pull in the latest version of Ignition.

freekmurze, to Laravel
@freekmurze@phpc.social avatar

👍 Want to see Laravel’s 11 context in Ray? Ylaraveldo that now easily using

ray()->context();

Docs: https://myray.app/docs/php/laravel/usage#showing-context

More on Laravel context: https://laravel.com/docs/11.x/context

array, to Laravel
@array@fosstodon.org avatar

I'll likely have some, say, free time from now on. So I can finally begin with some pet projects as an excuse to keep on learning, and yesterday I began a #Laravel/ #Vue project. Something I thought would be fun to do and I can use after (and if) it's done, a web app where I can keep track of my favorite music, fill data wiki-style, write reviews, and who knows what else. Some hours into that and I remember why I loved Laravel so much since I learned it a bit. :)

grmpyprogrammer, to php
@grmpyprogrammer@phpc.social avatar

Has anyone done Slevomat coding rules for PHP-CS-Fixer? Want to see if Pint can use them

welcomattic, to php French
@welcomattic@phpc.social avatar
valorin, to Laravel
@valorin@phpc.social avatar

One of my favourite security tricks is to install Canary Tokens in all of my apps. (I also put them in my live code talks too!)

They'll tell you if anyone is snooping around your code who shouldn't be! 🕵️

https://securinglaravel.com/p/security-tip-canary-tokens

emd, to php
@emd@cosocial.ca avatar

Anyone out there in or -land explain this?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • kavyap
  • InstantRegret
  • everett
  • magazineikmin
  • thenastyranch
  • Youngstown
  • slotface
  • osvaldo12
  • cisconetworking
  • rosin
  • mdbf
  • normalnudes
  • DreamBathrooms
  • tester
  • ethstaker
  • khanakhh
  • Durango
  • cubers
  • relationshipadvice
  • anitta
  • Leos
  • GTA5RPClips
  • tacticalgear
  • modclub
  • HellsKitchen
  • lostlight
  • sketchdaily
  • All magazines