cspray, to php
@cspray@phpc.social avatar

This weekend I hope to find some time to write another article on Annotated Container, talking about the new features in 2.2. The highlights include:

  • CLI tool for analyzing your container configuration for potential errors
  • Support for the illuminate/container library
  • Better experience around creating your own custom parameter stores (used to inject non-object or sensitive values)

smitmartijn, to php

As I move more things to #laravel #php, I keep discovering 💎's

Today's discovery is Mailbook, a way to preview email templates in the browser: https://github.com/Xammie/mailbook

harlan, to webdev

Fellow #webdev folks, can I get a hand #LookingForWork? #FediHire #FediHired #GetFediHired

Looking for a front-end web development position. The more focus on accessible, well-formed HTML and CSS, the better.

Part-time or full-time, either works. Part-time must have flexible schedule.

Must be either remote or in the SLC, Utah area.

My background: #HTML, #CSS, #JavaScript, static websites, #jQuery, #Bootstrap, Mustache/Handlebars, and also LAMP stack, #JAMstack, #WordPress, #PHP, and SQL.

mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore today's @symfonystation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://www.symfonystation.com/Symfony-Station-Communique-02-June-2023 🇺🇦

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Explore today's @symfonystation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://www.symfonystation.com/Symfony-Station-Communique-02-June-2023 :symfony: :elephpant_purple: :drupalicon: :fediverse: :php: 🇺🇦

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Symfony Station is your source for Symfony, Drupal, PHP, Cybersecurity, and Fediverse news. https://www.symfonystation.com Contact us to let us know what you want to be covered. And while you are there, please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. Thanks for following us on Mastodon. :symfony: :elephpant_purple: :drupalicon: :mastodon: :fediverse: 🇺🇦

Crell, to php
@Crell@phpc.social avatar

Let's be controversial: In modern , you should never type-hint an array.

https://peakd.com/php/@crell/php-never-type-hint-on-arrays

florimond, to programming

I think I got at the point in my #programming career when I crave for dumb programs.

Happy statements, some code repetition here and there. Few abstractions. No mixins. No metaclasses. Nothing too surprising, really.

For some reason, this happens as I’ve been spending some time away from my main language. #PHP is a somewhat simpler language than #Python anyway, so that may be why.

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Explore the March 17, 2023 @symfonystation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://www.symfonystation.com/Symfony-Station-Communique-17-March-2023 :symfony: :elephpant_purple: :drupalicon: :wordpress: :fediverse: :php: :phpstorm: :phpstan: :apiplatform: 🇺🇦

Crell, to php
@Crell@phpc.social avatar
mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore this week's @SymfonyStation newsletter for the latest Symfony, Drupal, PHP, Cybersecurity, and Fediverse news! If you like what you see please subscribe via the button in the top left corner. And do us a solid by boosting this post. https://mailchi.mp/488073b4d2ad/enjoy-this-weeks-symfony-drupal-php-and-fediverse-news :symfony: drupal: php:

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Explore this week's @symfonystation newsletter for the latest Symfony, Drupal, PHP, Cybersecurity, and Fediverse news! If you like what you see please subscribe via the button in the top left corner. And do us a solid by boosting this post. https://mailchi.mp/488073b4d2ad/enjoy-this-weeks-symfony-drupal-php-and-fediverse-news :symfony: drupal: php:

array, to php
@array@fosstodon.org avatar

As a consequence of using a single monitor setup, I'm generally trying to have my code lines as narrow as possible, so I can avoid as much as I can doing horizontal scrolling. Luckily formatters are pretty OK with having, say, one array item or function parameter per line, the splitting options are very liberal and IMO it keeps being pretty legible. I just hope this is considered "good" (or "acceptable" at least) practice. :D

AstraKernel, to php

🪲 PHP developers and other developers, can you identify what is the issue in this code?

(No comment like "PHP". Save it for some other time 😀. This can happen in any language)

awoodsnet, to php
@awoodsnet@phpc.social avatar

you know what i was just thinking about? programming syntax and international developers. Between PHP and jQuery, how do european and british developers deal with the $ symbol? I imagine the $ is not directly on your region-specific keyboard. Does your IDE map the € or £ to the $ when you code? Do you just use second keyboard with a US layout? You’ve gotta use the $ symbol hundreds of times a day, so it needs to be easy

thgs, to php
@thgs@phpc.social avatar

I wish we had a returnull keyword in #PHP.

og, to php

Going to be learning some

Synchro, to php
@Synchro@phpc.social avatar

Yay! I'm going to be speaking at the international Conference in Munich in October.

dgoosens, to php
@dgoosens@phpc.social avatar

« My mom always said our Legacy Code was like a box of chocolates. You never know what you're gonna get.»
Forrest Gump, 1994

headdesk.... ie facepalm that hurts

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

“Haha lol banks use 60 year old programming languages!”

Yes, young whippersnapper, that’s because they need things to be reliable and not change all the time, the code probably has to run for another 60 years.

“Modern” devs could learn a lot from not trying chase every trendy new framework and every shiny new programming language.

devnull,
@devnull@crag.social avatar

@thomasfuchs @nattiegoogie Sheesh, people love to rag on so much and turn a wilful blind eye towards all the effort put to improve the language.

Wouldn't you agree that ES6 is nothing like the JS of yesteryear, just as 8 is nothing like the php 5.4 shit I had to write when I first entered the industry?

People still love to rag on php though 😺

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Do you own or work for an organization looking for promotion opportunities in the PHP, Drupal, and Symfony communities? If so, please contact us. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony #Drupal #PHP

dgoosens, to php
@dgoosens@phpc.social avatar

#PHP
now we have the ability to properly type properties and with @Crell & @ilutov 's property hooks RFC, that I hope will pass (https://wiki.php.net/rfc/property-hooks),
I wonder if, at some point, it will become possible to declare properties in an interface....
Or am I the only one who thinks that makes sense ?

symfonystation, to Symfony
@symfonystation@phpc.social avatar
dgoosens, to php
@dgoosens@phpc.social avatar


Am I the only one that does not understand this does not at least trigger a warning ?

I mean, I would expect $baz should have been declared nullable (?string) to be correct... Or am I missing something ?

https://onlinephp.io/c/71e55

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