NativePHP for desktop v1 is finally here! 🚀
https://github.com/orgs/NativePHP/discussions/547
https://redd.it/1juv61v
@r_php
https://github.com/orgs/NativePHP/discussions/547
https://redd.it/1juv61v
@r_php
GitHub
NativePHP for desktop `v1` is finally here! · NativePHP · Discussion #547
🎉 WE DID IT! We finally got to v1. I almost don't believe it! This is an awesome milestone. For a project that started as just an idea, to see it reach a truly stable place and support building...
Samarium v0.9.5 - Improvements and fixes (Search implemented, npm issues fixed, more DB seeding, more blade components, UI updates)
Hello All,
Made some improvements and fixes during mid March to now to the Laravel and Livewire based project I have been developing. Wanted to share version 0.9.5 with you all.
It is a billing/finance tracking application with ERP like features.
https://github.com/oitcode/samarium
|Area|Improvements|
|:-|:-|
|Search|Basic search implemented for product, sale invoice, customer, vendor, webpages, posts. |
|npm security warning fixes|Updated npm packages so many security warnings during npm install are fixed.|
|Blade components|More blade components. Easier to update all at once now. Still need to create more components.|
|Test Code|Added more test code.|
|Database seeding|There were some issues with the database seeding. It is fixed now.|
|Product display UI updates|UI is update for product display in both admin panel and the website.|
|Misc updates|Sale invoice create minor bug fix, misc updates.|
Dashboard with changed colors
It is a work in progress, but still sharing the update here.
Feedback, comments and/or contributions are highly appreciated.
Thanks.
https://redd.it/1jv00m7
@r_php
Hello All,
Made some improvements and fixes during mid March to now to the Laravel and Livewire based project I have been developing. Wanted to share version 0.9.5 with you all.
It is a billing/finance tracking application with ERP like features.
https://github.com/oitcode/samarium
|Area|Improvements|
|:-|:-|
|Search|Basic search implemented for product, sale invoice, customer, vendor, webpages, posts. |
|npm security warning fixes|Updated npm packages so many security warnings during npm install are fixed.|
|Blade components|More blade components. Easier to update all at once now. Still need to create more components.|
|Test Code|Added more test code.|
|Database seeding|There were some issues with the database seeding. It is fixed now.|
|Product display UI updates|UI is update for product display in both admin panel and the website.|
|Misc updates|Sale invoice create minor bug fix, misc updates.|
Dashboard with changed colors
It is a work in progress, but still sharing the update here.
Feedback, comments and/or contributions are highly appreciated.
Thanks.
https://redd.it/1jv00m7
@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
PHP AI Agent Summarizing YouTube Videos
https://inspector.dev/php-ai-agent-summarizing-youtube-videos/
https://redd.it/1jv1emh
@r_php
https://inspector.dev/php-ai-agent-summarizing-youtube-videos/
https://redd.it/1jv1emh
@r_php
Automatic Relation Loading (Eager Loading) in Laravel 12.8
https://nabilhassen.com/automatic-relation-loading-eager-loading-in-laravel-128
https://redd.it/1jv2eqk
@r_php
https://nabilhassen.com/automatic-relation-loading-eager-loading-in-laravel-128
https://redd.it/1jv2eqk
@r_php
Nabilhassen
Automatic Relation Loading (Eager Loading) in Laravel 12.8
Laravel now includes automatic relationship loading, letting you access nested relationships without manually specifying them.
NativePHP for desktop v1 is finally here! 🚀
https://github.com/orgs/NativePHP/discussions/547
https://redd.it/1jv3h0w
@r_php
https://github.com/orgs/NativePHP/discussions/547
https://redd.it/1jv3h0w
@r_php
GitHub
NativePHP for desktop `v1` is finally here! · NativePHP · Discussion #547
🎉 WE DID IT! We finally got to v1. I almost don't believe it! This is an awesome milestone. For a project that started as just an idea, to see it reach a truly stable place and support building...
Anyone using HTMx on your PHP project?
I applied HTMx to my WordPress project (PHP). When a user clicks an item on the image, the details of the Item show instantly. I like HTMx! https://setupflex.com/
Who else is using HTMx in their project?
https://redd.it/1jv5ldf
@r_php
I applied HTMx to my WordPress project (PHP). When a user clicks an item on the image, the details of the Item show instantly. I like HTMx! https://setupflex.com/
Who else is using HTMx in their project?
https://redd.it/1jv5ldf
@r_php
SetupFlex
SetupFlex | List of Desk Setups to help you get inspiration.
We list Desk Setups to help you get inspiration.Each setup has details on the items...
Generating Types for Your Frontend with Laravel Wayfinder
https://youtu.be/UMqSDRe2oH8
https://redd.it/1jv950f
@r_php
https://youtu.be/UMqSDRe2oH8
https://redd.it/1jv950f
@r_php
YouTube
Generating Types for Your Frontend with Laravel Wayfinder
Using types is just one of many ways to eliminate as many errors in your code as possible. So how can Laravel help?
Meet Laravel Wayfinder.
Laravel Wayfinder bridges your Laravel backend and TypeScript frontend with zero friction. It automatically generates…
Meet Laravel Wayfinder.
Laravel Wayfinder bridges your Laravel backend and TypeScript frontend with zero friction. It automatically generates…
Symfony developers in brasil
Aqui da comunidade quem é do brasil?
Who here in the community is from Brazil?
https://redd.it/1jvb5w6
@r_php
Aqui da comunidade quem é do brasil?
Who here in the community is from Brazil?
https://redd.it/1jvb5w6
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Time to make a basic program in PHP for WordPress
Hello. I wish to make a basic program in PHP that takes product attributes and can make Woo commerce combos based on product attributes. I wish to have this be my first program even though there maybe another on the market.
So how long to learn PHP coding to do a simple program such as this one?
https://redd.it/1jvinui
@r_php
Hello. I wish to make a basic program in PHP that takes product attributes and can make Woo commerce combos based on product attributes. I wish to have this be my first program even though there maybe another on the market.
So how long to learn PHP coding to do a simple program such as this one?
https://redd.it/1jvinui
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Upgrading Sensio Security Annotation: The Full Story
https://tomasvotruba.com/blog/upgrading-sensio-security-annotation-the-full-story
https://redd.it/1jvrakm
@r_php
https://tomasvotruba.com/blog/upgrading-sensio-security-annotation-the-full-story
https://redd.it/1jvrakm
@r_php
Tomasvotruba
Upgrading Sensio Security Annotation: The Full Story
The `@Security` annotation, which originated in the Sensio extra bundle, goes a long way. The official upgrade docs have a few misleading pointers, that force you to use unnecessary verbose language.
Fortunately, few hidden levels make code much less verbose…
Fortunately, few hidden levels make code much less verbose…
After All This Time, ChatGPT Still Blows My Mind and Sometimes Freaks Me Out (context in comments)
https://redd.it/1jvw56m
@r_php
https://redd.it/1jvw56m
@r_php
PHP RFC: Change default value for zend.exception_ignore_args
https://wiki.php.net/rfc/exception_ignore_args_default_value
https://redd.it/1jvxadr
@r_php
https://wiki.php.net/rfc/exception_ignore_args_default_value
https://redd.it/1jvxadr
@r_php
SymfonyOnline June 2025: What's New in Symfony 7.3
https://symfony.com/blog/symfonyonline-june-2025-what-s-new-in-symfony-7-3?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jw00g4
@r_php
https://symfony.com/blog/symfonyonline-june-2025-what-s-new-in-symfony-7-3?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1jw00g4
@r_php
Symfony
SymfonyOnline June 2025: What's New in Symfony 7.3 (Symfony Blog)
Join SymfonyOnline June 2025 to discover with Nicolas Grekas What's New in Symfony 7.3
Please review my new bundle, RICH, for building robust applications in Symfony
I've been using Symfony since 2012, and last year, I needed to build a new application that had both web and REST API components.
I was familiar with hexagonal architecture, domain driven design, CQRS, and event sourcing, but they all seemed overly complicated. I also knew about API Platform, but it seemed like overkill for basic REST APIs. Plus, I needed my application to support standard HTML web views and JSON API responses.
Through a lot of experimentation, I came up with a similar but simpler architecture I've named RICH: Request, Input, Command, Handler.
A request (from anywhere) is mapped onto an input object, once validated, the input object creates a command object, which is passed (either manually or via message queue) to a handler object which performs the actual business logic.
It's nothing groundbreaking, but I believe it's more flexible than the
I've written a lot more in the README and would love your thoughts and feedback.
https://github.com/1tomany/rich-bundle
https://redd.it/1jw1j51
@r_php
I've been using Symfony since 2012, and last year, I needed to build a new application that had both web and REST API components.
I was familiar with hexagonal architecture, domain driven design, CQRS, and event sourcing, but they all seemed overly complicated. I also knew about API Platform, but it seemed like overkill for basic REST APIs. Plus, I needed my application to support standard HTML web views and JSON API responses.
Through a lot of experimentation, I came up with a similar but simpler architecture I've named RICH: Request, Input, Command, Handler.
A request (from anywhere) is mapped onto an input object, once validated, the input object creates a command object, which is passed (either manually or via message queue) to a handler object which performs the actual business logic.
It's nothing groundbreaking, but I believe it's more flexible than the
#[MapRequestPayload] attribute that comes bundled with Symfony, and allows you to build robust applications easily.I've written a lot more in the README and would love your thoughts and feedback.
https://github.com/1tomany/rich-bundle
https://redd.it/1jw1j51
@r_php
GitHub
GitHub - 1tomany/rich-bundle: Symfony bundle that provides easy scaffolding to build RICH applications
Symfony bundle that provides easy scaffolding to build RICH applications - 1tomany/rich-bundle
[Historical PHP] Sep 2012: PHP 5, pre-composer, with DTOs, zero-depencency livestream timelapse, US corp income tax calculator
https://youtu.be/uCQYmNoICmg
https://redd.it/1jwj63c
@r_php
https://youtu.be/uCQYmNoICmg
https://redd.it/1jwj63c
@r_php
YouTube
PHP Coding: Fed Corp Income Tax Calculator [time lapse]
PHPU Lesson 5: Time-lapsed single 4 hour coding session that took place on Sep 1, 2012.
Demo URL: http://www.phpu.cc/repo/phpu-training/5.tax-calc/?debug=1
Source code: http://bazaar.launchpad.net/~theodore-phpexperts/phpu-training/trunk/view/head:/5.tax…
Demo URL: http://www.phpu.cc/repo/phpu-training/5.tax-calc/?debug=1
Source code: http://bazaar.launchpad.net/~theodore-phpexperts/phpu-training/trunk/view/head:/5.tax…
Symfony Mailer and Mailgun
Hello we are switching from SMTP to API for our mailer and mailgun.
Since SMTP is getting blocked by digitalocean.
https://preview.redd.it/dtveu9llx6ue1.png?width=1148&format=png&auto=webp&s=29a2addf94902156d0dcd2b87abdc4de9c2aa1ad
I am trying to establish connection but i always get errors.
We made Api key and domain Sending key ( api key ) we tested both but we cannot receive connection.
Any help is appreciated
MAILER_DSN=mailgun+api://api:8e459c1***************-******-*******@default?domain=example.eu
https://redd.it/1jwni3b
@r_php
Hello we are switching from SMTP to API for our mailer and mailgun.
Since SMTP is getting blocked by digitalocean.
https://preview.redd.it/dtveu9llx6ue1.png?width=1148&format=png&auto=webp&s=29a2addf94902156d0dcd2b87abdc4de9c2aa1ad
I am trying to establish connection but i always get errors.
We made Api key and domain Sending key ( api key ) we tested both but we cannot receive connection.
Any help is appreciated
MAILER_DSN=mailgun+api://api:8e459c1***************-******-*******@default?domain=example.eu
https://redd.it/1jwni3b
@r_php
Http Requests
Javanoscript / Node
fetch(file)
.then(x => x.text())
.then(y => myDisplay(y));
source: https://www.w3schools.com/js/js\_api\_fetch.asp
\------------------------
Python
import requests
x = requests.get('https://w3schools.com/python/demopage.htm')
source: https://www.w3schools.com/python/module\_requests.asp
\------------------------
PHP (w3school not available)
<?php
$ch = curlinit("http://www.example.com/");
$fp = fopen("examplehomepage.txt", "w");
curlsetopt($ch, CURLOPTFILE, $fp);
curlsetopt($ch, CURLOPTHEADER, 0);
curlexec($ch);
if(curlerror($ch)) {
fwrite($fp, curlerror($ch));
}
curlclose($ch);
fclose($fp);
Source: https://www.php.net/manual/en/curl.examples-basic.php
\------------------------------------------------
Unfortunately I can't make this into a meme for higher popularity, but decided to post anyway in case it sparks any community conversation. I really appreciate all of the improvements PHP has had between 7.0 up to 8.3 and I find it extremely dishonest when people want to talk shit about PHP when all they know is PHP from 2010 before Composer even existed. However, I've seen internals discussion around this subject and its often brushed off as "let userland do it".
I'm working on enhancements of PHP hosted on AWS Lambda and we can't install or assume Guzzle (or any HTTP library) is available. We have to rely on vanilla PHP and the complexity of trying to make a simple POST request using PHP is something that is intimidating for me with 15 years of experience working with PHP, imagine a newcomer that sees a comparison like this? How would they ever choose a PHP career over something else?
Thanks for listening to my rant.
https://redd.it/1jwogce
@r_php
Javanoscript / Node
fetch(file)
.then(x => x.text())
.then(y => myDisplay(y));
source: https://www.w3schools.com/js/js\_api\_fetch.asp
\------------------------
Python
import requests
x = requests.get('https://w3schools.com/python/demopage.htm')
source: https://www.w3schools.com/python/module\_requests.asp
\------------------------
PHP (w3school not available)
<?php
$ch = curlinit("http://www.example.com/");
$fp = fopen("examplehomepage.txt", "w");
curlsetopt($ch, CURLOPTFILE, $fp);
curlsetopt($ch, CURLOPTHEADER, 0);
curlexec($ch);
if(curlerror($ch)) {
fwrite($fp, curlerror($ch));
}
curlclose($ch);
fclose($fp);
Source: https://www.php.net/manual/en/curl.examples-basic.php
\------------------------------------------------
Unfortunately I can't make this into a meme for higher popularity, but decided to post anyway in case it sparks any community conversation. I really appreciate all of the improvements PHP has had between 7.0 up to 8.3 and I find it extremely dishonest when people want to talk shit about PHP when all they know is PHP from 2010 before Composer even existed. However, I've seen internals discussion around this subject and its often brushed off as "let userland do it".
I'm working on enhancements of PHP hosted on AWS Lambda and we can't install or assume Guzzle (or any HTTP library) is available. We have to rely on vanilla PHP and the complexity of trying to make a simple POST request using PHP is something that is intimidating for me with 15 years of experience working with PHP, imagine a newcomer that sees a comparison like this? How would they ever choose a PHP career over something else?
Thanks for listening to my rant.
https://redd.it/1jwogce
@r_php
W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.