@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.

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.

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.

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

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 doesn't using Laminas/Mezzio stil means it isn't agnostic?

tvbeek,
@tvbeek@phpc.social avatar

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

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 👍

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

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?

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!

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.

tvbeek, to delhi
@tvbeek@phpc.social avatar

On may 14 we have a new #meetup in #Eindhoven , We have @timobakx to speak about testing API endpoints using #Behat and #Gherkin 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!

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👍

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 how do you start/install any other composer project without PHP?

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.

tvbeek,
@tvbeek@phpc.social avatar

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

heiglandreas, to random
@heiglandreas@phpc.social avatar

When you receive an email from a company that contains a non-clickable link to download your invoice (instead of just attaching it to the email).

And the link is all CAPS...

And the underlying JS application doesn't work in Firefox...

Digitalization in Germany is using a computer for a shitty process 🤷

tvbeek,
@tvbeek@phpc.social avatar

@heiglandreas You should think that it means that you have a big market with opportunities to improve.

But maybe I'm to optimistic 🤔

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

InternetWidow and mini-me made me Black Forest cup cakes for my birthday

Inside view of the cupcake with black cherry filling

tvbeek,
@tvbeek@phpc.social avatar

@grmpyprogrammer happy birthday and enjoy the cupcakes!

tvbeek, to random
@tvbeek@phpc.social avatar

@lornajane Thanks for mentioning in one (or more) of your presentations!

I did start with adding it to my projects and already found some text that I could improve.

tvbeek, to random
@tvbeek@phpc.social avatar

Laravel Mail Catchall now also support .

This release also contains some internal clean-up:

The clean-up is a progress to give my different personal projects a more consistent configuration and improvement in quality.
And the additional bonus is that it lowers my maintenance cost.

See for more information: https://gitlab.com/tjvb/laravel-mail-catchall

tvbeek, to php
@tvbeek@phpc.social avatar

In the week after the Laravel 11 release I released a new version for webhooks receiver for Laravel and GitLab Models for Laravel.

Both releases did only add the support for this packages.

https://gitlab.com/tjvb/gitlab-webhooks-receiver-for-laravel

https://gitlab.com/tjvb/gitlab-models-for-laravel

jaapio, to opensource Dutch
@jaapio@phpc.social avatar

Years ago I started planning my work to ensure I spent some time on it every week. By that time Tuesday evening was the most suitable evening. And I still do this every week. Yes, sometimes I skip a week, but it helps to plan things you like. Who is with me?

tvbeek,
@tvbeek@phpc.social avatar

@jaapio That is a good way of working 👍

I realized that I started to plan it more consistent and I'm now roughly on Friday mornings every other week. But before your toot I didn't define it before, so thanks for that.

jrf_nl, to Evernote
@jrf_nl@phpc.social avatar

Hivemind: i need your help!

What are people using nowadays as an alternative to (on Windows) ?

Preferably an alternative in which I can import existing notes.

tvbeek,
@tvbeek@phpc.social avatar

@jrf_nl this helps a lot, thanks!

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