@stefanzweifel@phpc.social
@stefanzweifel@phpc.social avatar

stefanzweifel

@stefanzweifel@phpc.social

Web Developer (#laravel #php / #tailwindCSS) โ€ข Maker of many open source things โ€ข Minimalist โ€ข Hiking in the alps โ€ข ๐Ÿ‡จ๐Ÿ‡ญ๐Ÿณ๏ธโ€๐ŸŒˆ he/him

This profile is from a federated server and may be incomplete. Browse more on the original instance.

robb, to random
@robb@social.lol avatar
stefanzweifel,
@stefanzweifel@phpc.social avatar

@robb Super interested if you will stick to Raycast.

I have been using Alfred for more than 10 years now. I like the modern look of Raycast, but the last time I tried it, it still felt slow compared to Alfred.
Maybe I also just have to switch the shortcuts and force to use it more.

(Also: Great picture in the blog post)

stefanzweifel,
@stefanzweifel@phpc.social avatar

@regis Interesting! I also think the AI stuff would just be a gimmick for me and something I will barely use.
Gonna give it a test run next week. :)

j3j5, to php
@j3j5@hachyderm.io avatar

Does anybody on the fedi Laravel community knows Aaron Francis? It's really sad that his (awesome) fast-paginate package seems abandoned like this, maybe just a statement acknowledging he can't/doesn't want to maintain it anymore can make the community fork it to keep it maintained. This L11 support PR has been opened and unanswered for 2 months already.

https://github.com/hammerstonedev/fast-paginate/pull/58

stefanzweifel,
@stefanzweifel@phpc.social avatar

@j3j5 Aaron isnโ€˜t the fastest with merging those PRs. On a recent episode of his podcast, he acknowledged that. (Recently lost his job and has 4 small kids)

Maybe a friendly email that states that the PR can be merged as is and a new version can be tagged (because you tested that everything works for L11) helps.

I had to DM him a couple of times for the L10 release last year to upgrade a certain package.

stefanzweifel,
@stefanzweifel@phpc.social avatar

@j3j5 I feel you. Had the same inner monologue when I had to nudge him last time.

He helped me bring sidecar-browsershot to a v1; but that is all the interaction I had with him.

Maybe a friendly comment on that PR can move a new release forward faster.

stefanzweifel, to random
@stefanzweifel@phpc.social avatar

Love it.
iCloud Drive decided to download all my old photo archives and old Windows XP games iso-files until 100MB of disk space was left.

No delete all node_modules folders and local TimeMachine snapshots. And after three restarts iCloud stopped downloading any more files and gave me back 15GB of data. ๐Ÿคท

stefanzweifel,
@stefanzweifel@phpc.social avatar

Haha. Microsoft Teams uses 1.8 GB of disk space?!

stefanzweifel, to php
@stefanzweifel@phpc.social avatar

While making my PHP packages compatible with Laravel 11 the last few weeks, I've also spent some time and added PHPStan to all of them.

The more simpler ones are already on level 9. The more complex are still on level 5 or 6. I'm still a novice when it comes to proper type documentation. Goal is to increase levels throughout the year.

Links to all packages:
https://stefanzweifel.dev/projects

stefanzweifel,
@stefanzweifel@phpc.social avatar

@regis yeah, max is basically impossible to fulfill in Laravel apps. In packages itโ€™s manageable. A couple of doc blocks are usually enough.

stefanzweifel,
@stefanzweifel@phpc.social avatar

@thgs @regis The problem is Laravel's magic.
Tools like Larastan or the laravel-ide-helper can help here.

The core problem is that for example in this User model, there are no $name or $email properties, but one can use $user->name = โ€˜Fooโ€™;
https://github.com/laravel/laravel/blob/11.x/app/Models/User.php

As mentioned, Iโ€™m a novice when it comes to phpstan and currently don't see the need to go to level 9 in my projects.
My app code these days are often strictly typed PHP classes "outside" of Laravel anyway.

MoritzGiessmann, to random
@MoritzGiessmann@mastodon.social avatar

Almost three months after publishing, Google still hasnโ€™t crawled all of my blog articles from January. All other big search engines have. I really donโ€™t get it.

stefanzweifel,
@stefanzweifel@phpc.social avatar

@MoritzGiessmann When I moved my domain from .io to .dev it took Google 3-4 months to properly index most of the blog posts. (I think 2-3 are still not indexed)

What helped (?) me logging in to the search-console and manually submit/fix each URL.

stefanzweifel, to random
@stefanzweifel@phpc.social avatar

And the award for the worst country select field goes to โ€ฆ Meta.

Countries are sorted randomly. Not by name or abbreviation.
Oh and the native behaviour of a select field โ€“ typing searches the options โ€“ does not work. (It jumps to the option that starts with the last character you typed)

@grumpy_website

stefanzweifel,
@stefanzweifel@phpc.social avatar

@michael @grumpy_website I need to fill this form out to test an API integration and it took me more than 1 minute just to find the right country.

This isn't even a "country" field in the form.
It's a postcode field where the validation depends on your selected country. ๐Ÿคท

stefanzweifel,
@stefanzweifel@phpc.social avatar

@michael @grumpy_website Oh my. It get's even better.

Their debug-tool displays the form in an old design. That field has a nice search field at the top. ๐Ÿคฆ

marcel, to random German
@marcel@mastodon.social avatar

The first episode of Netflix's adaption of The 3-Body Problem was fantastic. If they can keep up this quality, it might come close to the books. Exciting!

stefanzweifel,
@stefanzweifel@phpc.social avatar

@marcel on the last few pages of book 1.

As you read all books, should I wait and read the other books first? Or can I start with the TV show after I read book 1?

michael, to Laravel
@michael@thms.uk avatar

I love this new Context feature. But I'm wondering if there is any way to use Context without the facade? I personally really prefer Dependence Injection, so I'd love to know if I can use it this way?

@nunomaduro do you know?


https://mastodon.social/@nunomaduro/112128764176469272

stefanzweifel,
@stefanzweifel@phpc.social avatar

@michael @nunomaduro Haven't tested it yet, but I think you could inject this Repository class to get access to the Context object.

https://github.com/laravel/framework/blob/11.x/src/Illuminate/Log/Context/Repository.php#L15

denniskoch, to Laravel
@denniskoch@phpc.social avatar

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

stefanzweifel,
@stefanzweifel@phpc.social avatar

@denniskoch A friend recently mentioned that they "share" (copy & paste) the same composer scripts in all their projects.
They can run composer run test, composer run refactor or composer migrate in all their projects.

But no idea how one could share that easily between repos.

Just yesterday I wanted to start integrating phpstan in more projects of mine and asked me the same question.

stefanzweifel, to Laravel
@stefanzweifel@phpc.social avatar

If you're in Zurich this Thursday evening and want to learn more about Laravel, I highly recommend joining us at the Laravel Switzerland Meetup.

Topics this time:

  • Fat Enums
  • How to Kickstart your next App

https://www.meetup.com/laravel-switzerland-meetup/events/298948244/

freekmurze, to Laravel
@freekmurze@phpc.social avatar

๐Ÿ’ช Last week (and weekend) I tagged 11 compatible version for about 100 of our most packages.

A big thank you to @laravelshift for providing quality PRs that were a good starting point.

The next few days, Iโ€™ll tag more packages ๐Ÿ‘

๐Ÿฅณ Have fun upgrading to L11

stefanzweifel,
@stefanzweifel@phpc.social avatar

@freekmurze Thank you for going through all those PRs, Freek! ๐Ÿงก

stefanzweifel, to random
@stefanzweifel@phpc.social avatar

Weird feeling today. Pulled the plug on a project at work today which I took over 11 years ago.

It was my first project at the company. I first migrated it from "raw" PHP, then to Codeigniter and then to Laravel.

This project alone tought me so much: scaling an app to send thousands of mails per day and deal with incoming webhooks. Tracking of server side events without impacting performance for users. Designing custom email templates. And so much more.

stefanzweifel, to random
@stefanzweifel@phpc.social avatar

I'm in that stage of my life, where I walk from the office back to my place during lunch brake to take the butter out of the fridge, so it's not too firm when I want to bake muffins this evening. ๐Ÿ‘จโ€๐Ÿณ

bramus, to random
@bramus@front-end.social avatar

๐Ÿš๐Ÿ’ฅ๐Ÿš—

Some bloke rear-ended me on the highway today. I was doing the mandatory 70kph because of road works and he obviously was going faster.

No injuries, only material damage. The insurance companies will deal with it.

So, how's your weekend going?

stefanzweifel,
@stefanzweifel@phpc.social avatar

@bramus Oh no. Glad youโ€™re safe. Hope all the paperwork goes through quickly.

gruber, to random
@gruber@mastodon.social avatar

Mozilla should definitely do this. And then when it goes nowhere, everyone will finally agree that PWAs were never a great platform for mobile apps. Right? https://indieweb.social/@whalecoiner/111940727614198057

stefanzweifel,
@stefanzweifel@phpc.social avatar

@gruber You do know why PWAs were โ€œnever that great for mobile appsโ€, right? Right?

Apple's claim that "a low number of people" is affected by turning of PWA support in the EU, is only because Safari โ€“ for a long time โ€“ didn't implement all the necessary features for a great PWA.

stefanzweifel, to random
@stefanzweifel@phpc.social avatar

Great talk by @dunglas at explaining .

stefanzweifel,
@stefanzweifel@phpc.social avatar

@dgoosens @dunglas @ApiPlatform @symfony Fully agree. Love the project and the energy that is behind it.

And how all major players in the ecosystem are looking to or already supporting it.

MoritzGiessmann, to random
@MoritzGiessmann@mastodon.social avatar

News from browser plugin world:
I made a Firefox Add-On that automatically redirects YouTube links to YewTu.be.

Right now itโ€™s just on GitHub, but I will keep you posted when it goes live in the store.

https://github.com/MoritzGiessmann/yewtube-redirect/

stefanzweifel,
@stefanzweifel@phpc.social avatar

@MoritzGiessmann didnโ€™t know about yewtu.be.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • anitta
  • kavyap
  • PowerRangers
  • hgfsjryuu7
  • magazineikmin
  • InstantRegret
  • rosin
  • everett
  • Youngstown
  • slotface
  • vwfavf
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • Leos
  • Durango
  • tacticalgear
  • cubers
  • cisconetworking
  • khanakhh
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • tester
  • normalnudes
  • ethstaker
  • modclub
  • provamag3
  • All magazines