PHP Reddit – Telegram
PHP Reddit
34 subscribers
291 photos
37 videos
24.9K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
AI's effect on developer-friendly frameworks like Livewire?

I've been tinkering with Copilot's Agent mode over the last month or so, and it got me thinking; a framework like Livewire that sacrifices some performance in an effort to provide significant improvements to the developer experience... is that gonna go by the wayside? It pains me to say because I really love Livewire, but as we write less and less of our own code by hand, it seems logical to assume there will be less and less importance placed on super convenient things like most of what Livewire offers.

Thoughts?

https://redd.it/1lzobw7
@r_php
Built a tool for my YouTube audience to actually finish their projects, maybe it can be useful for you too

Hey all,

Gio here from the ProgramWithGio YouTube channel. I don't post much here on Reddit, but I wanted to share a project I released some time ago.

I create coding tutorials focused on PHP & Laravel, and want people to actually build portfolios, not just watch videos. After watching a tutorial, people often don't know what to work on next.

So I built CodeArch. It's basically a project management tool designed to give you a guided path for building projects, so you always know what to work on next. I also built it to scratch my own itch. If you're like me, you probably have a graveyard of unfinished side projects. You start with a great idea and tons of motivation, but then scope creep sets in, you get lost in what to do next, and that initial excitement kind of fades away. CodeArch attempts to solve this by breaking down projects into clear, actionable tasks with gamified elements so you feel a sense of reward and progress after completing each one.

For my YouTube audience, this reinforces the content I create. I'm curating projects and recording full walkthroughs, so you can follow along and actually complete what we start. But I'm also designing this to be useful beyond my YouTube community, I believe it could be useful for any developer to build projects step by step with clear direction. I'd love to see if that theory holds up and if it resonates with developers outside my audience.

I'm focusing on PHP & Laravel developers since that's my niche, but the tool can work for any stack. You can create project roadmaps yourself, and in the future I'm planning to let you share them with the community or enroll in highly-ranked community project paths. You can also use the built-in AI support to generate project breakdowns with a simple prompt and select a custom stack where you describe your tech stack in the prompt. You can watch a course on YouTube, Laracasts, CodeCourse, or Udemy and then feed some of the topics you learned into CodeArch to generate a project breakdown that you can follow.

Some features I want to add if I see there's enough interest include an AI assistant for individual tasks when you get stuck, exportable project and task context for tools like Cursor, ClaudeCode, ChatGPT, etc., daily/weekly coding challenges, and the ability to share your custom project breakdowns with other developers.

It's free. Down the road I might add a premium tier with extra AI credits and features, maybe even hands-on support from me, but monetizing isn't my priority right now. I genuinely want to see if this solves the "tutorial hell" problem for other developers.

Honestly, I built this to solve my own problem of helping my audience actually start & finish projects. If it's useful beyond my YouTube community, that's awesome. If not, at least my subscribers will benefit.

Check it out at codearch.app

You can also watch the announcement video if you prefer video format: https://www.youtube.com/watch?v=jGqE4HQFwHg

Thanks!

https://redd.it/1lzp35x
@r_php
Starter kits not asking which db to use

Just very curious about this since i just started using the new starter kits but why did they make it so that the cli doesn't ask you anymore which database you want to use? If it's just plain laravel-blade it does ask which db to use but starter kits don't why is that? I know you can migrate later if you want but just seemed a little weird to me.

https://redd.it/1lzq4px
@r_php
AI my few thoughts

I know it’s r/PHP, but I work as PHP dev and I want to share some thoughts.

I was trying to use AI from the very beginning when first models were released in my daily work and adapt it to my needs.
Unfortunately it wasn’t easy before agents came out and I always ended up being frustrated.

Now when agents are available and I can create strict rule how agent should act and what should know about project, it’s really helpful tool.

I can write business requirements to agent and it does the job in 90%, the remaining 10% is my code review to make sure everything is as I’d do it.

It really speed up my work, such a great tool.

https://redd.it/1lzya2w
@r_php
Big news! Larasense is now open source!

Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.

Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.

Would love your feedback and contributions.

Let’s build this together the Laravel way. ❤️

Distraction-free. Just Laravel. Community-powered.

🌐 larasense.com

🔗 github.com/nabilhassen/larasense

https://redd.it/1m0aew9
@r_php
PHP - Still a Powerhouse for Web Dev in 2025

I really don’t like hearing “is PHP still alive”, I really don’t. I think we should move to just saying that it is. Paweł Cierzniakowski's recent article is a good example of that. Covering topics like:

Modern Features: PHP 8.X brings stuff like union types, enums, and property hooks, making code safer and cleaner.
Frameworks: Laravel and Symfony are rock-solid for building APIs, queues, or real-time apps.
Real-World Use: Big players like Slack and Tumblr lean on PHP for high-traffic systems. (In the fallout of the article I’ve been hearing that Slack is not using the PHP as of today, but i have found their article [on using Hack with the PHP as of 2023](https://slack.engineering/hakana-taking-hack-seriously/), so let me know if you have some fresher information)
Community: The PHP Foundation, backed by JetBrains and Laravel, keeps the language secure and future-proof.

When I was chatting with Roman Pronskiy we both agreed that it’s time for the community to move away from trying to justify the existence of PHP, and start giving it credit where it’s due. I think that will be beneficial for the whole community. If you want to check the full article you can do it here: https://accesto.com/blog/evaluating-modern-php/ 

https://redd.it/1m0co77
@r_php
Symfony CLI - Error remove log inside .symfony5\log

Hi !

I'm developping on Symfony for a while and since i'm on Symfony CLI 5.12.0, I can't run the local dev webserver because of this error :

PS E:\\<some folder> symfony serve -d  
remove C:\\Users\\<user>\\.symfony5\\log\\5af26511ec3b976af1990d6abf208be50b786ab8.log: The process cannot access the file because it is being used by another process.


Can someone help me ? I tried to delete the file but it is recreated each time i run the symfony serve -d command

https://redd.it/1m0h7vz
@r_php
Big news! Larasense is now open source!

Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.

Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.

Would love your feedback and contributions.

Let’s build this together the Laravel way. ❤️

Distraction-free. Just Laravel. Community-powered.

🌐 larasense.com

🔗 github.com/nabilhassen/larasense

https://redd.it/1m0jcf7
@r_php
Seeming lack of major apps built on Laravel, vs RoR and Django?

I'm curious why this might be.

I've been a huge fan of Laravel since discovering it within the last 2 years. If at all possible I nudge my clients towards using it rather than NextJS.

I've recently been on a project with a couple of other devs, and it was a vibe coded NextJS app that got handed to us, just a complete mess. We all fantasized about burning it all down and rewriting it, and the topic of different frameworks came up.

I've played around very briefly with RoR and Django in the past, but never made a serious project with them.

If I look at the various "builtwith" directories, I see quite a few mega projects on those frameworks, famously Github and Shopify were built on RoR. It looks like Instagram, Spotify, Disqus, Dropbox... were built on Django.

When I look for similar examples built on Laravel, they're notably absent. The best I seem to find is that companies like Pfizer and BBC use them internally as parts of their stacks.

What do you all think the reason for this is?

I know that RoR was the OG, and got really popular during the right time in the tech boom, so that's well enough explained, but the fact that by now Laravel doesn't have a notable example of an app in the same tier as the rest mentioned is kind of interesting.

https://redd.it/1m0lgq0
@r_php
Symfony CLI server:start not working anymore - "File not Found"

I have this weird issue that suddenly, symfony cli does not seem to serve public/index.php anymore (Windows, using Ubuntu WLS). I don't remember to have changed anything. I tried removing the .symfony5 folder and reinstalling the binary; I tried using symfony-cli supplied via debian package.

* Standard symfony webpack installation (it does not work in a freshly created folder, either)
* php-fpm (8.4.10) is installed
* Passthru seems to be recognized - there is no error message in contrast to a random folder with no public/index.php
* index.html is served as expected if present
* Accessing any other file (including public/index.php) ends with "File not found"
* Serving the website via php-cli works fine
* Explicitly giving project configuration (`symfony server:start --passthru index.php --document-root public --dir .`) also does not help

I'm a bit at loss on what else to try.

# symfony server:start

Following Web Server log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916.log)
Following PHP-FPM log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916/53fb8ec204547646acb3461995e4da5a54cc7575.log)

[WARNING] The local web server is optimized for local development and MUST never be used in a production setup.

[WARNING] Please note that the Symfony CLI only listens on 127.0.0.1 by default since version 5.10.3.
You can use the --allow-all-ip or --listen-ip flags to change this behavior.

[OK] Web server listening
The Web server is using PHP FPM 8.4.10
https://127.0.0.1:8000

[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Reloading PHP versions
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)

[...] logs from former run omitted

[Web Server ] Jul 15 19:11:56 |INFO | PHP listening path="/usr/sbin/php-fpm8.4" php="8.4.10" port=44915
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)
[PHP-FPM ] Jul 15 19:11:56 |DEBUG | RUNNER Waiting for channels (first boot) cmd="PHP-FPM"
[PHP-FPM ] Jul 15 19:11:56 |WARNING| FPM JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM fpm is running, pid 124910
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM ready to handle connections
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM systemd monitor interval set to 10000ms
[PHP-FPM ] Jul 15 19:11:58 |DEBUG | RUNNER Received timer message (first boot) cmd="PHP-FPM"
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45400: remote error: tls: unknown certificate authority
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45402: remote error: tls: unknown certificate authority
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /index.php ip="127.0.0.1"
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /favicon.ico
[Web Server ] Jul 15 19:12:18 |INFO | SERVER GET (200) /index.php


What am I missing?

https://redd.it/1m0nwst
@r_php
Some PHPStorm discount coupons. 20% Off

1. SDFUY-7AWUL-ED5GF-V387A-8G8LV
2. FWR2Z-AE85B-H8DQN-G343W-R4D6T

https://redd.it/1m0ovau
@r_php
Filter Eloquent models via URL query strings

Hi r/laravel 👋

I've built a package to filter Eloquent models using URL query strings. The package is goodcat/laravel-querystring. I was inspired by Laravel's Local Scope. I'm using the attribute #[QueryString] to tag a method as a "filter" and the Reflection API to map the query string name to the filter. Here's an example:

// http://example.com/users?email=john@doe.com

class User extends Authenticatable
{
use UseQueryString;

#QueryString('email')
public function filterByEmail(Builder $query, string $search): void
{
$query->where('email', $search);
}
}

I’m adding the UseQueryString trait to the User model and marking a method with the QueryString attribute.

class UserController extends Controller
{
public function index(Request $request): View
{
$users = User::query()->queryString($request)->get();

return view('user.index', 'users' => $users);
}
}

Inside the query, I'm using the queryString($request) scope, passing it the request. The query string is automatically mapped to the method, and the filter we wrote earlier is applied. I'm really curious to know what you think!

There are other functionalities like caching, custom filter objects, multiple QueryString attributes, etc.

https://redd.it/1m0two7
@r_php
Thinking of building a faster PHP VM, curious what you think about dropping some dynamic features

I'm working on a side project, still early, where I'm exploring the idea of building a faster PHP VM written in Rust, with a strong focus on performance and memory efficiency, especially for server-side use.

I'm not aiming to replace PHP or reinvent the language, and I would like it to remain compatible with regular PHP code as much as possible.
That said, I’m seriously considering dropping or restricting some of PHP’s most dynamic features, because I believe the potential performance gains could be significant.

For example:

* No *variable variables* (`$$var`)
* Requiring static paths in `include()`/`require()`
* Disallowing `eval()`

Removing these might allow for:

* Much better memory management (e.g. tracking variable lifetimes and avoiding unnecessary copies)
* Optimizations like early freeing or move semantics
* Easier static analysis and faster bytecode execution

So I’m wondering:

* Would this kind of approach make sense to you?
* Are those dynamic features essential in your real-world usage?
* Do you think a faster VM with these trade-offs would be useful?

I’d really appreciate any thoughts or perspectives from PHP developers.

https://redd.it/1m0z3eg
@r_php
Building "Lovable for Laravel" - would love your feedback

Hey everyone,

I'm working on ArtisanKit - essentially Lovable.dev but specifically for Laravel developers.

The idea is simple: describe your app in plain English, get a working Laravel application. No more starting from scratch or dealing with boilerplate. Just chat with AI about what you want to build.

It generates:
\- Laravel 12 backend with proper patterns
\- React/Vue + TypeScript frontend
\- Database migrations and models
\- Full authentication flow
\- Ready to deploy

What makes it different from generic AI tools is that it actually understands Laravel conventions and best practices. It builds apps the way a senior Laravel developer would.

I'd love to get feedback from the community:
1. What features would actually be useful vs just hype?
2. What's your biggest pain point when usign AI coding agents with Laravel?
3. Would you use something like this?

If you're interested in trying it when it launches, I set up a waitlist at artisankit.ai

Not trying to spam - genuinely want to build something useful for our community. Happy to answer any questions!

https://redd.it/1m13pg5
@r_php