PHP Hot

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?

doefom, (edited )
@doefom@mastodon.social avatar

@rolfdenhartog That's a great solution, thanks! For such cases I usually work with Laravel Herd. However, many times I know my clients work with outlook for example and then I ensure everything looks fine in outlook. But still, your approach in general feels cleaner than adding my code snippet to the service provider.

doefom,
@doefom@mastodon.social avatar

@mmk2410 that's great, thanks! :)

sarah, to php
@sarah@phpc.social avatar

I have a FREE book on object-oriented programming available for you to download and enjoy. It's my way of giving back to the community. Check it out: https://masteringobjectorientedphp.com

chrastecky,
@chrastecky@phpc.social avatar

@sarah Giving back by harvesting personal data, what a great way to do that!

ocramius, to php
@ocramius@mastodon.social avatar

Managed to write down my issue with .phar in

https://github.com/Roave/BackwardCompatibilityCheck/pull/770

I think flake.nix/flake.lock are the future overall, while Dockerfile already is better than .phar in every way.

.phar itself is not really very useful anymore, IMO.

ocramius, to php
@ocramius@mastodon.social avatar

Released: @roave /backward-compatiblity-check 8.8.0

Now comes with enum BC checks, thanks to @bdsl

https://github.com/Roave/BackwardCompatibilityCheck/releases/tag/8.8.0

tomasnorre, to php
@tomasnorre@phpc.social avatar
sarah, to php
@sarah@phpc.social avatar

Do you rehearse your disaster recovery plans?

Have you ever stood up, from scratch, a completely new version of your application in a production-ready state?

If you haven't, you should.

You may never need to fully stand up a complete production instance, but what happens if a part goes down like your database, your webservers, or your jobs? Are you prepared for emergencies?

Practice makes perfect, especially in high-pressure situations. So practice!

michael,
@michael@thms.uk avatar

@sarah I had to do this some time last year. Proud to say: it only took us a few hours, in part because we had copious backups and had trained for this. 👍

mrbase,
@mrbase@phpc.social avatar

@sarah We do that, several times a year, one where we restore crashed servers, one where we restore single installations, one where we restore multiple, one for hot backup, one for cold backups.
Everytime we review the procedures, and fix any changes we encounter.

mobileatom, to php
@mobileatom@flipboard.com avatar
mobileatom, to Symfony
@mobileatom@flipboard.com avatar

SymfonyOnline June 2024: Using container's features to manage complexity.

https://symfony.com/blog/symfonyonline-june-2024-using-container-s-features-to-manage-complexity?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

arturN, to Symfony
@arturN@mastodon.world avatar

The extension for now also works with Joomla 5!
Check it out to publish content directly from your cloud-storage to your website and to receive file uploads of your users in your cloud-storage https://extensions.joomla.org/index.php?option=com_jed&view=extension&layout=default&id=741&Itemid=145

Demo: http://joomla.in-nepal.de/index.php/en/?option=com_dropbox&id=1

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
symfony, to Symfony
@symfony@mastodon.social avatar

🚀 New in Symfony 7.1: POSIX Signals Improvements
➡️ https://symfony.com/blog/new-in-symfony-7-1-posix-signals-improvements

marmelab, to php
@marmelab@mastodon.social avatar

🎉 Exciting news! Marmelab is sponsoring the API Platform Conference 2024, the flagship event dedicated to the API Platform framework!

Join us for 2 days of talks by leading experts in , & .

📅 19 & 20 September
📍 Lille, France

Learn more: https://api-platform.com/fr/con/2024/

@cooptilleuls

ramsey, to php
@ramsey@phpc.social avatar

This is a pretty cool package, if you use with and . https://github.com/ajgarlag/AjglBreakpointTwigExtension

ramsey,
@ramsey@phpc.social avatar

@jaapio I did not know this. How do you set the breakpoints in the templates?

ramsey,
@ramsey@phpc.social avatar

@jaapio Never mind. That post shows how. 🙂

wowa_TYPO3, to php German
@wowa_TYPO3@techhub.social avatar

🔥 Stell dir vor, es ist Montag und du hörst, wie alle vom "Business Roundtable: Digital mit TYPO3" schwärmen, während du außen vor bist. Vermeide dieses Szenario!
Nur noch 2 Tage, um dabei zu sein.
https://wwagner.net/events/business-roundtable-digital-mit-typo3

typo3, to php German
@typo3@typo3.social avatar

coding. powerful. systems. CPS GmbH joins the ! 🧡

With over 20 years of experience and a dedicated team of 25+ developers, they're set to bring a new level of excellence to the .

🌐 https://www.cps-it.de/

image/jpeg
image/jpeg

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