Streamline Symfony error tracking with GlitchTip
https://ngandu.hashnode.dev/streamline-symfony-error-tracking-with-glitchtip
https://redd.it/1j2zqit
@r_php
https://ngandu.hashnode.dev/streamline-symfony-error-tracking-with-glitchtip
https://redd.it/1j2zqit
@r_php
Pros and Cons by using spatie-translatable ?
Hi guys, would you use spatie-translatable for a multilanguage website (around 5-6 langs) or go with only DB schema? Are there any pros and cons using spatie??
Thanks
https://redd.it/1j3613p
@r_php
Hi guys, would you use spatie-translatable for a multilanguage website (around 5-6 langs) or go with only DB schema? Are there any pros and cons using spatie??
Thanks
https://redd.it/1j3613p
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Does Laravel Cloud support Non-Laravel codebases or Docker?
The noscript is my question. We are currently in planning phase and I plan to tell the stakeholders that we want to use Laravel Cloud as hosting solution so they create accounts for me and my dev. team.
But because of our design preference, we will use Laravel specifically for API and backend tasks...
We will have 3 frontend applications with their own separate code bases... So I wonder if Laravel Cloud only allows you to host Laravel apps or can we also use it to host Svelte and React codebases that doesn't have PHP code at all?
I wonder if we can also use Docker images on Laravel Cloud as well.
https://redd.it/1j36bd7
@r_php
The noscript is my question. We are currently in planning phase and I plan to tell the stakeholders that we want to use Laravel Cloud as hosting solution so they create accounts for me and my dev. team.
But because of our design preference, we will use Laravel specifically for API and backend tasks...
We will have 3 frontend applications with their own separate code bases... So I wonder if Laravel Cloud only allows you to host Laravel apps or can we also use it to host Svelte and React codebases that doesn't have PHP code at all?
I wonder if we can also use Docker images on Laravel Cloud as well.
https://redd.it/1j36bd7
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyLive Paris 2025 : API Platform sans Doctrine
https://symfony.com/blog/symfonylive-paris-2025-api-platform-sans-doctrine?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j389pj
@r_php
https://symfony.com/blog/symfonylive-paris-2025-api-platform-sans-doctrine?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j389pj
@r_php
Symfony
SymfonyLive Paris 2025 : API Platform sans Doctrine (Symfony Blog)
Optimize your APIs with API Platform! Learn with Jérôme Tamarelle how to query different databases, fine-tune performance, and even build APIs without Doctrine
Alpine & Livewire Tooling
There are tools like PHPStan (for PHP) and ESLint (for Vue / React), which can identify problems ahead of time.
When it comes to Alpine/Livewire, what tools do you guys use for error detection / static analysis? Does anything like this exist yet?
https://redd.it/1j3aa8n
@r_php
There are tools like PHPStan (for PHP) and ESLint (for Vue / React), which can identify problems ahead of time.
When it comes to Alpine/Livewire, what tools do you guys use for error detection / static analysis? Does anything like this exist yet?
https://redd.it/1j3aa8n
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
HTMP: A Smarter, Faster Future for PHP Development
PHP has been the backbone of web development for decades, yet many templating engines and frameworks introduce unnecessary complexity, security risks, or performance bottlenecks. Enter HTMP (Hyper Text Markup PHP)—a next-generation PHP framework and templating engine designed to be lightweight, AI-powered, and optimized for speed, security, and scalability.
Unlike Blade, Twig, or Smarty, HTMP offers:
Optimized Execution – Eliminates redundant code for better performance.
AI Integration – Native AI hooks enable predictive content and automation.
Enterprise Security – Built-in XSS, CSRF, and SQL injection protection.
Seamless WordPress Support – Works out of the box with WordPress for high-performance themes and plugins.
Example of its intuitive syntax:
HTMP’s AI-driven automation could change how developers handle dynamic content, SEO, and user experiences without relying on external noscripts. It is designed to scale from small applications to enterprise-level platforms.
Would you use something like this? How do you see AI fitting into the future of PHP frameworks?
Github Repo: https://github.com/aedin-insight/htmp
https://redd.it/1j3a7a7
@r_php
PHP has been the backbone of web development for decades, yet many templating engines and frameworks introduce unnecessary complexity, security risks, or performance bottlenecks. Enter HTMP (Hyper Text Markup PHP)—a next-generation PHP framework and templating engine designed to be lightweight, AI-powered, and optimized for speed, security, and scalability.
Unlike Blade, Twig, or Smarty, HTMP offers:
Optimized Execution – Eliminates redundant code for better performance.
AI Integration – Native AI hooks enable predictive content and automation.
Enterprise Security – Built-in XSS, CSRF, and SQL injection protection.
Seamless WordPress Support – Works out of the box with WordPress for high-performance themes and plugins.
Example of its intuitive syntax:
<htmp-template name="user-profile">
<htmp-if condition="user.isLoggedIn">
<htmp-text>Welcome, {user.name}!</htmp-text>
<htmp-button action="logout">Log Out</htmp-button>
</htmp-if>
<htmp-else>
<htmp-button action="login">Log In</htmp-button>
</htmp-else>
</htmp-template>
HTMP’s AI-driven automation could change how developers handle dynamic content, SEO, and user experiences without relying on external noscripts. It is designed to scale from small applications to enterprise-level platforms.
Would you use something like this? How do you see AI fitting into the future of PHP frameworks?
Github Repo: https://github.com/aedin-insight/htmp
https://redd.it/1j3a7a7
@r_php
GitHub
GitHub - aedin-insight/htmp
Contribute to aedin-insight/htmp development by creating an account on GitHub.
Do you use templating engine ?
If you use which one you prefer ? Twig ? Blade or something else ?
Im not using any templating engine,
I wanna do the old ways but idk if its good way.
https://redd.it/1j3btm2
@r_php
If you use which one you prefer ? Twig ? Blade or something else ?
Im not using any templating engine,
I wanna do the old ways but idk if its good way.
https://redd.it/1j3btm2
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
⚡️ Laravel Vue Starter Kit - Deep Dive!
https://youtu.be/phaBzRIioAw?feature=shared
https://redd.it/1j3c41r
@r_php
https://youtu.be/phaBzRIioAw?feature=shared
https://redd.it/1j3c41r
@r_php
YouTube
⚡️ Laravel Vue Starter Kit - Deep Dive
Dive into Laravel's new Vue Starter Kit!
Comment and share your thoughts!
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
01:47 Installation
03:50 First Look
05:39 Code Structure
07:32 Customizations
11:50 More Features…
Comment and share your thoughts!
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
01:47 Installation
03:50 First Look
05:39 Code Structure
07:32 Customizations
11:50 More Features…
Making API with PHP, feels easy.
I worked with node js, django to make APIs.
But im learning to make apis with php.
Feels really great and easier than node js or django rest framework.
Question - Do you make APIs with some framework or library which i dont know of or use php.
https://redd.it/1j3dzn0
@r_php
I worked with node js, django to make APIs.
But im learning to make apis with php.
Feels really great and easier than node js or django rest framework.
Question - Do you make APIs with some framework or library which i dont know of or use php.
https://redd.it/1j3dzn0
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Custom PHPStan Rules to Improve Every Symfony project
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3e6tn
@r_php
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3e6tn
@r_php
Tomasvotruba
Custom PHPStan Rules to Improve Every Symfony project
Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects.
But…
But…
Custom PHPStan Rules to Improve Every Symfony project
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3j6uc
@r_php
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3j6uc
@r_php
Tomasvotruba
Custom PHPStan Rules to Improve Every Symfony project
Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects.
But…
But…
🚀 Onym – A Simple & Flexible Filename Generator for Laravel
Hey r/laravel! 👋
I was developing another package and needed a consistent way to generate filenames across my project. Of course, Laravel has great helpers like
So, I wrote a class to handle it—and then thought, why not package it up for everyone? That’s how Onym was born! 🎉
# 🔥 What Onym Does
✅ Centralized File Naming – Manage all filename generation in one place.
✅ Multiple Strategies – Generate filenames using
✅ Customizable & Human-Readable – Control filename formats with timestamps, UUIDs, and slugs.
✅ Seamless Laravel Integration – Works natively with Laravel’s filesystem and config system.
✅ Collision-Free & Predictable – Ensures structured, unique filenames every time.
✅ Lightweight & Extensible – Simple API, no unnecessary dependencies, and easy to expand.
use Blaspsoft\Onym\Facades\Onym;
// Random Strategy
Onym::make(strategy: 'random', options:
'length' => 8,
'prefix' => 'temp_',
'suffix' => '_draft'
);
// Result: "tempa1b2c3d4draft.txt"
// You can call the strategy methods directly, default options for each strategy can be set in the onym config file or you can override the defaults
Onym::random() // will use defaults
Onym::random(extension: 'pdf', options:
'length' => 24
) // will override the default length option
# 📖 Learn More & Contribute
Take a look at the repo and full docs!
GitHub: https://github.com/Blaspsoft/onym
Would love to get your feedback, feature requests, and contributions! 🙌 Let me know if you have any use cases or improvements in mind. 🚀🔥
https://redd.it/1j3mefl
@r_php
Hey r/laravel! 👋
I was developing another package and needed a consistent way to generate filenames across my project. Of course, Laravel has great helpers like
Str::random(), Str::uuid(), etc., but I wanted a centralized place to manage file naming logic across my app.So, I wrote a class to handle it—and then thought, why not package it up for everyone? That’s how Onym was born! 🎉
# 🔥 What Onym Does
✅ Centralized File Naming – Manage all filename generation in one place.
✅ Multiple Strategies – Generate filenames using
random, uuid, timestamp, date, slug, hash, and numbered. ✅ Customizable & Human-Readable – Control filename formats with timestamps, UUIDs, and slugs.
✅ Seamless Laravel Integration – Works natively with Laravel’s filesystem and config system.
✅ Collision-Free & Predictable – Ensures structured, unique filenames every time.
✅ Lightweight & Extensible – Simple API, no unnecessary dependencies, and easy to expand.
use Blaspsoft\Onym\Facades\Onym;
// Random Strategy
Onym::make(strategy: 'random', options:
'length' => 8,
'prefix' => 'temp_',
'suffix' => '_draft'
);
// Result: "tempa1b2c3d4draft.txt"
// You can call the strategy methods directly, default options for each strategy can be set in the onym config file or you can override the defaults
Onym::random() // will use defaults
Onym::random(extension: 'pdf', options:
'length' => 24
) // will override the default length option
# 📖 Learn More & Contribute
Take a look at the repo and full docs!
GitHub: https://github.com/Blaspsoft/onym
Would love to get your feedback, feature requests, and contributions! 🙌 Let me know if you have any use cases or improvements in mind. 🚀🔥
https://redd.it/1j3mefl
@r_php
GitHub
GitHub - Blaspsoft/onym at madewithlaravel.com
📂 🎨 A flexible Laravel package for generating structured, unique, and customizable filenames using various strategies. - GitHub - Blaspsoft/onym at madewithlaravel.com
Symfony UX map with leaflet doesnt load on chrome and edge but works fine in firefox
Not sure what s the problem….i dont see any error in symfony profiler. It s simply showing empty box.
I use webpack encore instead of asset mapper. I also install bootstrap and use its css and js.
Dont think there is problem with controller code.
Is there problem with bootstrap?
https://redd.it/1j3uq1c
@r_php
Not sure what s the problem….i dont see any error in symfony profiler. It s simply showing empty box.
I use webpack encore instead of asset mapper. I also install bootstrap and use its css and js.
Dont think there is problem with controller code.
Is there problem with bootstrap?
https://redd.it/1j3uq1c
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
In-depth guide on documenting API requests with Scramble
https://laravel-news.com/in-depth-guide-on-documenting-api-requests-with-scramble
https://redd.it/1j3x98r
@r_php
https://laravel-news.com/in-depth-guide-on-documenting-api-requests-with-scramble
https://redd.it/1j3x98r
@r_php
Laravel News
In-depth guide on documenting API requests with Scramble - Laravel News
When documenting the endpoints of your API, you can mentally split the task into documenting the request part (authentication, request body, request parameters) and documenting the response part. In this guide, we'll do a deep dive into request documentation.
SymfonyLive Berlin 2025: CI in PHP Projects: Automate Everything with Your Personal Army of Robots
https://symfony.com/blog/symfonylive-berlin-2025-ci-in-php-projects-automate-everything-with-your-personal-army-of-robots?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j3yx8m
@r_php
https://symfony.com/blog/symfonylive-berlin-2025-ci-in-php-projects-automate-everything-with-your-personal-army-of-robots?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j3yx8m
@r_php
Symfony
SymfonyLive Berlin 2025: CI in PHP Projects: Automate Everything with Your Personal Army of Robots (Symfony Blog)
Supercharge your PHP workflow with CI! Learn with Alexander M. Turek to automate testing, validation, and deployments using GitHub Actions & GitLab CI/CD—because robots never sleep!
PHP Map 3.12 - Arrays and collections made easy!
The 3.12 version of the PHP package for working with arrays and collections easily includes many improvements:
- Added strCompare() and deprecates compare()
- Allow key/path as argument for countBy() and groupBy()
- Allow values, closures and exceptions as default values for find(), findKey(), firstKey() and lastKey()
- first(), firstKey(), last() and lastKey() doesn't affect the internal array pointer any more
- Allow closure as parameter for unique() and duplicate()
- Fixed avg(), min(), max() and sum() when using closures
- Fixed keys when using col(), map(), rekey(), unique()
- Performance optimizations
Have a look at the complete documentation at https://php-map.org.
# Why PHP Map?
Instead of:
Just write:
There are several implementations of collections available in PHP but the PHP Map package is feature-rich, dependency free and loved by most developers according to GitHub.
Feel free to like, comment or give a star :-)
https://php-map.org
https://redd.it/1j40dmg
@r_php
The 3.12 version of the PHP package for working with arrays and collections easily includes many improvements:
- Added strCompare() and deprecates compare()
- Allow key/path as argument for countBy() and groupBy()
- Allow values, closures and exceptions as default values for find(), findKey(), firstKey() and lastKey()
- first(), firstKey(), last() and lastKey() doesn't affect the internal array pointer any more
- Allow closure as parameter for unique() and duplicate()
- Fixed avg(), min(), max() and sum() when using closures
- Fixed keys when using col(), map(), rekey(), unique()
- Performance optimizations
Have a look at the complete documentation at https://php-map.org.
# Why PHP Map?
Instead of:
$list = [['id' => 'one', 'value' => 'v1']];
$list[] = ['id' => 'two', 'value' => 'v2']
unset( $list[0] );
$list = array_filter( $list );
sort( $list );
$pairs = array_column( $list, 'value', 'id' );
$value = reset( $pairs ) ?: null;
Just write:
$value = map( [['id' => 'one', 'value' => 'v1']] )
->push( ['id' => 'two', 'value' => 'v2'] )
->remove( 0 )
->filter()
->sort()
->col( 'value', 'id' )
->first();
There are several implementations of collections available in PHP but the PHP Map package is feature-rich, dependency free and loved by most developers according to GitHub.
Feel free to like, comment or give a star :-)
https://php-map.org
https://redd.it/1j40dmg
@r_php
php-map.org
PHP Collections with PHP Map
PHP collection library for easy and elegant handling of PHP arrays as array-like collections
🚀 I Doxswap – A Laravel Package Supporting 80 Document Conversions!
Hey everyone! 👋
I’m excited to introduce Doxswap, a Laravel package that makes document conversion seamless! 🚀
Doxswap supports 80 different document conversions, allowing you to easily transform files between formats such as:
✅ DOCX → PDF
✅ XLSX → CSV
✅ PPTX → PDF
✅ SVG → PNG
✅ TXT → DOCX
✅ And many more!
This package uses LibreOffice to perform high-quality document conversions directly within Laravel.
# ✨ Features
✅ Supports 80 different document conversions
✅ Works with Laravel Storage Drivers
✅ Converts Word, Excel, PowerPoint, Images, and more!
✅ Handles cleanup after conversion
✅ Compatible with Laravel 9, 10, 11, 12
✅ Simple and Easy to Use API
Doxswap usage
# 💡 Why I Built This
I needed a self-hosted, open-source solution for document conversion in Laravel, but most existing options were paid (I've spent thousands), outdated, or lacked flexibility. So I built Doxswap to solve this problem! 💪
I’d love your feedback, feature requests, and contributions! If you find it useful, please star ⭐ the repo and let me know what you think! 🚀
Doxswap is currently in pre-release, you can take a look at the package and documentation here 🔗 https://github.com/Blaspsoft/doxswap
https://redd.it/1j473di
@r_php
Hey everyone! 👋
I’m excited to introduce Doxswap, a Laravel package that makes document conversion seamless! 🚀
Doxswap supports 80 different document conversions, allowing you to easily transform files between formats such as:
✅ DOCX → PDF
✅ XLSX → CSV
✅ PPTX → PDF
✅ SVG → PNG
✅ TXT → DOCX
✅ And many more!
This package uses LibreOffice to perform high-quality document conversions directly within Laravel.
# ✨ Features
✅ Supports 80 different document conversions
✅ Works with Laravel Storage Drivers
✅ Converts Word, Excel, PowerPoint, Images, and more!
✅ Handles cleanup after conversion
✅ Compatible with Laravel 9, 10, 11, 12
✅ Simple and Easy to Use API
Doxswap usage
# 💡 Why I Built This
I needed a self-hosted, open-source solution for document conversion in Laravel, but most existing options were paid (I've spent thousands), outdated, or lacked flexibility. So I built Doxswap to solve this problem! 💪
I’d love your feedback, feature requests, and contributions! If you find it useful, please star ⭐ the repo and let me know what you think! 🚀
Doxswap is currently in pre-release, you can take a look at the package and documentation here 🔗 https://github.com/Blaspsoft/doxswap
https://redd.it/1j473di
@r_php
Issue 52 of A Day With Laravel : Design Patterns, Livewire 3.6, Laravel Vue Starter Kit, Eloquentize and OWASP Laravel Cheat Sheets are discussed
https://preview.redd.it/3be4c0ovfwme1.jpg?width=1280&format=pjpg&auto=webp&s=85afd9a7657cff44bb72a7992dfb50f385f924c4
Hello Laravel friends 👋
Today in "**A Day With Laravel**", I present the following topics :
* 15 Laravel Design Patterns for Peak Performance, Scalability & Efficiency
* What's new in Livewire 3.6
* A deep dive presentation of Laravel Vue Starter Kit *by Christoph Rumpel*
* A solution to manage multiple Laravel applications : Eloquentize
* A topic about security with a Cheat Sheet about Laravel's Security *by OWASP*
I really hope this free content brings value to you.
Let me know in comment what do you think about it.
See you on the next issue.
[https://go.itanea.fr/adwl52](https://go.itanea.fr/adwl52)
https://redd.it/1j47f1f
@r_php
https://preview.redd.it/3be4c0ovfwme1.jpg?width=1280&format=pjpg&auto=webp&s=85afd9a7657cff44bb72a7992dfb50f385f924c4
Hello Laravel friends 👋
Today in "**A Day With Laravel**", I present the following topics :
* 15 Laravel Design Patterns for Peak Performance, Scalability & Efficiency
* What's new in Livewire 3.6
* A deep dive presentation of Laravel Vue Starter Kit *by Christoph Rumpel*
* A solution to manage multiple Laravel applications : Eloquentize
* A topic about security with a Cheat Sheet about Laravel's Security *by OWASP*
I really hope this free content brings value to you.
Let me know in comment what do you think about it.
See you on the next issue.
[https://go.itanea.fr/adwl52](https://go.itanea.fr/adwl52)
https://redd.it/1j47f1f
@r_php
Anonymous functions.
Trying to understand if I need to use anonymous functions. The following code seems to be about the same.
https://redd.it/1j4ac5p
@r_php
Trying to understand if I need to use anonymous functions. The following code seems to be about the same.
<?php$greet = function($name) {echo $name;};$greet('World');echo"<br>";//==============================================function showname($name2){echo $name2;}showname("Texas");?>https://redd.it/1j4ac5p
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
PSA: Laracon US CFP still open!
Hey y'all this year [Laracon US takes](https://laracon.us/) place July 29-30 in Denver, CO. Our [CFP form is still open](https://frequent-pick-a8d.notion.site/1843f372b480802c9cf8ffb63a2c51f5?pvs=105) and we'd love to have submissions from the community. All you need to apply is your name, email, brief denoscription, and 1-2 minute recording of you speaking. A good proposal generally has the following attributes:
* Clearly frames the problem you're trying to solve
* Explains the technology you're using
* Has examples, code samples, or a demo to show
Lmk if you have any questions, hope to see you there!
https://redd.it/1j4cg4c
@r_php
Hey y'all this year [Laracon US takes](https://laracon.us/) place July 29-30 in Denver, CO. Our [CFP form is still open](https://frequent-pick-a8d.notion.site/1843f372b480802c9cf8ffb63a2c51f5?pvs=105) and we'd love to have submissions from the community. All you need to apply is your name, email, brief denoscription, and 1-2 minute recording of you speaking. A good proposal generally has the following attributes:
* Clearly frames the problem you're trying to solve
* Explains the technology you're using
* Has examples, code samples, or a demo to show
Lmk if you have any questions, hope to see you there!
https://redd.it/1j4cg4c
@r_php
laracon.us
Laracon 2026
The flagship Laravel conference.
Laravel AI Agent Development Made Easy
https://towardsdev.com/laravel-ai-agent-development-made-easy-ac7ddd17a7d0
https://redd.it/1j4cu3b
@r_php
https://towardsdev.com/laravel-ai-agent-development-made-easy-ac7ddd17a7d0
https://redd.it/1j4cu3b
@r_php
Medium
Laravel AI Agent Development Made Easy
Dive into AI agent development within your Laravel applications with LarAgent, a new open-source package simplifying AI integration and…