Is API platform the best choice for building a REST API?
Hey everyone,
I’m currently working with Symfony and wondering if API Platform is the go-to solution for building REST APIs these days. I see a lot of recommendations for it, but I’m curious whether it’s truly the best approach for modern API development.
For those who have used it:
How does it compare to a manually built Symfony API with controllers and services?
Does it add unnecessary complexity, or does it streamline API development significantly?
Is the learning curve steep, or is it worth investing time in mastering?
Would love to hear your thoughts and experiences!
https://redd.it/1iw9r13
@r_php
Hey everyone,
I’m currently working with Symfony and wondering if API Platform is the go-to solution for building REST APIs these days. I see a lot of recommendations for it, but I’m curious whether it’s truly the best approach for modern API development.
For those who have used it:
How does it compare to a manually built Symfony API with controllers and services?
Does it add unnecessary complexity, or does it streamline API development significantly?
Is the learning curve steep, or is it worth investing time in mastering?
Would love to hear your thoughts and experiences!
https://redd.it/1iw9r13
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Hosting recommendations with supprt
Hi i am on Forge, and its worked so well, but right now I have the dreaded the site cant be reached error on Chrome,It got me thinking is there a good host that I can get live chat support with, so if an error happens like this I can get it fixed quickly?
Just wanted to see if you guys know of any hosts that has live chat support, like cloudways? Thanks
#
https://redd.it/1iwcbuh
@r_php
Hi i am on Forge, and its worked so well, but right now I have the dreaded the site cant be reached error on Chrome,It got me thinking is there a good host that I can get live chat support with, so if an error happens like this I can get it fixed quickly?
Just wanted to see if you guys know of any hosts that has live chat support, like cloudways? Thanks
#
https://redd.it/1iwcbuh
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Is it a sin to use brackets when importing multiple classes?
Example:
<?php
namespace App\Filament\Resources;
use App\Enums\{CourseStatus, RegistrationStatus};
use App\Http\Controllers\CourseController;
use App\Models\Course;
use App\Filament\Resources\CourseResource\Pages\{ListCourses, ManageCourse};
use App\Filament\Resources\CourseResource\RelationManagers\RegistrationRelationManager;
use BezhanSalleh\FilamentShield\Contracts\HasShieldPermissions;
use Filament\Forms\Components\{DatePicker, DateTimePicker, Placeholder, TextInput};
use Filament\Forms\Form;
use Filament\Notifications\Notification;
use Filament\Resources\Resource;
use Filament\Tables\Actions\{Action, EditAction};
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Filters\{Filter, SelectFilter, TrashedFilter};
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Carbon;
https://redd.it/1iwd662
@r_php
Example:
<?php
namespace App\Filament\Resources;
use App\Enums\{CourseStatus, RegistrationStatus};
use App\Http\Controllers\CourseController;
use App\Models\Course;
use App\Filament\Resources\CourseResource\Pages\{ListCourses, ManageCourse};
use App\Filament\Resources\CourseResource\RelationManagers\RegistrationRelationManager;
use BezhanSalleh\FilamentShield\Contracts\HasShieldPermissions;
use Filament\Forms\Components\{DatePicker, DateTimePicker, Placeholder, TextInput};
use Filament\Forms\Form;
use Filament\Notifications\Notification;
use Filament\Resources\Resource;
use Filament\Tables\Actions\{Action, EditAction};
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Filters\{Filter, SelectFilter, TrashedFilter};
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Carbon;
https://redd.it/1iwd662
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
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/1iwg55g
@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/1iwg55g
@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.
Ae you bullish on Laravel?
Howdy r/Laravel!
As the noscript states, I’m curious about the fine folks here opinion of the future of Laravel in terms of community and job security. TL;DR at the end, but to summarize the massive wall of text below, I’m a .NET/TS dev looking to make the jump to Laravel/PHP.
Some background:
I’m coming up on almost a decade of employment as a professional developer. The majority of my time has been spent in .NET, Java, and JS/TS. I’ve even had a brief stint working on embedded systems, and have worked up and down the stack, from the frontend down the depths of DevOps and databases.
The last four or five years of my career, I’ve been primarily working in the Microsoft™️ stack, and to cut a long story short, I’m growing fairly disdainful of it as the days go on. Everything these days just feels so… Microsoft-y. Don’t get me wrong, I love C# as a language, but I’m burning out on the typical way over engineered enterprise-y apps that I work on that have been hacked on by thousands of devs over the years to create an amalgamation of absolute code chaos.
I picked up PHP and Laravel about two years ago while on paternity leave to learn something new and keep myself sane. That quickly grew into an obsession and I’ve been spending damn near all of my spare/open source time writing PHP. Small utility packages, Laravel side projects and libraries, and even small business websites around my town with Statamic. I’ve been watching every Laracon talk and trying to be somewhat active in the Laravel communities on Discord/X/Bluesky.
I’ve been loving the solo builder/entrepreneurial spirit of Laravel and its ecosystem, identifying more with its community and general sentiment that that of .NET. In essence, I’m all in on Laravel.
I never took a “real” chance at Laravel jobs until recently, and after punching out a few applications, I have a pretty good response rate so far and have some interviews lined up. I’ve been pretty picky about the jobs I’ve been applying too as I can’t afford to take a pay cut at the moment being the sole breadwinner between my wife and I. I’ve noticed that PHP/Laravel salaries tend to be a good bit below the .NET/TS market for developers, and I’m nervous about taking a jump if the opportunity presents itself to side step (pay-wise) into a Laravel role.
I have an opportunity with a company that seems pretty cool and tapped into the Laravel community. My nervousness is kicking in though as I’ve only been at my current company for about 9 months, a gigantic F500 with a mega old legacy monolith that I was baited to working on. The promise was working on newer microservice-based stuff, but that hasn’t come to fruition and is not looking likely in the near future. Pile on a metric shitload of red tape and bureaucracy, and I’m basically a well paid code janitor at the moment. It’s done nothing but accelerate my growing annoyance of .NET and its surrounding ecosystem.
With all that said, I’d love to get the community’s opinion(s) on Laravel and PHP, from past, present and future. Do you feel like the growing momentum Laravel has had over the past few years will sustain? In your opinion, what’s the outlook of PHP and Laravel over the next few years?
Thanks everyone!
TL;DR - I’m a TS/.NET career sellout and want to transition into Laravel/PHP. I have an opportunity to do so, but I’m getting cold feet.
https://redd.it/1iwp0o4
@r_php
Howdy r/Laravel!
As the noscript states, I’m curious about the fine folks here opinion of the future of Laravel in terms of community and job security. TL;DR at the end, but to summarize the massive wall of text below, I’m a .NET/TS dev looking to make the jump to Laravel/PHP.
Some background:
I’m coming up on almost a decade of employment as a professional developer. The majority of my time has been spent in .NET, Java, and JS/TS. I’ve even had a brief stint working on embedded systems, and have worked up and down the stack, from the frontend down the depths of DevOps and databases.
The last four or five years of my career, I’ve been primarily working in the Microsoft™️ stack, and to cut a long story short, I’m growing fairly disdainful of it as the days go on. Everything these days just feels so… Microsoft-y. Don’t get me wrong, I love C# as a language, but I’m burning out on the typical way over engineered enterprise-y apps that I work on that have been hacked on by thousands of devs over the years to create an amalgamation of absolute code chaos.
I picked up PHP and Laravel about two years ago while on paternity leave to learn something new and keep myself sane. That quickly grew into an obsession and I’ve been spending damn near all of my spare/open source time writing PHP. Small utility packages, Laravel side projects and libraries, and even small business websites around my town with Statamic. I’ve been watching every Laracon talk and trying to be somewhat active in the Laravel communities on Discord/X/Bluesky.
I’ve been loving the solo builder/entrepreneurial spirit of Laravel and its ecosystem, identifying more with its community and general sentiment that that of .NET. In essence, I’m all in on Laravel.
I never took a “real” chance at Laravel jobs until recently, and after punching out a few applications, I have a pretty good response rate so far and have some interviews lined up. I’ve been pretty picky about the jobs I’ve been applying too as I can’t afford to take a pay cut at the moment being the sole breadwinner between my wife and I. I’ve noticed that PHP/Laravel salaries tend to be a good bit below the .NET/TS market for developers, and I’m nervous about taking a jump if the opportunity presents itself to side step (pay-wise) into a Laravel role.
I have an opportunity with a company that seems pretty cool and tapped into the Laravel community. My nervousness is kicking in though as I’ve only been at my current company for about 9 months, a gigantic F500 with a mega old legacy monolith that I was baited to working on. The promise was working on newer microservice-based stuff, but that hasn’t come to fruition and is not looking likely in the near future. Pile on a metric shitload of red tape and bureaucracy, and I’m basically a well paid code janitor at the moment. It’s done nothing but accelerate my growing annoyance of .NET and its surrounding ecosystem.
With all that said, I’d love to get the community’s opinion(s) on Laravel and PHP, from past, present and future. Do you feel like the growing momentum Laravel has had over the past few years will sustain? In your opinion, what’s the outlook of PHP and Laravel over the next few years?
Thanks everyone!
TL;DR - I’m a TS/.NET career sellout and want to transition into Laravel/PHP. I have an opportunity to do so, but I’m getting cold feet.
https://redd.it/1iwp0o4
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel 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/1iwtfg5
@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/1iwtfg5
@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/1iww2wk
@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/1iww2wk
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Tempest alpha 5 is now released with PHP 8.4 support, improved console styling and components, Vite support, and much more
https://tempestphp.com/blog/alpha-5/
https://redd.it/1iwwytz
@r_php
https://tempestphp.com/blog/alpha-5/
https://redd.it/1iwwytz
@r_php
Tempestphp
Tempest Alpha 5 | Tempest
Laravel Cloud - Hype train "woo woo!"
Anyone else super hyped for the Laravel Cloud release today? Can't wait to be a Guinea pig :-)
https://redd.it/1iwzzwi
@r_php
Anyone else super hyped for the Laravel Cloud release today? Can't wait to be a Guinea pig :-)
https://redd.it/1iwzzwi
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Generics - fully user space implementation with runtime type checking [post feedback into repo issues]
https://github.com/grikdotnet/generics
https://redd.it/1ix04o0
@r_php
https://github.com/grikdotnet/generics
https://redd.it/1ix04o0
@r_php
GitHub
GitHub - grikdotnet/generics: PHP implementation of the generic programming
PHP implementation of the generic programming. Contribute to grikdotnet/generics development by creating an account on GitHub.
SymfonyLive Paris 2025 : Du lego de composants pour un bundle Gotenberg !
https://symfony.com/blog/symfonylive-paris-2025-du-lego-de-composants-pour-un-bundle-gotenberg?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1ix2o0i
@r_php
https://symfony.com/blog/symfonylive-paris-2025-du-lego-de-composants-pour-un-bundle-gotenberg?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1ix2o0i
@r_php
Symfony
SymfonyLive Paris 2025 : Du lego de composants pour un bundle Gotenberg ! (Symfony Blog)
Generate PDFs effortlessly in Symfony with Hubert Lenoir and Adrien Roches! Discover how Gotenberg and a custom bundle enhance DX, simplify config, and streamline async PDF generation
Laravel 12 has been released!
https://github.com/laravel/laravel/releases/tag/v12.0.0
https://redd.it/1ix2ipf
@r_php
https://github.com/laravel/laravel/releases/tag/v12.0.0
https://redd.it/1ix2ipf
@r_php
GitHub
Release v12.0.0 · laravel/laravel
[12.x] Prep Laravel v12 by @driesvints in #6357
Upgrade to Tailwind CSS v4.0 by @datlechin in #6523
[12.x] Update skeleton dependencies by @crynobone in #6532
Improve static analysis by adding type...
Upgrade to Tailwind CSS v4.0 by @datlechin in #6523
[12.x] Update skeleton dependencies by @crynobone in #6532
Improve static analysis by adding type...
Official Laravel VSCode Extension is now stable
https://preview.redd.it/n6v9rx8193le1.png?width=1004&format=png&auto=webp&s=42c06b252fa754502ad8ea5f866d38bbfa73ce21
https://redd.it/1ix1y7c
@r_php
https://preview.redd.it/n6v9rx8193le1.png?width=1004&format=png&auto=webp&s=42c06b252fa754502ad8ea5f866d38bbfa73ce21
https://redd.it/1ix1y7c
@r_php
New Laravel website. First impressions.
First impression ? Bad.
After re-evaluation? Fu*king horrible.
Hijacked scroll, you need to scroll 5 times to move out of a section.
Page down to navigate? Good luck, you will "miss" information that's only visible after you "scroll" a specific section of the page.
Mobile ? I am not even going to start here.
Disc: This is my opinion and does not reflect the opinion of any of my peers.
https://redd.it/1ix4g5k
@r_php
First impression ? Bad.
After re-evaluation? Fu*king horrible.
Hijacked scroll, you need to scroll 5 times to move out of a section.
Page down to navigate? Good luck, you will "miss" information that's only visible after you "scroll" a specific section of the page.
Mobile ? I am not even going to start here.
Disc: This is my opinion and does not reflect the opinion of any of my peers.
https://redd.it/1ix4g5k
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
The goal of good practices
https://sarvendev.com/posts/the-goal-of-good-practices/
https://redd.it/1ix9py6
@r_php
https://sarvendev.com/posts/the-goal-of-good-practices/
https://redd.it/1ix9py6
@r_php
Kamil Ruczyński
The goal of good practices
Recently I had a discussion about violating of some SOLID principles, which made me think about the goal of these practices, and other good practices in general. It forced me to think about it, because we weren’t talking about consequences of these violations…
Am I the only a bit sad that there is no more a classic Blade MVC starter-kit?
I skimmed through the new starter kits (React, Vue and Livewire) and I like the idea. I think they partially solve the fragmentation problem and confusion that Breeze + Jetstream caused when first launched.
However, I think that they overcomplicate things and for simple applications they are an overkill. I liked the Blade template for breeze because it was "a breeze" to install and super simple to get started with classic MVC apps. Now there is no more a classic MVC approach and I think it would be great to have that for simpler apps that have a lot of backend logic but not too much reactivity.
What do you think?
https://redd.it/1ix6uox
@r_php
I skimmed through the new starter kits (React, Vue and Livewire) and I like the idea. I think they partially solve the fragmentation problem and confusion that Breeze + Jetstream caused when first launched.
However, I think that they overcomplicate things and for simple applications they are an overkill. I liked the Blade template for breeze because it was "a breeze" to install and super simple to get started with classic MVC apps. Now there is no more a classic MVC approach and I think it would be great to have that for simpler apps that have a lot of backend logic but not too much reactivity.
What do you think?
https://redd.it/1ix6uox
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
I've just released v1.0 of Sprout, a multitenancy package for Laravel
https://sprout.ollieread.com/
https://redd.it/1ix9akl
@r_php
https://sprout.ollieread.com/
https://redd.it/1ix9akl
@r_php
Sprout - Multitenancy for Laravel
Feature rich, flexible, and easy to use multitenancy package that integrates seamlessly with your Laravel application
Grapheme: A PHP package to measure the width of unicode strings rendered to a terminal.
https://github.com/soloterm/grapheme
https://redd.it/1ixid4x
@r_php
https://github.com/soloterm/grapheme
https://redd.it/1ixid4x
@r_php
GitHub
GitHub - soloterm/grapheme: A PHP package to measure the width of unicode strings rendered to a terminal.
A PHP package to measure the width of unicode strings rendered to a terminal. - soloterm/grapheme
Grapheme: A PHP package to measure the width of unicode strings rendered to a terminal.
https://github.com/soloterm/grapheme
https://redd.it/1ixicq6
@r_php
https://github.com/soloterm/grapheme
https://redd.it/1ixicq6
@r_php
GitHub
GitHub - soloterm/grapheme: A PHP package to measure the width of unicode strings rendered to a terminal.
A PHP package to measure the width of unicode strings rendered to a terminal. - soloterm/grapheme