Why --dump-sql still outputs sql despite being executed?
In the server I've run:
```
$ php bin/console doctrine:schema:update --force
Updating database schema...
93 queries were executed
[OK\] Database schema updated successfully!
```
But once I executed the sql above once I run:
```
$ php bin/console doctrine:schema:update --dump-sql | head
ALTER TABLE xxx1 CHANGE expires_at expires_at DATETIME DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL;
ALTER TABLE xx2 CHANGE name name VARCHAR(255) DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL, CHANGE unique_identifier unique_identifier VARCHAR(255) DEFAULT NULL;
ALTER TABLE xx3 CHANGE denoscription denoscription VARCHAR(255) DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL, CHANGE deleted_at deleted_at DATETIME DEFAULT NULL, CHANGE unique_identifier unique_identifier VARCHAR(255) DEFAULT NULL;
.....
```
Even if I execute manually:
```
LTER TABLE xxx1 CHANGE expires_at expires_at DATETIME DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL;
```
`doctrine:schema:update` would output it once more why???
https://redd.it/1n6l2xm
@r_php
In the server I've run:
```
$ php bin/console doctrine:schema:update --force
Updating database schema...
93 queries were executed
[OK\] Database schema updated successfully!
```
But once I executed the sql above once I run:
```
$ php bin/console doctrine:schema:update --dump-sql | head
ALTER TABLE xxx1 CHANGE expires_at expires_at DATETIME DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL;
ALTER TABLE xx2 CHANGE name name VARCHAR(255) DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL, CHANGE unique_identifier unique_identifier VARCHAR(255) DEFAULT NULL;
ALTER TABLE xx3 CHANGE denoscription denoscription VARCHAR(255) DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL, CHANGE deleted_at deleted_at DATETIME DEFAULT NULL, CHANGE unique_identifier unique_identifier VARCHAR(255) DEFAULT NULL;
.....
```
Even if I execute manually:
```
LTER TABLE xxx1 CHANGE expires_at expires_at DATETIME DEFAULT NULL, CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL;
```
`doctrine:schema:update` would output it once more why???
https://redd.it/1n6l2xm
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
New toPrettyJson & withHeartbeat Features in Laravel 12.26
https://youtu.be/4mG3ekksG3s
https://redd.it/1n6l57b
@r_php
https://youtu.be/4mG3ekksG3s
https://redd.it/1n6l57b
@r_php
YouTube
New toPrettyJson & withHeartbeat Features in Laravel 12.26
What's new in Laravel is back! We share new features of the Laravel framework every week 🙌 (v12.26)
1️⃣ Add toPrettyJson method
https://github.com/laravel/framework/pull/56697
2️⃣ Add withHeartbeat to LazyCollection
https://github.com/laravel/framework/pull/56477…
1️⃣ Add toPrettyJson method
https://github.com/laravel/framework/pull/56697
2️⃣ Add withHeartbeat to LazyCollection
https://github.com/laravel/framework/pull/56477…
Would like to get some feedback on my first Symfony project!
Hey everyone, I wanted to learn symfony so I started working on a toy project - a self hosted filesystem app (like gdrive). It exposes an API for authentication and CRUD operations on files. I also used twig to build a small admin dashboard UI.
Need to mention, the project is not yet finished, I need to add a file sharing option and possibly some tests, and maybe the fronted (though the frontend is irrelevant for this), but it is a good time to get other's opinion on this.
I would love to get some feedback, especially on API design, security/authentication flow. Also this is the first time I used docker so I would appreciate some pointers for this too (are the containers structured well, is it good for easy self hosting?)
Also what improvements could I make to the project?
Thanks!
The project is available on github. Api docs is here
https://redd.it/1n6rhcb
@r_php
Hey everyone, I wanted to learn symfony so I started working on a toy project - a self hosted filesystem app (like gdrive). It exposes an API for authentication and CRUD operations on files. I also used twig to build a small admin dashboard UI.
Need to mention, the project is not yet finished, I need to add a file sharing option and possibly some tests, and maybe the fronted (though the frontend is irrelevant for this), but it is a good time to get other's opinion on this.
I would love to get some feedback, especially on API design, security/authentication flow. Also this is the first time I used docker so I would appreciate some pointers for this too (are the containers structured well, is it good for easy self hosting?)
Also what improvements could I make to the project?
Thanks!
The project is available on github. Api docs is here
https://redd.it/1n6rhcb
@r_php
GitHub
GitHub - darusc/Fileknight
Contribute to darusc/Fileknight development by creating an account on GitHub.
Been seeing more PHP gigs out there.
It seems like PHP gigs are coming out of hiding. This leads me to think of a great marketing slogan PHP:
PHP is like a Volvo or a Honda.... it's not sexy, but it is reliable, affordable, and it delivers what you need when you need it.
https://redd.it/1n6s3bf
@r_php
It seems like PHP gigs are coming out of hiding. This leads me to think of a great marketing slogan PHP:
PHP is like a Volvo or a Honda.... it's not sexy, but it is reliable, affordable, and it delivers what you need when you need it.
https://redd.it/1n6s3bf
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Would like to get some feedback on my first Symfony project!
Hey everyone, I wanted to learn symfony so I started working on a toy project - a self hosted filesystem app (like gdrive). It exposes an API for authentication and CRUD operations on files. I also used twig to build a small admin dashboard UI.
Need to mention, the project is not yet finished, I need to add a file sharing option and possibly some tests, and maybe the fronted (though the frontend is irrelevant for this), but it is a good time to get other's opinion on this.
I would love to get some feedback, especially on API design, security/authentication flow. Also this is the first time I used docker so I would appreciate some pointers for this too (are the containers structured well, is it good for easy self hosting?)
Also what improvements could I make to the project?
Thanks!
The project is available on [github\](https://github.com/darusc/Fileknight). Api docs is [here\](https://github.com/darusc/Fileknight/blob/main/API.md)
https://redd.it/1n6rhyn
@r_php
Hey everyone, I wanted to learn symfony so I started working on a toy project - a self hosted filesystem app (like gdrive). It exposes an API for authentication and CRUD operations on files. I also used twig to build a small admin dashboard UI.
Need to mention, the project is not yet finished, I need to add a file sharing option and possibly some tests, and maybe the fronted (though the frontend is irrelevant for this), but it is a good time to get other's opinion on this.
I would love to get some feedback, especially on API design, security/authentication flow. Also this is the first time I used docker so I would appreciate some pointers for this too (are the containers structured well, is it good for easy self hosting?)
Also what improvements could I make to the project?
Thanks!
The project is available on [github\](https://github.com/darusc/Fileknight). Api docs is [here\](https://github.com/darusc/Fileknight/blob/main/API.md)
https://redd.it/1n6rhyn
@r_php
GitHub
GitHub - darusc/Fileknight
Contribute to darusc/Fileknight development by creating an account on GitHub.
What would be the feature of PHP 9.0 that you would like the most?
I did not make a research of PHP 9.0 roadmap. I am just curious.
What feature you would like to have there the most?
https://redd.it/1n78l27
@r_php
I did not make a research of PHP 9.0 roadmap. I am just curious.
What feature you would like to have there the most?
https://redd.it/1n78l27
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyCon Amsterdam 2025: Make your AI useful with MCP
https://symfony.com/blog/symfonycon-amsterdam-2025-make-your-ai-useful-with-mcp?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n7cp2c
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-make-your-ai-useful-with-mcp?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n7cp2c
@r_php
Symfony
SymfonyCon Amsterdam 2025: Make your AI useful with MCP (Symfony Blog)
Turn your LLM into a truly helpful assistant with Tobias Nyholm. Discover how the MCP protocol makes AI answer your real questions, not just generic ones.
File Facade in Laravel: Unofficial Documentation
https://nabilhassen.com/file-facade-in-laravel-unofficial-documentation
https://redd.it/1n7iu3o
@r_php
https://nabilhassen.com/file-facade-in-laravel-unofficial-documentation
https://redd.it/1n7iu3o
@r_php
Nabilhassen
File Facade in Laravel: Unofficial Documentation
Discover Laravel’s hidden File facade in Laravel. Stream files, hash, replace, manage directories, and more.
Testing API's
Do you run tests against real APIs? If not, how do you usually check that the API is actually working in the tests, do you mock it, recreate the logic, or rely on something else?
Thanks
https://redd.it/1n7kdp9
@r_php
Do you run tests against real APIs? If not, how do you usually check that the API is actually working in the tests, do you mock it, recreate the logic, or rely on something else?
Thanks
https://redd.it/1n7kdp9
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Scramble 0.12.31 – Laravel API documentation generator updated. Response headers documentation, static analysis for improved requests parameters documentation, OpenAPI compliant responses, and type inference improvements.
https://scramble.dedoc.co/blog/scrambledrop-scramble-01231
https://redd.it/1n81u0i
@r_php
https://scramble.dedoc.co/blog/scrambledrop-scramble-01231
https://redd.it/1n81u0i
@r_php
scramble.dedoc.co
#scrambledrop: Scramble 0.12.31 - Scramble
OpenAPI (Swagger) documentation generator for Laravel. Without manual PHPDoc annotations.
🚀 Built a Free AI Headshot Generator with the TALL stack
Hey folks 👋
I just launched a side project that I built entirely with the **TALL stack (Tailwind, Alpine.js, Laravel, Livewire)** – it’s a **Free AI Headshot Generator**.
👉 Try it here: [https://gemsofai.com/tools/free-ai-headshot-generator](https://gemsofai.com/tools/free-ai-headshot-generator)
**What it does:**
* Upload a regular photo (or capture with camera)
* Generates a professional AI-enhanced headshot in seconds
* Free to use (with optional premium to buy more credits)
Your feedback is much appreciated.
Thanks a lot for checking it out 🙏
https://redd.it/1n8395t
@r_php
Hey folks 👋
I just launched a side project that I built entirely with the **TALL stack (Tailwind, Alpine.js, Laravel, Livewire)** – it’s a **Free AI Headshot Generator**.
👉 Try it here: [https://gemsofai.com/tools/free-ai-headshot-generator](https://gemsofai.com/tools/free-ai-headshot-generator)
**What it does:**
* Upload a regular photo (or capture with camera)
* Generates a professional AI-enhanced headshot in seconds
* Free to use (with optional premium to buy more credits)
Your feedback is much appreciated.
Thanks a lot for checking it out 🙏
https://redd.it/1n8395t
@r_php
Gemsofai
AI Professional Headshot Generator | Create LinkedIn Photos Online Free
Transform your photos into professional business headshots using advanced AI technology. Perfect for LinkedIn, resumes, and corporate profiles. Upload or capture a photo and get studio-quality results in seconds. Free online headshot generator.
Laravel Cloud Navigation in Filament 4: Tutorial and Code
https://silvanhagen.com/writing/laravel-cloud-navigation-in-filament/
https://redd.it/1n83kgv
@r_php
https://silvanhagen.com/writing/laravel-cloud-navigation-in-filament/
https://redd.it/1n83kgv
@r_php
Silvan Hagen
Laravel Cloud Navigation in Filament 4
A tutorial on how to build a custom top navigation in Filament 4 that looks similar to the breadcrumb navigation in Laravel Cloud
Neuron v2 is Here 🚀
https://github.com/inspector-apm/neuron-ai/discussions/280
https://redd.it/1n853jo
@r_php
https://github.com/inspector-apm/neuron-ai/discussions/280
https://redd.it/1n853jo
@r_php
GitHub
Neuron v2 is Here 🚀 · inspector-apm neuron-ai · Discussion #280
Hey everyone, I'm sitting here at my desk, still processing what we've just accomplished together. After months of your feedback, discussions, and the countless "can PHP really do this...
[Show & Tell] Larabuild – AI-powered Blade + Tailwind playground for Laravel developers
I’ve relaunched [Larabuild](https://larabuild.com), a side project I originally built as a “v0.dev-style” tool, but focused on Laravel + Livewire.
The idea is to save time when you’re an engineer who isn’t a designer: you describe what you want to build, and Larabuild generates **clean Blade + Tailwind v4 components** you can drop straight into your app.
What makes it different from generic AI UI tools:
* **Blade logic, not just HTML** – it generates loops, conditionals, and `@php $sample_data` blocks so you can see how your components will behave.
* **Two outputs** – • `generated_code`: the real Blade + Tailwind you can copy into your project. • `preview_code`: a safe, static HTML preview with sample data (no PHP execution).
* **Security first** – previews are sandboxed with a strict CSP and sanitisation (no noscripts, env/config/db calls, or other server-side access).
* **Project organisation** – give the AI context and keep generations grouped together.
* **Coming soon** – set brand colours/typography once and get consistent designs across components.
* **Learning Resource** \- It will eventually have a learning mode, teaching you best practices, rather than just throwing code at you.
Access:
* No signup required: 10 free prompts to try it immediately.
* Free account: 100 prompts each month.
* No paywall right now — just exploring whether this is something the community finds useful.
Would love to hear your feedback and impressions.
[https://larabuild.com](https://larabuild.com)
https://redd.it/1n84vb4
@r_php
I’ve relaunched [Larabuild](https://larabuild.com), a side project I originally built as a “v0.dev-style” tool, but focused on Laravel + Livewire.
The idea is to save time when you’re an engineer who isn’t a designer: you describe what you want to build, and Larabuild generates **clean Blade + Tailwind v4 components** you can drop straight into your app.
What makes it different from generic AI UI tools:
* **Blade logic, not just HTML** – it generates loops, conditionals, and `@php $sample_data` blocks so you can see how your components will behave.
* **Two outputs** – • `generated_code`: the real Blade + Tailwind you can copy into your project. • `preview_code`: a safe, static HTML preview with sample data (no PHP execution).
* **Security first** – previews are sandboxed with a strict CSP and sanitisation (no noscripts, env/config/db calls, or other server-side access).
* **Project organisation** – give the AI context and keep generations grouped together.
* **Coming soon** – set brand colours/typography once and get consistent designs across components.
* **Learning Resource** \- It will eventually have a learning mode, teaching you best practices, rather than just throwing code at you.
Access:
* No signup required: 10 free prompts to try it immediately.
* Free account: 100 prompts each month.
* No paywall right now — just exploring whether this is something the community finds useful.
Would love to hear your feedback and impressions.
[https://larabuild.com](https://larabuild.com)
https://redd.it/1n84vb4
@r_php
Larabuild
AI Laravel Component Generator
Generate clean Blade components with Tailwind using AI. Larabuild is a Laravel-native alternative to v0.dev. No sign-up required.
Laravel Zero Downtime Deployments & Rollbacks using VitoDeploy
https://youtu.be/5nWQj84Vh4M
https://redd.it/1n8bmje
@r_php
https://youtu.be/5nWQj84Vh4M
https://redd.it/1n8bmje
@r_php
YouTube
Laravel Zero Downtime Deployments & Rollbacks using VitoDeploy
Read more at https://vitodeploy.com/docs/sites/modern-deployment
(Sorry for the audio quality)
(Sorry for the audio quality)
SymfonyCon Amsterdam 2025: Where have the women of tech history gone? 2.0
https://symfony.com/blog/symfonycon-amsterdam-2025-where-have-the-women-of-tech-history-gone-2-0?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n8h5ul
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-where-have-the-women-of-tech-history-gone-2-0?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n8h5ul
@r_php
Symfony
SymfonyCon Amsterdam 2025: Where have the women of tech history gone? 2.0 (Symfony Blog)
From assembly language to the Web itself to ARM architecture—discover, with Laura Durieux, the hidden pioneers whose impact still powers our world today 💡
Causes & Fixes to the "SQLSTATE[HY000] [1049] Unknown database" error
https://nabilhassen.com/sqlstatehy000-1049-unknown-database-fixed
https://redd.it/1n8firx
@r_php
https://nabilhassen.com/sqlstatehy000-1049-unknown-database-fixed
https://redd.it/1n8firx
@r_php
Nabilhassen
"SQLSTATE[HY000] [1049] Unknown database" - Fixed
Learn what the SQLSTATE[HY000] [1049] Unknown Database error means, its causes, fixes, and tips to avoid it in the future.
We are modernizing the i18n workflow for PHP, what are your thoughts?
Hi everyone, we are currently developing a new SDK for i18n in PHP. I know what you are thinking, existing solutions like gettext are great, but... I believe PHP deserves more modern features.
The main idea is to let frontend and backend work together in a fashion mainly utilized in modern JS frameworks like next.js, where data is hydrated on the frontend. This means that data can be encoded in the backend and decoded on the frontend which could enable advanced features like In-context editor (edit translations directly on the rendered page), something PHP i18n lacks today.
What we've done so far:
- Everything from gettext, pluralization, variables etc.
- Language detection, cookie, headers, meta data, query params etc.
- In-context editing - Let your contributors edit rendered translations directly on the site.
- Automatic rerender on locale change. (With or without page reload)
- Support for both static translation files in your project, or offloading to our CDN powered by Cloudflare. If you use the CDN, a translations edit will never force you to redeploy any code.
- If CDN is used, we utilize a local cache with SWR to always have the latest translations without compromising speed.
- Lazy loading, only load languages needed.
- If you are using our external platform you'd get glossary, tasks, AI translations, screenshots and much more. But I want to stress that this is optional.
- (Optional language picker)
Do you have any other ideas or input on what would be helpful in the localization process?
Disclaimer: I am the founder of sejhey.com, a localization platform.
https://redd.it/1n8l303
@r_php
Hi everyone, we are currently developing a new SDK for i18n in PHP. I know what you are thinking, existing solutions like gettext are great, but... I believe PHP deserves more modern features.
The main idea is to let frontend and backend work together in a fashion mainly utilized in modern JS frameworks like next.js, where data is hydrated on the frontend. This means that data can be encoded in the backend and decoded on the frontend which could enable advanced features like In-context editor (edit translations directly on the rendered page), something PHP i18n lacks today.
What we've done so far:
- Everything from gettext, pluralization, variables etc.
- Language detection, cookie, headers, meta data, query params etc.
- In-context editing - Let your contributors edit rendered translations directly on the site.
- Automatic rerender on locale change. (With or without page reload)
- Support for both static translation files in your project, or offloading to our CDN powered by Cloudflare. If you use the CDN, a translations edit will never force you to redeploy any code.
- If CDN is used, we utilize a local cache with SWR to always have the latest translations without compromising speed.
- Lazy loading, only load languages needed.
- If you are using our external platform you'd get glossary, tasks, AI translations, screenshots and much more. But I want to stress that this is optional.
- (Optional language picker)
Do you have any other ideas or input on what would be helpful in the localization process?
Disclaimer: I am the founder of sejhey.com, a localization platform.
https://redd.it/1n8l303
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Try out this ddev addon that uses tailscale
https://github.com/atj4me/ddev-tailscale-router
https://redd.it/1n8ouwt
@r_php
https://github.com/atj4me/ddev-tailscale-router
https://redd.it/1n8ouwt
@r_php
GitHub
GitHub - atj4me/ddev-tailscale-router: A router for Tailnet with MagicDNS and HTTPS
A router for Tailnet with MagicDNS and HTTPS. Contribute to atj4me/ddev-tailscale-router development by creating an account on GitHub.