@tvbeek@phpc.social avatar

tvbeek

@tvbeek@phpc.social

Dutch web developer, working with PHP.
Love to spend some time on opensource projects and helping other people.

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

sarah, to random
@sarah@phpc.social avatar

Frustrated I can't install Laravel without having PHP on my local machine…

tvbeek,
@tvbeek@phpc.social avatar

@sarah now I understand it, thanks for the explanation.

tvbeek,
@tvbeek@phpc.social avatar

@sarah Maybe I miss the point, but if you use composer in docker you could also use it to create your project.

Maybe you can't use the Laravel installer tool but I have never needed to use that.

saki, to random
@saki@phpc.social avatar

I am now the release manager (rookie) for php8.4. 8.4 is going to be the version I'm most attached to. 🎉

tvbeek,
@tvbeek@phpc.social avatar

@saki congratulations and thank you for the work that you will do!

afilina, to random
@afilina@phpc.social avatar

Ugh, the PHP CS Fixer setup instructions for PHPStorm are so long and confusing that I might as well just use the CLI instead. I've been told that I'm a very impatient person :)

tvbeek,
@tvbeek@phpc.social avatar

@afilina That is why I mostly define them as composer scripts.
(and start normalize the names to the standard from: https://github.com/php-pds/composer-script-names )

If you do that please also fill the scripts-descriptions key in composer.json for your scripts.

An example: https://gitlab.com/tjvb/githash/-/blob/master/composer.json?ref_type=heads#L67-102

sarah, to random
@sarah@phpc.social avatar

Contemplating a project I call “tablestakes”which is a SaaS framework for PHP. It would come with all the parts needed to build a full-featured SaaS without having to build the payments, users, etc.

I would use Laminas/Mezzio because it’s best suited for plugging in components.

I know Laravel has components like this, but I think some agnostic components plus a standards-compliant framework would be a good addition.

What do you think?

tvbeek,
@tvbeek@phpc.social avatar

@sarah I'm interested to follow the process and get a clearer picture. Good luck with it and enjoy!

tvbeek,
@tvbeek@phpc.social avatar

@sarah doesn't using Laminas/Mezzio stil means it isn't agnostic?

tvbeek, to random
@tvbeek@phpc.social avatar

@Skoop Thank you for your Sustainable open source contributions in your business talk during . You made one of my colleagues enthousiast to start contribution to open source 👍

doefom, to Laravel
@doefom@mastodon.social avatar

When developing applications I'm always a little afraid of sending emails to actual customers or placing real orders by accident. So I came up with a habit that works super well for me and maybe this will suit you as well.

In my /config/mail.php I add a 'developer' email address and ensure in my AppServiceProvider all emails are sent to this address when in non-production environments no matter what. Makes me build and test stuff way more confidently 😁

Is there a better approach?

tvbeek,
@tvbeek@phpc.social avatar

@doefom that is why I wrote mail catchall.

It will replace the receiver and will optional add all the original receivers (to, cc, bcc) to the content of the email. That makes it useful for an acceptance environment to verify who would normally receive the email.

https://packagist.org/packages/tjvb/laravel-mail-catchall

rob, to random
@rob@akrabat.com avatar

For some projects we've needed to control the licenses used for our dependencies. Fortunately Composer has a command the help with this.

https://akrabat.com/check-licenses-of-composer-dependencies/

tvbeek,
@tvbeek@phpc.social avatar

@rob on my previous job we used the package license-checker from madewithlove https://github.com/madewithlove/license-checker-php
And yes it can be useful or needed to check the licenses of your dependencies.

kaiserkiwi, to webdev
@kaiserkiwi@corteximplant.com avatar

Wanted to get some low hanging fruit tickets done for Questlog. Well I also decided to create more robust testing and now I finished the first task after 3 minutes and fighting Pest for 27 minutes now.

Why in all seven hells is Game::factory()->count(5)->create(); not creating 5 games? It's always 2 or 3. Never 5. This is absolutely infuriating…

I just wanted to get my list shorter and don't break stuff while I do.

The fun part? Also creating all 5 games manually fails. Without any log or something like that…

tvbeek,
@tvbeek@phpc.social avatar

@kaiserkiwi a lot of errors looks stupid if you know the solution. (I was already thinking about what it could be) Nice that you found it 👍

ericmann, to random
@ericmann@tekton.network avatar

With a new server set up, the next step in the great migration was to start moving services to it from the cloud. First up, my toy encrypted secret sharing service!

https://eric.mann.blog/the-great-migration-next-steps/

tvbeek,
@tvbeek@phpc.social avatar

@ericmann swordfish is currently not so reachable.

Thanks for your post, they are interesting to read.

Sjors1985, to random
@Sjors1985@phpc.social avatar

I made my first contribution today for the PHP-community. And I have to admit; it feels good to do something in return for packages, we are using on a daily base.

tvbeek,
@tvbeek@phpc.social avatar

@Sjors1985 I'm proud on this new step that you made👍

tvbeek, to random
@tvbeek@phpc.social avatar

@grmpyprogrammer I tried to send you an email on chartjes@grumpy-learing.com but got an Unrouteable address error. I suspect that you like to know that it doesn't work.

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

tvbeek,
@tvbeek@phpc.social avatar

@rolfdenhartog if I'm correctly there is a rule to transform the facades to DI. That can help you. (I found facades a bad part of the framework)
And maybe Laravel shift can help you.
Good luck upgrade!

3f, to php German
@3f@chaos.social avatar

Is there a way to "update composer" during a test run using cli in the testbench composer.json?

tvbeek,
@tvbeek@phpc.social avatar

@3f can you explain your use case? (I'm very interested)

If possible it will be very tricky because you update the code that you are testing and possible the running code.

Skoop, to random
@Skoop@phpc.social avatar

Spent two hours trying to find the cause of a "bug", only to find out the problem is in data we get from an external system

tvbeek,
@tvbeek@phpc.social avatar

@Skoop so the external system is the bug?
Now is the question is: do you need to accept it or deny the result?

nicoespeon, to random
@nicoespeon@toot.legacycode.rocks avatar

I will attend MenderCon 2024—a remote conf for people who deal with legacy codebases

📅 May 16
📍 Remote
🎫 Pay what you want (suggested $5)

There will be open-space sessions: you can bring up a topic you want to discuss

Interested? Join us 😉

Details & registration: https://mendercon.com/

tvbeek,
@tvbeek@phpc.social avatar

@ridingwolf @nicoespeon The schedule page says Eastern Daylight Time that makes it a little difficult in combination with family time while living in Europe.

See: https://www.worldtimebuddy.com/?qm=1&lid=5,12&h=5&date=2024-5-16&sln=10-18&hf=1

tvbeek, to random
@tvbeek@phpc.social avatar

@phpc and team thanks for running phpc.social, it is a nice place to interact with other people!

tvbeek, to random
@tvbeek@phpc.social avatar

@jrf_nl thank you for your Gitting things done talk during . I know from the method that it was good and 2 of my colleagues went and have learned a lot. They say that it was one of the best talk of the day. 👍

tvbeek, to random
@tvbeek@phpc.social avatar

@jrf_nl Thank you for all the open source work you do! It's admirable how much open source work you do!

tvbeek, to random
@tvbeek@phpc.social avatar

@dseguy thank you for presenting Those changed behaviors in PHP 8.0+ on the meetup in Eindhoven! It gave some nice insights.

tvbeek, to delhi
@tvbeek@phpc.social avatar

On 10 October we have in about Google's Zanzibar.
And this time we have an additional prize to raffle, a free ticket for !

Read more about the meetup and RSVP on: https://www.meetup.com/php-laravel-eindhoven/events/295506377/

tvbeek, to delhi
@tvbeek@phpc.social avatar

On may 14 we have a new in , We have @timobakx to speak about testing API endpoints using and Possibly a must-attend event if you develop APIs... ;)

For more information and RSVP: https://www.meetup.com/php-laravel-eindhoven/events/300028573/

tvbeek, to php
@tvbeek@phpc.social avatar

I created version 1.6.0 for Laravel GitHash!

This adds support for .

And this release also contains some internal cleanup:

  • It switched to for codestyle checks.
  • Added Vale for checking the text in the documentation.

The goal for this package is to give a simplified way to get the git hash from your code. This hash can be showed in the admin interface, added to your logs, and used for everything you can imaging.

See: https://gitlab.com/tjvb/laravel-githash

tvbeek, to random Dutch
@tvbeek@phpc.social avatar

He is alive!

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