Laravel inside Wordpress?
Has the thought ever occurred to your mind If Laravel can be used as headless framework as a package inside the WordPress? If someone trys to do that, what issues could he come across?
https://redd.it/1jq7en8
@r_php
Has the thought ever occurred to your mind If Laravel can be used as headless framework as a package inside the WordPress? If someone trys to do that, what issues could he come across?
https://redd.it/1jq7en8
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Will the EUs two-stage reciprocal tariff on US services effect the price of LC?
Sophie Primas told they will target US services in Europe in two stages. How will that effect the price of LC for European customers and world customers? Will the prices rise? Can anybody from the LC team respond, please?
Mainly this is concerning:
"But we are also going to attack services. For example, online services, which are not taxed today but could be," Primas said.
https://redd.it/1jqbv6v
@r_php
Sophie Primas told they will target US services in Europe in two stages. How will that effect the price of LC for European customers and world customers? Will the prices rise? Can anybody from the LC team respond, please?
Mainly this is concerning:
"But we are also going to attack services. For example, online services, which are not taxed today but could be," Primas said.
https://redd.it/1jqbv6v
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Mastering Laravel Streamed Responses: Boost Performance with Fast Data
https://codingtricks.co/posts/mastering-laravel-streamed-responses-boost-performance-with-fast-data-delivery
https://redd.it/1jqd805
@r_php
https://codingtricks.co/posts/mastering-laravel-streamed-responses-boost-performance-with-fast-data-delivery
https://redd.it/1jqd805
@r_php
codingtricks.co
Mastering Laravel Streamed Responses: Boost Performance with Fast Data Delivery - CodingTricks
Learn Laravel’s streamed responses—stream(), streamJson(), and eventStream()—to send data faster, save memory, and build real-time features like live dashboards
SMTP authentication problem with Symfony Mailer and Mailtrap
0
I am working on a Dockerized Symfony 7.2 project based on [this GitHub repository](https://github.com/dunglas/symfony-docker/tree/main) and I would like to install Mailtrap to send and test emails.
# What I did
1. I followed the documentation provided for installing `symfony/mailer`.
2. I created an account on Mailtrap and included the `MAILER_DSN` line provided by the platform in my `.env` and `.env.dev` files:
MAILER_DSN="smtp://19b3103b9f82b0:****4d7f@sandbox.smtp.mailtrap.io:2525"
1. I then added a very basic email sending code to test if it was working:
$email = (new Email())
->from('hello@example.com')
->to('you@example.com')
->subject('Test mailer')
->text('Lorem ipsum dolor sit amet, consectetur adipiscing elit.');
$mailer->send($email);
When I try to send the email, I receive the following error:
Failed to authenticate on SMTP server with username "19b3103b9f82b0" using the following authenticators: "CRAM-MD5", "LOGIN", "PLAIN". Authenticator "CRAM-MD5" returned "Expected response code "235" but got code "535", with message "535 5.7.0 Invalid credentials".". Authenticator "LOGIN" returned "Expected response code "334" but got empty code.". Authenticator "PLAIN" returned "Expected response code "235" but got empty code."
But in the Symfony toolbar, i can see that the email seems to have been send :
https://preview.redd.it/bv5950m5rmse1.png?width=1228&format=png&auto=webp&s=d85d33c754ac2cda939f4d7fc25373259ca806bb
# What I have tried
1. I verified the Mailtrap credentials.
2. I tried with and without quotes around the `MAILER_DSN` value.
3. I tested with this simple PHP noscript using `symfony/mailer` outside of Symfony, but it gives me the same error.
<?php
use Symfony\Component\Mailer\Transport;
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mime\Email;
require 'vendor/autoload.php';
$transport = Transport::fromDsn('smtp://19b3103b9f82b0:****4d7f@sandbox.smtp.mailtrap.io:2525');
$mailer = new Mailer($transport);
$email = (new Email())
->from('hello@example.com')
->to('you@example.com')
->subject('Test mailer')
->text('Lorem ipsum dolor sit amet, consectetur adipiscing elit.');
$mailer->send($email);
echo "Email sent successfully!";
?>
1. I checked my configuration in `config/packages/mailer.yaml`:
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
1. I tried changing the port to 587, but it didn't solve the issue.
2. I tried using STARTTLS, but still got the same error.
3. I tested the SMTP connection with `telnet`:
telnet sandbox.smtp.mailtrap.io 2525
It returns:
Trying 18.215.44.90...
Connected to sandbox.smtp.mailtrap.io.
Escape character is '^]'.
220 smtp.mailtrap.io ESMTP ready
Connection closed by foreign host. (This line appears after about 1 minute)
# Question
How can I resolve this SMTP authentication problem with Mailtrap and Symfony Mailer? Is there something I missed or another configuration I should check?
https://redd.it/1jqjw2s
@r_php
0
I am working on a Dockerized Symfony 7.2 project based on [this GitHub repository](https://github.com/dunglas/symfony-docker/tree/main) and I would like to install Mailtrap to send and test emails.
# What I did
1. I followed the documentation provided for installing `symfony/mailer`.
2. I created an account on Mailtrap and included the `MAILER_DSN` line provided by the platform in my `.env` and `.env.dev` files:
MAILER_DSN="smtp://19b3103b9f82b0:****4d7f@sandbox.smtp.mailtrap.io:2525"
1. I then added a very basic email sending code to test if it was working:
$email = (new Email())
->from('hello@example.com')
->to('you@example.com')
->subject('Test mailer')
->text('Lorem ipsum dolor sit amet, consectetur adipiscing elit.');
$mailer->send($email);
When I try to send the email, I receive the following error:
Failed to authenticate on SMTP server with username "19b3103b9f82b0" using the following authenticators: "CRAM-MD5", "LOGIN", "PLAIN". Authenticator "CRAM-MD5" returned "Expected response code "235" but got code "535", with message "535 5.7.0 Invalid credentials".". Authenticator "LOGIN" returned "Expected response code "334" but got empty code.". Authenticator "PLAIN" returned "Expected response code "235" but got empty code."
But in the Symfony toolbar, i can see that the email seems to have been send :
https://preview.redd.it/bv5950m5rmse1.png?width=1228&format=png&auto=webp&s=d85d33c754ac2cda939f4d7fc25373259ca806bb
# What I have tried
1. I verified the Mailtrap credentials.
2. I tried with and without quotes around the `MAILER_DSN` value.
3. I tested with this simple PHP noscript using `symfony/mailer` outside of Symfony, but it gives me the same error.
<?php
use Symfony\Component\Mailer\Transport;
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mime\Email;
require 'vendor/autoload.php';
$transport = Transport::fromDsn('smtp://19b3103b9f82b0:****4d7f@sandbox.smtp.mailtrap.io:2525');
$mailer = new Mailer($transport);
$email = (new Email())
->from('hello@example.com')
->to('you@example.com')
->subject('Test mailer')
->text('Lorem ipsum dolor sit amet, consectetur adipiscing elit.');
$mailer->send($email);
echo "Email sent successfully!";
?>
1. I checked my configuration in `config/packages/mailer.yaml`:
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
1. I tried changing the port to 587, but it didn't solve the issue.
2. I tried using STARTTLS, but still got the same error.
3. I tested the SMTP connection with `telnet`:
telnet sandbox.smtp.mailtrap.io 2525
It returns:
Trying 18.215.44.90...
Connected to sandbox.smtp.mailtrap.io.
Escape character is '^]'.
220 smtp.mailtrap.io ESMTP ready
Connection closed by foreign host. (This line appears after about 1 minute)
# Question
How can I resolve this SMTP authentication problem with Mailtrap and Symfony Mailer? Is there something I missed or another configuration I should check?
https://redd.it/1jqjw2s
@r_php
GitHub
GitHub - dunglas/symfony-docker: A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`. - dunglas/symfony-docker
Making my project more recent php conventional
Hey,
Had started this project few years back. It is a Laravel based project trying to make a simple invoicing, finance tracking and other featrures.
Wrote code to make it work at least, and after sharing the code in github and sharing got feedbacks, one of which was to make the php code more recent with type hinting, return types, and more. Still working on updating the code and there is still lots of part to update the code. However the php code I have updated quite a few bits.
Wanted to share it here again, as i said many parts still need updates, and many bugs to fix yet though keeping it a work in progress.
https://github.com/oitcode/samarium
Thanks.
https://redd.it/1jqlw9m
@r_php
Hey,
Had started this project few years back. It is a Laravel based project trying to make a simple invoicing, finance tracking and other featrures.
Wrote code to make it work at least, and after sharing the code in github and sharing got feedbacks, one of which was to make the php code more recent with type hinting, return types, and more. Still working on updating the code and there is still lots of part to update the code. However the php code I have updated quite a few bits.
Wanted to share it here again, as i said many parts still need updates, and many bugs to fix yet though keeping it a work in progress.
https://github.com/oitcode/samarium
Thanks.
https://redd.it/1jqlw9m
@r_php
GitHub
GitHub - shyamsitaula/samarium: Open-source business management system with ERP, POS, invoicing, and CMS features. Laravel-based…
Open-source business management system with ERP, POS, invoicing, and CMS features. Laravel-based, Docker-ready. Still in active development. - shyamsitaula/samarium
A cookieless, cache-friendly image proxy in Laravel (inspired by Cloudflare)
https://aaronfrancis.com/2025/a-cookieless-cache-friendly-image-proxy-in-laravel-inspired-by-cloudflare-9e95f7e0
https://redd.it/1jqwm4i
@r_php
https://aaronfrancis.com/2025/a-cookieless-cache-friendly-image-proxy-in-laravel-inspired-by-cloudflare-9e95f7e0
https://redd.it/1jqwm4i
@r_php
Aaronfrancis
A cookieless, cache-friendly image proxy in Laravel (inspired by Cloudflare) - Aaron Francis
Transforming and serving images from Laravel in a cache-friendly way.
Laravel 12 User Account Suspension Functionality
https://youtu.be/LMJP3ngeNp0?si=9mRbe-V32Tr1-ptF
https://redd.it/1jr5n97
@r_php
https://youtu.be/LMJP3ngeNp0?si=9mRbe-V32Tr1-ptF
https://redd.it/1jr5n97
@r_php
YouTube
Laravel 12 User Account Suspension Functionality
In this video, I'll demonstrate how to ban, revoke, suspend, and unsuspend user accounts in a Laravel 12 application.
#laravel #laravel12 #suspend
#laravel #laravel12 #suspend
Does Laravel Cloud support DEI?
I mean diversity, equity, and inclusion (DEI) program for treatment of people.
Where can I read about that?
https://redd.it/1jr5r1q
@r_php
I mean diversity, equity, and inclusion (DEI) program for treatment of people.
Where can I read about that?
https://redd.it/1jr5r1q
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Josh, some feedback for your videos
No youtube account to comment there, so commenting here. The video about Nightwatch was hard to watch and I was constantly skipping bits. Jess's audio sounds fine on the other hand. I think it was a combination of going overkill with your mic setup, it almost sounds like you are modifying your voice, too loud at times especially with the frequent "ok" style filler. Also the lighting setup is rather distracting. Main complaint: the focus should be on the guests if you are just facilitating.
https://redd.it/1jror4i
@r_php
No youtube account to comment there, so commenting here. The video about Nightwatch was hard to watch and I was constantly skipping bits. Jess's audio sounds fine on the other hand. I think it was a combination of going overkill with your mic setup, it almost sounds like you are modifying your voice, too loud at times especially with the frequent "ok" style filler. Also the lighting setup is rather distracting. Main complaint: the focus should be on the guests if you are just facilitating.
https://redd.it/1jror4i
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Tagging the first release of my web monitoring application written in Laravel - Vigilant
https://govigilant.io/articles/tagging-the-first-release-of-vigilant
https://redd.it/1jryvpp
@r_php
https://govigilant.io/articles/tagging-the-first-release-of-vigilant
https://redd.it/1jryvpp
@r_php
Reddit
From the laravel community on Reddit: Tagging the first release of my web monitoring application written in Laravel - Vigilant
Posted by DutchBytes - 4 votes and 0 comments
How Can I Meet These Job Requirements and Advance to a Senior Fullstack Developer?
What should I learn to improve my skills (for example, to reach a senior level)? I'm planning to master PHP and Node.js, diving deep into technology (meaning I want to understand every concept in PHP and Node.js). I'm also learning Vue.js. My goal is to become a fullstack developer. I’ve noticed that the projects I worked on during university were mostly focused on business logic and primarily CRUD operations. I’ve also studied Docker—while I’m not proficient with it yet, I do understand the concepts well enough to work with it. The image below is a job requirement I found online. How can I meet these requirements?
"Required skills:
1+ years of PHP development experience.
Hands-on experience working with PHP frameworks Laravel, Slim.
Familiar with SOLID principles, design patterns, Domain Driven Design.
Experience working with queue system (RabbitMQ, Kafka).
Experience working with cache system (Redis, Memcache).
Experience working with Nginx as proxy.
Experience working with container environment: docker, docker-compose, Kubernetes.
Experience working with Linux environment.
Experience with different databases. Relational (eg. PostgreSQL, MySQL) or NoSQL (eg. MongoDB, …).
Extensive REST API development experience.
Attention to detail and demonstrable design and UX sensibilities.
Excellent verbal and written communication skills, a team player with strong analytical, problem solving, debugging, and troubleshooting skills.
"
https://redd.it/1jrzri2
@r_php
What should I learn to improve my skills (for example, to reach a senior level)? I'm planning to master PHP and Node.js, diving deep into technology (meaning I want to understand every concept in PHP and Node.js). I'm also learning Vue.js. My goal is to become a fullstack developer. I’ve noticed that the projects I worked on during university were mostly focused on business logic and primarily CRUD operations. I’ve also studied Docker—while I’m not proficient with it yet, I do understand the concepts well enough to work with it. The image below is a job requirement I found online. How can I meet these requirements?
"Required skills:
1+ years of PHP development experience.
Hands-on experience working with PHP frameworks Laravel, Slim.
Familiar with SOLID principles, design patterns, Domain Driven Design.
Experience working with queue system (RabbitMQ, Kafka).
Experience working with cache system (Redis, Memcache).
Experience working with Nginx as proxy.
Experience working with container environment: docker, docker-compose, Kubernetes.
Experience working with Linux environment.
Experience with different databases. Relational (eg. PostgreSQL, MySQL) or NoSQL (eg. MongoDB, …).
Extensive REST API development experience.
Attention to detail and demonstrable design and UX sensibilities.
Excellent verbal and written communication skills, a team player with strong analytical, problem solving, debugging, and troubleshooting skills.
"
https://redd.it/1jrzri2
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Migrating from Vapor to Laravel Cloud
To what degree is this supported currently?
My team has a production app hosted on Vapor, and we are considering making this move.
Is there anything we should know?
Has anyone tried doing this yet?
Any thoughts would be greatly appreciated
Thank you
https://redd.it/1jsdg7v
@r_php
To what degree is this supported currently?
My team has a production app hosted on Vapor, and we are considering making this move.
Is there anything we should know?
Has anyone tried doing this yet?
Any thoughts would be greatly appreciated
Thank you
https://redd.it/1jsdg7v
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
How would you tackle missing knowledge of Symfony?
Hi. I have some question. I'm developer with 15 years of professional experiences. Not only php, but also C#, unity, js ecosystem including react, some python, lua, etc. In php i worked with custom MVC frameworks, a little bit of cakephp and codeigniter. I even have opensource project (driver library) with almost half million downloads on packagist. But i never worked on project with Symfony. When I'm looking for new job, it feels like everything is about symfony and laravel. I went through manual of both and laravel feels like is relying too much on magic under the hood. So i would go with symfony. But without experiences i feel like i cannot get job in php. I don't have time to create own project and learn it. What would you do?
https://redd.it/1jsm5ud
@r_php
Hi. I have some question. I'm developer with 15 years of professional experiences. Not only php, but also C#, unity, js ecosystem including react, some python, lua, etc. In php i worked with custom MVC frameworks, a little bit of cakephp and codeigniter. I even have opensource project (driver library) with almost half million downloads on packagist. But i never worked on project with Symfony. When I'm looking for new job, it feels like everything is about symfony and laravel. I went through manual of both and laravel feels like is relying too much on magic under the hood. So i would go with symfony. But without experiences i feel like i cannot get job in php. I don't have time to create own project and learn it. What would you do?
https://redd.it/1jsm5ud
@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/1jsyt4j
@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/1jsyt4j
@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.
Testing Laravel Wayfinder on a Laravel Starter Kit
https://youtu.be/Zj2H05eTljo
https://redd.it/1jt0hem
@r_php
https://youtu.be/Zj2H05eTljo
https://redd.it/1jt0hem
@r_php
YouTube
Testing Laravel Wayfinder on a Laravext Project
In this video we'll be taking a look at Laravel Wayfinder, a first-party package that, according to it's creators: "[...] bridges your Laravel backend and TypeScript frontend with zero friction.".
Laravel Wayfinder on Github: https://github.com/laravel/wayfinder…
Laravel Wayfinder on Github: https://github.com/laravel/wayfinder…
Looking for work... 15+ years experience
I have more than 15 years of experience. Message me if you know of a position. Thanks
https://redd.it/1jt4zvp
@r_php
I have more than 15 years of experience. Message me if you know of a position. Thanks
https://redd.it/1jt4zvp
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Symfony meetup: Join Nicolas Grekas in Tunis on April 12th!
https://symfony.com/blog/symfony-meetup-join-nicolas-grekas-in-tunis-on-april-12th?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jt8alw
@r_php
https://symfony.com/blog/symfony-meetup-join-nicolas-grekas-in-tunis-on-april-12th?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jt8alw
@r_php
Symfony
Symfony meetup: Join Nicolas Grekas in Tunis on April 12th! (Symfony Blog)
Join Nicolas Grekas, Imen Ezzine and Asma Ayari at the next Symfony Meetup in Tunis on April 12!
A Week of Symfony #953 (March 31 – April 6, 2025)
https://symfony.com/blog/a-week-of-symfony-953-march-31-april-6-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jt8alr
@r_php
https://symfony.com/blog/a-week-of-symfony-953-march-31-april-6-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jt8alr
@r_php
Symfony
A Week of Symfony #953 (March 31 – April 6, 2025) (Symfony Blog)
This week, the upcoming Symfony 7.3 version entered its feature freeze period to tweak and polish its new features before releasing it at the end of May 2025. In addition, we celebrated the SymfonyLiv…
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/1jtbqut
@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/1jtbqut
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Laravel Not Reading .env? Here’s The Right Way to Manage Your App Settings
https://backpackforlaravel.com/articles/tutorials/laravel-not-reading-env-here-s-the-right-way-to-manage-your-app-settings
https://redd.it/1jtdx5a
@r_php
https://backpackforlaravel.com/articles/tutorials/laravel-not-reading-env-here-s-the-right-way-to-manage-your-app-settings
https://redd.it/1jtdx5a
@r_php
Backpack
Laravel Not Reading .env? Here’s The Right Way to Manage Your App Settings
If you’ve been working with Laravel, you’ve probably used env() to pull values from your .env file. You’ve also seen config() being use...
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/1jtedf1
@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/1jtedf1
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community