Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


PHP 8.1 was released yesterday and includes many new features and improvements, including Enums, new in initializers, readonly properties, and much more. So, le...
Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. You won't be able to properly...
Hi, I’m Valerio, software engineer, founder & CTO at Inspector. The company is developing the backend API of a fitness App, powered by two autoscaling groups.
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. I did a very quick performanc...
You have possibly seen this error message here: The /var/task/bootstrap/cache directory must be present and writable. There's an easy fix for this. You just hav...
After enabling Content Security Policy headers for a pimcore instance the backend didn't work like it did before anymore. The problem here is that this Content...
Tom Hatzer • January 14, 2021 https://blog.tomhatzer.com/blog/categories/pimcore It's pretty easy to call CLI commands from within your Pimcore controllers. In...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Tom Hatzer • January 15, 2021 https://blog.tomhatzer.com/blog/categories/pimcore https://blog.tomhatzer.com/blog/categories/snippets You can redirect the log ou...
https://blog.tomhatzer.com/blog Tom Hatzer • January 4, 2021 https://blog.tomhatzer.com/blog/categories/pimcore https://blog.tomhatzer.com/blog/categories/compo...
ATTN: I'm writing this as a brain dump so some places may be missing information. If you find a mistake or would love to get more information, please get in tou...
The release of PHP’s latest version https://wiki.php.net/rfc#php_81 is around the corner and there’s never a better time to upgrade your codebase to PHP’s lates...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.

sebastiandedeyne.com

Eloquent findOrFail caveats
I use Model::findOrFail a lot in Laravel. Recently, I realized it’s not always the best option. $title = Post::findOrFail($id)->title; Another benefit...
VS Code is a big goldmine of little configurations which are turned off by default. Some of these configurations, if enabled, can prove to be a life-changer. On...
It's an easy-to-use deployment tool to deploy your Laravel apps containerized with Docker. Start launching your sites in just minutes using our https:/...
While it’s not recommended to allow all of your model’s attributes mass assignable since in that case you need to make sure to hand-craft the arrays passed to E...