Case study: Modernizing Audi France’s Digital Ecosystem with Symfony 6
https://symfony.com/blog/case-study-modernizing-audi-france-s-digital-ecosystem-with-symfony-6?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lrd6d6
@r_php
https://symfony.com/blog/case-study-modernizing-audi-france-s-digital-ecosystem-with-symfony-6?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lrd6d6
@r_php
Symfony
Case study: Modernizing Audi France’s Digital Ecosystem with Symfony 6 (Symfony Blog)
🚗 In the fast-paced automotive industry, performance and reliability are key! Audi teamed up with Wide Agency to modernize its lead management system with Symfony 6 — unlocking agility, security…
New in PHP 8.5: Marking Return Values as Important
https://chrastecky.dev/programming/new-in-php-8-5-marking-return-values-as-important
https://redd.it/1lrdkal
@r_php
https://chrastecky.dev/programming/new-in-php-8-5-marking-return-values-as-important
https://redd.it/1lrdkal
@r_php
Reddit
From the PHP community on Reddit: New in PHP 8.5: Marking Return Values as Important
Explore this post and more from the PHP community
Packagist.org shutdown of Composer 1.x support postponed to September 1st, 2025
https://blog.packagist.com/packagist-org-shutdown-of-composer-1-x-support-postponed-to-september-1st-2025/
https://redd.it/1lrdcye
@r_php
https://blog.packagist.com/packagist-org-shutdown-of-composer-1-x-support-postponed-to-september-1st-2025/
https://redd.it/1lrdcye
@r_php
Private Packagist
Packagist.org shutdown of Composer 1.x support postponed to September 1st, 2025
With the deadline drawing near, we’d like to remind you that we are discontinuing Composer 1.x support on Packagist.org soon. We're extending our original timeline by one month to give teams additional preparation time to migrate. Composer 1.x metadata access…
Introducing Laritor — performance monitoring and observability tool for Laravel apps
https://youtu.be/q6HmIJ25gT0?si=sLBJN6KFXU9wDOVb
https://redd.it/1lrf0v0
@r_php
https://youtu.be/q6HmIJ25gT0?si=sLBJN6KFXU9wDOVb
https://redd.it/1lrf0v0
@r_php
YouTube
Laritor All Features Demo
Demo video of laritor. Laritor is an application performance monitoring and observability tool for laravel apps.
FrankenPHP on Laradock - Sharing Production Configuration
Doing a quick project, so need to know if we you have any recommendations on what I can improve to configure FrankenPHP to work with Laradock.
I created a derived project from Laradock.
I cannot create the Caddyfile that works with all static content and LetsEncrypt Certificate. Any help will be appreciated. Here is the project repo: Project Repo - Laradock + FrankenPHP + Caddy
https://redd.it/1ls4jci
@r_php
Doing a quick project, so need to know if we you have any recommendations on what I can improve to configure FrankenPHP to work with Laradock.
I created a derived project from Laradock.
I cannot create the Caddyfile that works with all static content and LetsEncrypt Certificate. Any help will be appreciated. Here is the project repo: Project Repo - Laradock + FrankenPHP + Caddy
https://redd.it/1ls4jci
@r_php
GitHub
GitHub - AncapIT/laravel-production-frankenphp
Contribute to AncapIT/laravel-production-frankenphp development by creating an account on GitHub.
Stop Ignoring Important Returns with PHP 8.5’s #[\NoDiscard] Attribute
https://amitmerchant.com/the-nodiscard-attribute-in-php-85/
https://redd.it/1ls69pf
@r_php
https://amitmerchant.com/the-nodiscard-attribute-in-php-85/
https://redd.it/1ls69pf
@r_php
Amit Merchant
Stop Ignoring Important Returns with PHP 8.5’s `#[\NoDiscard]` Attribute
When writing functions or methods in PHP, we often return values that are crucial for the caller to handle. Usually, those returned values need to be consumed. Check the following example.
Ai Bundle
A while ago I started creating a Bundle helping me to integrate LLMs into my Symfony applications. Its supports calling the most popular providers like OpenAi, Anthropic, Google, Mistral, DeepSeek, Ollama with a unified interface. It also supports with building prompts, tool calling, returning structured data from the LLM and a basic chat persistence.
Lately I also added tool calling via MCP (stdio and HTTP) and providing MCP tools (via. HTTP).
I know, I’m not the only one with this kinds of bundle, but maybe someone finds it useful:
https://github.com/johannes85/AiBundle
https://redd.it/1ls7qn7
@r_php
A while ago I started creating a Bundle helping me to integrate LLMs into my Symfony applications. Its supports calling the most popular providers like OpenAi, Anthropic, Google, Mistral, DeepSeek, Ollama with a unified interface. It also supports with building prompts, tool calling, returning structured data from the LLM and a basic chat persistence.
Lately I also added tool calling via MCP (stdio and HTTP) and providing MCP tools (via. HTTP).
I know, I’m not the only one with this kinds of bundle, but maybe someone finds it useful:
https://github.com/johannes85/AiBundle
https://redd.it/1ls7qn7
@r_php
GitHub
GitHub - johannes85/AiBundle: Symfony Ai Bundle
Symfony Ai Bundle. Contribute to johannes85/AiBundle development by creating an account on GitHub.
Function for my php chat that seems impossible to find
Guys good evening! I'm having a problem finding a function that helps me save a series of images in an ever-changing folder on my computer created through variables. It seems impossible in Chrome now due to harmful privacy policies. I also tried creating extensions but I just can't. It seems like all my attempts are met with the impossibility of achieving it. Obviously when the site is in localhost I can perfectly transfer the photos wherever I want.. help... thank you very much!!!!
https://redd.it/1lsgt5l
@r_php
Guys good evening! I'm having a problem finding a function that helps me save a series of images in an ever-changing folder on my computer created through variables. It seems impossible in Chrome now due to harmful privacy policies. I also tried creating extensions but I just can't. It seems like all my attempts are met with the impossibility of achieving it. Obviously when the site is in localhost I can perfectly transfer the photos wherever I want.. help... thank you very much!!!!
https://redd.it/1lsgt5l
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
A Week of Symfony #966 (June 30 – July 6, 2025)
https://symfony.com/blog/a-week-of-symfony-966-june-30-july-6-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lsvvnp
@r_php
https://symfony.com/blog/a-week-of-symfony-966-june-30-july-6-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lsvvnp
@r_php
Symfony
A Week of Symfony #966 (June 30 – July 6, 2025) (Symfony Blog)
This week, development on the upcoming Symfony 8.0 version continued with the removal of deprecated features and the marking of several classes as final. In addition, we published two new case studies…
Doctrine ORM 3.4.0 released with Native Lazy Objects and Property hooks support
https://www.doctrine-project.org/2025/06/28/orm-3.4.0-released.html
https://redd.it/1lsxav4
@r_php
https://www.doctrine-project.org/2025/06/28/orm-3.4.0-released.html
https://redd.it/1lsxav4
@r_php
www.doctrine-project.org
ORM 3.4.0 released with Native Lazy Objects and Property hooks support - Doctrine: PHP Open Source Project
The Doctrine Project is an open-source PHP project that is home to home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it…
Weekly /r/Laravel Help Thread
Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:
What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.
For more immediate support, you can ask in the official Laravel Discord.
Thanks and welcome to the r/Laravel community!
https://redd.it/1lt66go
@r_php
Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:
What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.
For more immediate support, you can ask in the official Laravel Discord.
Thanks and welcome to the r/Laravel community!
https://redd.it/1lt66go
@r_php
Laravel
Installation - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1ltjpdo
@r_php
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1ltjpdo
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Weekly help thread
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1ltmkiz
@r_php
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1ltmkiz
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
PHP CS Fixer now has PHP 8.4 support
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.80.0
https://redd.it/1ltnxb0
@r_php
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.80.0
https://redd.it/1ltnxb0
@r_php
GitHub
Release v3.80.0 Alexander · PHP-CS-Fixer/PHP-CS-Fixer
Long-awaiting official support for PHP 8.4 in PHP-CS-Fixer is finally here 🥳! We know, it's long overdue, but for a reason... Let us explain a bit, for transparency and clean atmosphere around ...
Built a simple noise library in pure PHP - looking for feedback
Hello,
I've created a small library for generating noise in PHP.
The library is based on "PHP-GLFW" and its C++ implementation, but it's written entirely in pure PHP.
Initially, I updated the "https://github.com/A1essandro/perlin-noise-generator" library, which seems abandoned.
I later decided to build my own version to avoid relying on "PHP-GLFW", since it requires installation just to access a few functions.
The library: https://github.com/Cryde/noise-functions
It's still a work in progress - feel free to share your feedback or suggestions!
https://redd.it/1ltnz75
@r_php
Hello,
I've created a small library for generating noise in PHP.
The library is based on "PHP-GLFW" and its C++ implementation, but it's written entirely in pure PHP.
Initially, I updated the "https://github.com/A1essandro/perlin-noise-generator" library, which seems abandoned.
I later decided to build my own version to avoid relying on "PHP-GLFW", since it requires installation just to access a few functions.
The library: https://github.com/Cryde/noise-functions
It's still a work in progress - feel free to share your feedback or suggestions!
https://redd.it/1ltnz75
@r_php
phpgl.net
Noise Functions - PHP-GLFW | A fully-featured OpenGL and GLFW extension for PHP
Create Games and Graphics with PHP and OpenGL: PHP-GLFW brings dynamic 2D and 3D application capabilities to PHP. It's cross-platform, fast, and includes a CG Math Library, Model Loading, Texture Loading, Native Buffer Support, and a Vector Graphics Rendering…
How I can check whether a unique index exisrts and avoid recreating it?
In an entity I have:
Then I run
And run upon my db, then once I run again index is re-created:
How I can avoid the re-creation of this index?
https://redd.it/1ltq6ln
@r_php
In an entity I have:
declare(strict_types=1);
namespace App\Entity\Activity;
use App\Domain\Helper\UuidHelper;
use App\Entity\Business;
use App\Entity\BusinessTypes\ActivityOperator;
use App\Entity\Image\ImageEntity;
use App\Entity\Tags\Pivot\ActivityTag;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Gedmo\Translatable\Translatable;
#[ORM\Entity]
#[ORM\Index(name: "external_id_origin_unique", columns: ["external_id", "origin"], options: ["where" => "external_id IS NOT NULL", "unique" => true])]
class ItemFromApi
{
public const ORIGIN_API='api';
public const ORIGIN_INTERNAL='internal';
#[ORM\Id]
#[ORM\Column(type: 'integer')]
#[ORM\GeneratedValue(strategy: 'AUTO')]
private int $id;
#[ORM\Column(type: 'string', length: 255)]
private string $noscript;
#[ORM\Column(type: 'integer', nullable: true)]
public ?int $externalId = null;
#[ORM\Column(type: 'string', length: 255)]
public string $origin = self::ORIGIN_INTERNAL;
// Setter and getter are ommited for siplicity
}
Then I run
php bin/console doctrine:schema:update --dump-sql and generates the following sql:CREATE UNIQUE INDEX external_id_origin_unique_itinerary ON item_from_api (external_id, origin);
And run upon my db, then once I run again index is re-created:
CREATE UNIQUE INDEX external_id_origin_unique_itinerary ON item_from_api (external_id, origin);
How I can avoid the re-creation of this index?
https://redd.it/1ltq6ln
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
A Cognitive Code Analysis Tool
Cognitive Code Analysis helps you understand and improve your code by focusing on how developers actually read and process it. Understandability is a huge cost factor because \~80% time is spent on reading and understanding code.
[https://github.com/Phauthentic/cognitive-code-analysis](https://github.com/Phauthentic/cognitive-code-analysis)
Features:
* Scans source code and reports detailed cognitive complexity metrics.
* Churn analysis (requires Git) to highlight risky, frequently changed code.
* Export results as CSV, XML, or HTML.
Unlike traditional metrics like cyclomatic complexity, this tool emphasizes cognitive complexity - how hard your code is to understand. It analyzes line count, argument count, variable usage, property access, and nesting to identify the hardest parts to maintain.
You can adjust the score calculation through configuration by setting weights for each metric, allowing you to tailor the cognitive complexity scoring to your own acceptable thresholds.
I’ve used it myself to spot risky areas early in projects. Measuring cognitive complexity is tough, but there’s academic backing for this approach. Check out this paper if you're curious:
[https://dl.acm.org/doi/10.1145/3382494.3410636](https://dl.acm.org/doi/10.1145/3382494.3410636)
I'd love your constructive feedback - try it out and let me know what you think!
https://redd.it/1ltpv2a
@r_php
Cognitive Code Analysis helps you understand and improve your code by focusing on how developers actually read and process it. Understandability is a huge cost factor because \~80% time is spent on reading and understanding code.
[https://github.com/Phauthentic/cognitive-code-analysis](https://github.com/Phauthentic/cognitive-code-analysis)
Features:
* Scans source code and reports detailed cognitive complexity metrics.
* Churn analysis (requires Git) to highlight risky, frequently changed code.
* Export results as CSV, XML, or HTML.
Unlike traditional metrics like cyclomatic complexity, this tool emphasizes cognitive complexity - how hard your code is to understand. It analyzes line count, argument count, variable usage, property access, and nesting to identify the hardest parts to maintain.
You can adjust the score calculation through configuration by setting weights for each metric, allowing you to tailor the cognitive complexity scoring to your own acceptable thresholds.
I’ve used it myself to spot risky areas early in projects. Measuring cognitive complexity is tough, but there’s academic backing for this approach. Check out this paper if you're curious:
[https://dl.acm.org/doi/10.1145/3382494.3410636](https://dl.acm.org/doi/10.1145/3382494.3410636)
I'd love your constructive feedback - try it out and let me know what you think!
https://redd.it/1ltpv2a
@r_php
GitHub
GitHub - Phauthentic/cognitive-code-analysis: A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard…
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Under...
Any recommendations to learn easyadminbundle?
I need help I have been doing research to learn this bundle but haven’t found anything yet, I am new to symfony.
https://redd.it/1lu4n1i
@r_php
I need help I have been doing research to learn this bundle but haven’t found anything yet, I am new to symfony.
https://redd.it/1lu4n1i
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
AI Assistant for website
I have a website coded in PHP, and I would like to add an assistant that visitors can use to get answers and assistance. For example, to ask questions about how to use our ERP. Instead of searching all of our help files, it would just respond with several answers. Has anyone seen or heard of something like this? Open Source? Thanks.
https://redd.it/1lu5k54
@r_php
I have a website coded in PHP, and I would like to add an assistant that visitors can use to get answers and assistance. For example, to ask questions about how to use our ERP. Instead of searching all of our help files, it would just respond with several answers. Has anyone seen or heard of something like this? Open Source? Thanks.
https://redd.it/1lu5k54
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community