@tobiaskoengeter@sueden.social avatar

tobiaskoengeter

@tobiaskoengeter@sueden.social

Husband and father of three. Owner of WirbelWild; bringing print to the next level with 100% automization and individualization. Christian and newapostolic. Living in Stuttgart, Germany. Loving #design, #typography, #php, #idml, #printcss

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

shochdoerfer, to php German
@shochdoerfer@phpc.social avatar

I am seeking speakers for my @phpugffm & @phpugmrn meetups. We prefer in-person presentations in Frankfurt or the Mannheim area, but remote talks are also an option. If you have anything interesting to share with us, let us know. We'd be more than happy to have you! Thx! #php #phpc #phpugffm #phpugmrn

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@shochdoerfer @phpugffm @phpugmrn how about something like »revolutionizing the printing industry with the power of PHP«?

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@shochdoerfer @phpugmrn I‘m already aware of the dates! 😊 The days are currently really stressfull, so a participation wouldn‘t be possible, but a meeting in october could work.

tobiaskoengeter, to php German
@tobiaskoengeter@sueden.social avatar

We have released a new library: TypoRules for 🎉

It is not actually new, as we have been working with it for years to enable outstanding in our and applications. What is new is that all functionalities are now available in a bundled form and as .

You can find it at https://github.com/BitAndBlack/typorules

The library currently contains 42 rules and 5 rule sets, with more being added all the time.

Give it a try and let us know how you get on with it! 😇

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@ramsey Not yet, no. The library is currently conceived from the perspective of a designer who has to take care of things like dashes and quotation marks. The rules you mentioned might be a little more difficult to implement, as some of them require context. Something like consistently capitalising the name of a month would of course be easy, but putting certain information in a certain order, for example, would be much more difficult. Do you see a need for this?

ramsey, to Symfony
@ramsey@phpc.social avatar

Why does define what appears to be a “real” value for APP_SECRET in the .env file that’s committed to your repository, and then, right above it, there’s a comment that says (in all caps):

“DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.”

Where’s the documentation that explains what APP_SECRET is used for? Why doesn't it put this value in .env.local (ignored by .gitignore)?

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@Crell @ramsey please tell us more about the dumb things.

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@Crell @ramsey I understand your point! I think there are several things mixed up in the .env: on the one hand, it is a kind of template that only describes what should be defined in the environment. The file could therefore also be called .env.boilerplate or .env.example. On the other hand, it also contains real information and is therefore not a template - which actually makes it inconsistent.

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@Crell @ramsey Even though I hate to say it, Laravel's logic is a little better here: during installation, the .env.example is taken as the basis and copied as .env.

heiglandreas, (edited ) to random
@heiglandreas@phpc.social avatar

Digitalisierung bei der Deutschen Bahn....

Ich erhalte per Email eine Zahlungsaufforderung für meine Bahncard, die bisher immer von der Kreditkarte abgebucht wurde. Scheinbar geht das mit dem neuen System nicht mehr. 🤦‍♂️

Gut, Überweise ich das Geld eben.

Jetzt hätte ich gerne eine Rechnung dafür. Sicher. Ich kann im Internet-Portal eine Rechnung anfordern. Die kommt dann... per Post... 🤦‍♂️

Digitalisierung ist eben doch nur den Sch...-Prozess digital abzubilden...

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@heiglandreas interessant! Bei mir war die Rechnung als PDF im Anhang der Mail…

Skoop, to random
@Skoop@phpc.social avatar

TIL there is an #xrdebug project, which has nothing to do with either Extinction Rebellion or with xdebug 😂

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@heiglandreas @derickr @Skoop look at the guy‘s website—he steals a lot of logos and names: https://rodolfoberrios.com/

cedx, to php French

How stupid! PER Coding Style 2.0:

2.4 Indenting
Code MUST use an indent of 4 spaces for each indent level, and MUST NOT use tabs for indenting.

https://www.php-fig.org/per/coding-style/#24-indenting

#PHP #Accessibility

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@Crell @ramsey @cedx I once read a good argument in favour of tabs, shared by Fabien Potencier, but not from him: with tabs you can determine the degree of indentation yourself, similar to line spacing. This option could help people with visual impairments. A really strong argument from my point of view!

selfhtml, to php German
@selfhtml@bildung.social avatar

Welchen PHP-Mailer könnt ihr empfehlen?

Swiftmailer wird ja nicht mehr gepflegt. Wie sind eure Erfahrungen mit dem Symphony Mailer?

Und mit PHPMailer?

Gibt es andere Alternativen?

#php #mail

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@selfhtml der #Symfony Mailer macht einen hervorragenden Job! Er kann eine Menge und lässt sich prima testen. Die Logik, wie E-Mails versendet werden, ist eine andere als die des PHPMailers, den es ja nach wie vor gibt; rein objektorientiert und gut strukturiert, was aus meiner Sicht logischer ist.

freekmurze, to random
@freekmurze@phpc.social avatar

We released a mini package to calculate public holidays in a country.
https://github.com/spatie/holidays

We've made this package for our own nPRss and packaged it, so you don't have to code it up in your project.

Right now Belgium, Netherlands and Hungary are supported, but we welcome PRs to add support for more countries 👍

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@heiglandreas @freekmurze and here‘s our dataset including a REST API: https://www.calidar.io/de-de/land.html 😄

heiglandreas, (edited ) to random
@heiglandreas@phpc.social avatar

An RFC created in 2015 handling names like no one ever read "Falsehoods Programmers believe about Names"...

Declaring a name to consist of

honoricPrefix givenName middleName familyName and honorificSuffix

while constantly citing that "in most Western languages" that is xyz.

And never realizing that that means that in most other languages, countries, areas and cultures that concept doesn't work...

And now we are stuck with that schema 😡

https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/

https://www.w3.org/International/questions/qa-personal-names

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar
davidbisset, to php
@davidbisset@phpc.social avatar

OH: "If you haven't randomly said "Happy #PHP 8.3.0 Day!" today (Nov 23) to non-tech people then you aren't a true #PHP fan."

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@davidbisset I told my children about #PHP 8.3 🙈

ramsey, to php
@ramsey@phpc.social avatar

I spread the gospel of #CaptainHookPHP at #LonghornPHP this weekend. Lots of folks sounded really interested in checking it out after I mentioned it in my “Let’s Build A Composer Package” workshop.

Slides are here: https://speakerdeck.com/ramsey/lets-build-a-composer-package-longhorn-php-2023

If you attended, please leave feedback here: https://joind.in/event/longhorn-php-conference-2023/lets-build-a-composer-package

Thank you to everyone who attended! #PHP

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@ramsey Looks great! I like the logical, object-oriented approach, but can imagine it being difficult to integrate into templating systems. Is there already an integration for Twig, Blade, or simply Phtml somewhere?

syntaxseed, (edited ) to php
@syntaxseed@phpc.social avatar

Where does everyone store the files for enums & value objects?

  • src/
  • controllers/
  • entities/
  • repositories/
  • services/
  • views/

Another 2 sub directories under src/ ?

Some kind of types/ subdir then enums/ and objects/ under that? 🤔

#PHP #programming

tobiaskoengeter,
@tobiaskoengeter@sueden.social avatar

@syntaxseed we always store the Enums under /src/Enums 😊

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