Simple, fully customizable CMS for single-page site
I’m creating a single-page site, and I’m looking for a simple, free and open-source CMS that is fully customizable. Editing the page should be easy and intuitive for a non-technical person (the site owner). It should be based on PHP (no Node.js or database) and be runnable on XAMPP. If possible, I want to use my existing HTML/CSS/JavaScript code (including media queries and the carousel library). Any recommendations?
https://redd.it/1mqe0nr
@r_php
I’m creating a single-page site, and I’m looking for a simple, free and open-source CMS that is fully customizable. Editing the page should be easy and intuitive for a non-technical person (the site owner). It should be based on PHP (no Node.js or database) and be runnable on XAMPP. If possible, I want to use my existing HTML/CSS/JavaScript code (including media queries and the carousel library). Any recommendations?
https://redd.it/1mqe0nr
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
🎉 r/Laravel just hit 100,000 members!
From small snippets to deep architecture discussions, this community has grown into one of the best places to share packages, give feedback, and push Laravel further.
Some stats for the past 12 months:
- 1.3K Posts
- 27.6K Comments
- 7.5m Visits
Thanks to everyone who asks thoughtful questions, shares knowledge, and helps keep things welcoming. Here’s to the next 100k.
https://redd.it/1mqiyjs
@r_php
From small snippets to deep architecture discussions, this community has grown into one of the best places to share packages, give feedback, and push Laravel further.
Some stats for the past 12 months:
- 1.3K Posts
- 27.6K Comments
- 7.5m Visits
Thanks to everyone who asks thoughtful questions, shares knowledge, and helps keep things welcoming. Here’s to the next 100k.
https://redd.it/1mqiyjs
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Laravel Pivot Tables: Do You Add ID and Timestamps? (Poll Result)
https://www.youtube.com/watch?v=aPOmLfzWu-E
https://redd.it/1mqqjvx
@r_php
https://www.youtube.com/watch?v=aPOmLfzWu-E
https://redd.it/1mqqjvx
@r_php
YouTube
Laravel Pivot Tables: Do You Add ID and Timestamps? (Poll Result)
I've asked people on Twitter and LinkedIn whether they put id, created_at and updated_at in their many-to-many pivot tables. Let's review the results.
Official docs: https://laravel.com/docs/12.x/eloquent-relationships#many-to-many
Original poll on Twitter:…
Official docs: https://laravel.com/docs/12.x/eloquent-relationships#many-to-many
Original poll on Twitter:…
I made a 30fps CLI Tetris game in PHP after watching the Tetris movie
So I watched the "Tetris" movie and it was amazing!
I got itchy to build the tetris game in php and see how fast we it can turn out and specially the line clearning and the algos used, how can this be better? I am not a fluent PHP developer I used PHP mainly from high-school and recently been building apps using Laravel for clients (I am a experienced dev though)
LINK: https://gist.github.com/al3rez/e43f4bc86e50a79fca14529d4f2f2b8c
So feel free to roast it.
https://redd.it/1mqrr4z
@r_php
So I watched the "Tetris" movie and it was amazing!
I got itchy to build the tetris game in php and see how fast we it can turn out and specially the line clearning and the algos used, how can this be better? I am not a fluent PHP developer I used PHP mainly from high-school and recently been building apps using Laravel for clients (I am a experienced dev though)
LINK: https://gist.github.com/al3rez/e43f4bc86e50a79fca14529d4f2f2b8c
So feel free to roast it.
https://redd.it/1mqrr4z
@r_php
Gist
I made a 30fps CLI Tetris game in PHP after watching the Tetris movie
I made a 30fps CLI Tetris game in PHP after watching the Tetris movie - tetris.php
A Partial Function Application Library for Pipes
I've been playing with pipes for a bit now, and so I wanted to share a small library that allows you to perform partial function application over arbitrary closures:
// create a partial application compatible closure
$strreplace = p(strreplace(...));
// create a partial application using a bare underscore to annotate missing arguments
$dashreplace = $strreplace('-', , );
// and create another one based on the previous one
$snakecase = p($dashreplace)('', );
echo 'snake-case' |> strtolower(...) |> $snakecase(...);
// output: snakecase
repository: withinboredom/pfa: A partial function application library
The code itself is rather simple and licensed MIT. I'm excited to see variations in the wild and how this will grow until we get real partial applications.
https://redd.it/1mqsy4s
@r_php
I've been playing with pipes for a bit now, and so I wanted to share a small library that allows you to perform partial function application over arbitrary closures:
// create a partial application compatible closure
$strreplace = p(strreplace(...));
// create a partial application using a bare underscore to annotate missing arguments
$dashreplace = $strreplace('-', , );
// and create another one based on the previous one
$snakecase = p($dashreplace)('', );
echo 'snake-case' |> strtolower(...) |> $snakecase(...);
// output: snakecase
repository: withinboredom/pfa: A partial function application library
The code itself is rather simple and licensed MIT. I'm excited to see variations in the wild and how this will grow until we get real partial applications.
https://redd.it/1mqsy4s
@r_php
GitHub
GitHub - withinboredom/pfa: A partial function application library
A partial function application library. Contribute to withinboredom/pfa development by creating an account on GitHub.
REST API with Laravel 12
Hi!
I'm not new to PHP, I've been doing stuff with it on and off since PHP v3, it's not my favorite platform, but I know the rule of using the best(and often the simplest) tool for a specific task/job at hand. I'm not new to Laravel either, having done stuff with it when the scenario called for something like it, or the client demanded the usage of it, which brings me here, by the way.
I'm supposed to develop this REST service for this client who demands the usage of PHP and Laravel. I've used Laravel before, however, with a template engine, rendering pages; Needless to say, I wont be needing this feature here, there will be only REST endpoints and serialized data(as JSON), coming in and out.
Is there a specific set of flags one can pass to composer.phar or whatever that will bring me only what I need and leave out stuff like Blade, while creating an empty new project?
Also, is there somewhere in Laravel where I must/can inform it that this project is only a REST API, in order to it to behave better as such(be JSON-centric in dealing with error messages, validations and so on)?
Thank you so much for your time!
https://redd.it/1mqussm
@r_php
Hi!
I'm not new to PHP, I've been doing stuff with it on and off since PHP v3, it's not my favorite platform, but I know the rule of using the best(and often the simplest) tool for a specific task/job at hand. I'm not new to Laravel either, having done stuff with it when the scenario called for something like it, or the client demanded the usage of it, which brings me here, by the way.
I'm supposed to develop this REST service for this client who demands the usage of PHP and Laravel. I've used Laravel before, however, with a template engine, rendering pages; Needless to say, I wont be needing this feature here, there will be only REST endpoints and serialized data(as JSON), coming in and out.
Is there a specific set of flags one can pass to composer.phar or whatever that will bring me only what I need and leave out stuff like Blade, while creating an empty new project?
Also, is there somewhere in Laravel where I must/can inform it that this project is only a REST API, in order to it to behave better as such(be JSON-centric in dealing with error messages, validations and so on)?
Thank you so much for your time!
https://redd.it/1mqussm
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Any Symfony experts?
Have recently joined a Symfony project that is about 5 years old.
I’m finding it incredibility difficult to trace through the code.
For example we have an Entity that has about 900 lines before the constructor with lots of different attributes.
Most notably API routes being defined here. These entities are being used to handle the entity, validation, permissions and APIs.
There are no controllers in the whole project.
I know Symfony supports all these features, but the project has saw more staff leave than stay. From what I can see the original guys hired who wrote this code at the only ones who have sticked around.
So far seems a great company and a great salary. I can only thing that people are struggling with the source code and don’t hang around.
It is so difficult to follow the flow of the code and it’s taking me quite a while to complete simply tasks. Mainly because a lot of the time it’s goes into a Symfony black hole.
Is this normal for a Symfony project?
https://redd.it/1mr54vv
@r_php
Have recently joined a Symfony project that is about 5 years old.
I’m finding it incredibility difficult to trace through the code.
For example we have an Entity that has about 900 lines before the constructor with lots of different attributes.
Most notably API routes being defined here. These entities are being used to handle the entity, validation, permissions and APIs.
There are no controllers in the whole project.
I know Symfony supports all these features, but the project has saw more staff leave than stay. From what I can see the original guys hired who wrote this code at the only ones who have sticked around.
So far seems a great company and a great salary. I can only thing that people are struggling with the source code and don’t hang around.
It is so difficult to follow the flow of the code and it’s taking me quite a while to complete simply tasks. Mainly because a lot of the time it’s goes into a Symfony black hole.
Is this normal for a Symfony project?
https://redd.it/1mr54vv
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Let’s build the Symfony AI ecosystem together
https://symfony.com/blog/let-s-build-the-symfony-ai-ecosystem-together?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mrqpjv
@r_php
https://symfony.com/blog/let-s-build-the-symfony-ai-ecosystem-together?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mrqpjv
@r_php
Symfony
Let’s build the Symfony AI ecosystem together (Symfony Blog)
Join the Symfony AI Hackathon on Friday, 12th of September, online or in-person in Berlin.
Symfony REST API Boilerplate
I've created Symfony REST API Boilerplate:
https://github.com/prugala/symfony-api-boilerplate
Features:
Symfony 7.3/PHP 8.4/Docker configuration (https://github.com/dunglas/symfony-docker)
JWT
Rate limiter with Attribute
CORS
Password reset
Swagger
Custom and simple response objects
Attribute to document success endpoint
TODO:
Versioning
Health check
Emails
Fixtures
2FA
Cache
I created it because I couldn't really find an up-to-date boilerplate on GitHub that fit my needs. Also, I'm personally not a big fan of API Platform, so I decided to build something simple, clean, and extendable instead. :)
If you have a moment, I'd really appreciate any feedback, ideas, or contributions.
Thanks!
https://redd.it/1ms044j
@r_php
I've created Symfony REST API Boilerplate:
https://github.com/prugala/symfony-api-boilerplate
Features:
Symfony 7.3/PHP 8.4/Docker configuration (https://github.com/dunglas/symfony-docker)
JWT
Rate limiter with Attribute
CORS
Password reset
Swagger
Custom and simple response objects
Attribute to document success endpoint
TODO:
Versioning
Health check
Emails
Fixtures
2FA
Cache
I created it because I couldn't really find an up-to-date boilerplate on GitHub that fit my needs. Also, I'm personally not a big fan of API Platform, so I decided to build something simple, clean, and extendable instead. :)
If you have a moment, I'd really appreciate any feedback, ideas, or contributions.
Thanks!
https://redd.it/1ms044j
@r_php
GitHub
GitHub - prugala/symfony-api-boilerplate: Symfony REST API boilerplate / starter pack
Symfony REST API boilerplate / starter pack. Contribute to prugala/symfony-api-boilerplate development by creating an account on GitHub.
Symfony REST API Boilerplate
I've created Symfony REST API Boilerplate:
https://github.com/prugala/symfony-api-boilerplate
Features:
Symfony 7.3/PHP 8.4/Docker configuration (https://github.com/dunglas/symfony-docker)
JWT
Rate limiter with Attribute
CORS
Password reset
Swagger
Custom and simple response objects
Attribute to document success endpoint
TODO:
Versioning
Health check
Emails
Fixtures
2FA
Cache
I created it because I couldn't really find an up-to-date boilerplate on GitHub that fit my needs. Also, I'm personally not a big fan of API Platform, so I decided to build something simple, clean, and extendable instead. :)
If you have a moment, I'd really appreciate any feedback, ideas, or contributions.
Thanks!
https://redd.it/1ms03cw
@r_php
I've created Symfony REST API Boilerplate:
https://github.com/prugala/symfony-api-boilerplate
Features:
Symfony 7.3/PHP 8.4/Docker configuration (https://github.com/dunglas/symfony-docker)
JWT
Rate limiter with Attribute
CORS
Password reset
Swagger
Custom and simple response objects
Attribute to document success endpoint
TODO:
Versioning
Health check
Emails
Fixtures
2FA
Cache
I created it because I couldn't really find an up-to-date boilerplate on GitHub that fit my needs. Also, I'm personally not a big fan of API Platform, so I decided to build something simple, clean, and extendable instead. :)
If you have a moment, I'd really appreciate any feedback, ideas, or contributions.
Thanks!
https://redd.it/1ms03cw
@r_php
GitHub
GitHub - prugala/symfony-api-boilerplate: Symfony REST API boilerplate / starter pack
Symfony REST API boilerplate / starter pack. Contribute to prugala/symfony-api-boilerplate development by creating an account on GitHub.
Forge / Envoyer "Ask AI" in docs
Hi,
This "AI" search feature is something I would like to have too in my SaaS and just saw that Laravel Team added it in the Forge/Envoyer documentation.
Anyone knows what are the infrastructure and software used to accomplish this?
https://preview.redd.it/iz989qij7ijf1.png?width=1261&format=png&auto=webp&s=4d700723ff7f646b1abd4b2b6e6a9d3d6c183060
https://redd.it/1msh2ix
@r_php
Hi,
This "AI" search feature is something I would like to have too in my SaaS and just saw that Laravel Team added it in the Forge/Envoyer documentation.
Anyone knows what are the infrastructure and software used to accomplish this?
https://preview.redd.it/iz989qij7ijf1.png?width=1261&format=png&auto=webp&s=4d700723ff7f646b1abd4b2b6e6a9d3d6c183060
https://redd.it/1msh2ix
@r_php
A Week of Symfony #972 (August 11–17, 2025)
https://symfony.com/blog/a-week-of-symfony-972-august-11-17-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mslw0b
@r_php
https://symfony.com/blog/a-week-of-symfony-972-august-11-17-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1mslw0b
@r_php
Symfony
A Week of Symfony #972 (August 11–17, 2025) (Symfony Blog)
This week, development activity mostly focused on dealing with the deprecation of sleep/wakeup methods in PHP 8.5 and their replacement by serialize/unserialize methods. In addition, we published more…
DDD or modular in Laravel + filamentphp
Has anyone implemented DDD or a modular structure in a Laravel and filamentphp project?
Any examples or tutorials?
I've searched but can't find anything that includes filamentphp.
https://redd.it/1msrpk7
@r_php
Has anyone implemented DDD or a modular structure in a Laravel and filamentphp project?
Any examples or tutorials?
I've searched but can't find anything that includes filamentphp.
https://redd.it/1msrpk7
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Analyzing data in distributed transactional systems
https://norbert.tech/blog/2025-08-12/data-analytics-in-distributed-transactional-systems/
https://redd.it/1mssmf2
@r_php
https://norbert.tech/blog/2025-08-12/data-analytics-in-distributed-transactional-systems/
https://redd.it/1mssmf2
@r_php
norbert.tech
Data Analytics in Distributed Transactional Systems
Is your transactional system crashing under the weight of reports? Looking for a way to build a unified data source for your distributed system? Learn how to start building an efficient analytical data warehouse and avoid common pitfalls.
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/1msw8u4
@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/1msw8u4
@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.
Looking for testers and contributors: Symfony User-Agent Analyzer Bundle
I’ve built a Symfony bundle for advanced User-Agent analysis: EprofosUserAgentAnalyzerBundle.
https://github.com/eprofos/user-agent-analyzer
It detects operating systems (Windows, MacOS, Linux, iOS, Android…), browsers (Chrome, Firefox, Safari, Edge…), and device types (Desktop, Mobile, Tablet, TV…). It also supports version detection, WebView handling, smart devices, and compatibility modes.
Features include:
✅ OS detection with version/codename support
✅ Browser detection with engine tracking (Chromium, Gecko, WebKit)
✅ Device classification (desktop, mobile, tablet, TV, consoles, car systems)
✅ Touch/WebView/desktop mode detection
Symfony integration with services + Twig functions
PHP 8.2+, Symfony 7.0+ support
I’d like feedback, real-world testing, and contributions to improve coverage and accuracy.
Repo: https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0avs
@r_php
I’ve built a Symfony bundle for advanced User-Agent analysis: EprofosUserAgentAnalyzerBundle.
https://github.com/eprofos/user-agent-analyzer
It detects operating systems (Windows, MacOS, Linux, iOS, Android…), browsers (Chrome, Firefox, Safari, Edge…), and device types (Desktop, Mobile, Tablet, TV…). It also supports version detection, WebView handling, smart devices, and compatibility modes.
Features include:
✅ OS detection with version/codename support
✅ Browser detection with engine tracking (Chromium, Gecko, WebKit)
✅ Device classification (desktop, mobile, tablet, TV, consoles, car systems)
✅ Touch/WebView/desktop mode detection
Symfony integration with services + Twig functions
PHP 8.2+, Symfony 7.0+ support
I’d like feedback, real-world testing, and contributions to improve coverage and accuracy.
Repo: https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0avs
@r_php
GitHub
GitHub - eprofos/user-agent-analyzer: A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating…
A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device ty...
Looking for testers and contributors to improve this bundle
https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0e1c
@r_php
https://github.com/eprofos/user-agent-analyzer
https://redd.it/1mt0e1c
@r_php
GitHub
GitHub - eprofos/user-agent-analyzer: A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating…
A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device ty...
Roadmap and resources to learn Symfony and build a strong foundation
Hi everyone,
I want to learn Symfony and build a solid foundation before jumping into more advanced projects.
Can you suggest a roadmap (step by step learning path) and the best resources (courses, books, YouTube channels, tutorials) to get started and progress effectively?
I’d really appreciate recommendations for both free and paid resources, and advice on how to structure my learning journey.
Thanks in advance!
https://redd.it/1mt4ij0
@r_php
Hi everyone,
I want to learn Symfony and build a solid foundation before jumping into more advanced projects.
Can you suggest a roadmap (step by step learning path) and the best resources (courses, books, YouTube channels, tutorials) to get started and progress effectively?
I’d really appreciate recommendations for both free and paid resources, and advice on how to structure my learning journey.
Thanks in advance!
https://redd.it/1mt4ij0
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
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/1mtauut
@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/1mtauut
@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/1mtdv8c
@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/1mtdv8c
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Code migration using the Strangler Fig Pattern
It sounds like the Strangler Fig Pattern is one of the most logical ways to migrate legacy code
https://getlaminas.org/blog/2025-08-06-strangler-fig-pattern.html
https://redd.it/1mthuyq
@r_php
It sounds like the Strangler Fig Pattern is one of the most logical ways to migrate legacy code
https://getlaminas.org/blog/2025-08-06-strangler-fig-pattern.html
https://redd.it/1mthuyq
@r_php
getlaminas.org
Laminas Project - The Strangler Fig Pattern: A Viable Approach for Migrating MVC to Middleware