php

Back Open Paginator
18.08.2025 17:26
SensioLabsOfficial (@SensioLabsOfficial@mastodon.social)

⏱️ One month to go until 🕸️

Can't wait to join the fantastic @ApiPlatform community in Lille on 18–19 Sept 🥳

🙌 Don't miss talks by Mathieu Santostefano & Imen Ezzine from the SensioLabs Tech Team

More info 👉 bit.ly/3JlOvST





Show Original Post


18.08.2025 17:07
Crell (@Crell@phpc.social)

Are you coming to Longhorn PHP in Austin this October?

You should, because I'll be blowing your mind about what PHP properties can do now. It's time to reimagine what PHP can do...

longhornphp.com/sessions#a-fie

Get your tickets now, as the price goes up after this week.

#PHP #LonghornPHP




Show Original Post


18.08.2025 16:09
chris (@chris@social.uggs.io)

Meine Web-App zum verwalten meiner Stromzähler und kosten nimmt langsam Form an.

API für Home Assistant geht auch schon.

Next stop: Automatisches auslesen von Smart-Meter Leseköpfen!

#SelfHosted #SelfHosted #HomeAssistant #programming #php #power #costs #solution #linux





Show Original Post


18.08.2025 15:30
jclermont (@jclermont@phpc.social)

I use the screenshot feature in macOS all the time. The default save-to-desktop behavior works for me most of the time, but I wanted to copy screenshots to the clipboard occasionally. Here are two ways to do it. #php #laravel masteringlaravel.io/daily/2025




Show Original Post


18.08.2025 14:40
radwebhosting (@radwebhosting@mastodon.social)

How to Install Centmin Mod on (5 Minute Quick-Start Guide) Here's a detailed step-by-step guide on how to install Centmin Mod on AlmaLinux VPS server.
What is Centmin Mod?
Centmin Mod is a shell-based, menu-driven installer that automates the deployment of a LEMP (Linux, Nginx, MariaDB/MySQL, PHP-FPM) stack on CentOS, AlmaLinux, and Rocky Linux servers. Designed for efficiency and performance, it ...
Continued 👉 blog.radwebhosting.com/how-to-




Show Original Post


18.08.2025 13:55
admin (@admin@mastodon.raddemo.host)

Laravel vs Symfony: A Comprehensive Comparison of #PHP #Frameworks

This article provides a guide concerning #Laravel vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and #Symfony are two of the most popular PHP frameworks, widely used for building modern web applications. Both have strong communities, rich ecosystems, and are frequently chosen by ...
Continued 👉 blog.radwebhosting.com/laravel #websitedevelopment




Show Original Post


18.08.2025 12:07
julian (@julian@phpc.social)

The Strangler Fig Pattern is a progressive migration strategy. This article demostrates its many advantages over rewriting the code from scratch
#PHP
getlaminas.org/blog/2025-08-06




Show Original Post


18.08.2025 11:30
nyamsprod (@nyamsprod@phpc.social)

I usually hate traits but I hate even more the PHP error control operator so I made this trait #PHP #trait





Show Original Post


18.08.2025 10:19
beberlei (@beberlei@phpc.social)

Just published: My article on PHP Best Practices in Production is in the latest PHP magazin (in German)!

It covers:
- Performance and deployment tips
- Monitoring and error handling
- Common real-world mistakes to avoid

Read the full article: entwickler.de/php/produktiver-

#PHP #WebPerformance #DevOps #Monitoring #Observability #Tideways #SoftwareEngineering #EntwicklerMagazin




Show Original Post


18.08.2025 09:33
reynardsec (@reynardsec@infosec.exchange)

A grumpy ItSec guy walks through the office when he overhears an exchange of words.

dev0: Big news - we finally upgraded every framework to the latest.
dev1: And the pipeline looks good: SAST, container scan, DAST... all green.
dev0: ItSec won't have anything to nitpick now!

ItSec (walking by): ... and BAC?
dev0: BAC?
ItSec: Broken Access Control [1]. Did you actually test for it?

dev1: What's he on about this time?

Let's learn by example: imagine an endpoint that returns a specific invoice.

GET /api/invoices/123
Authorization: Bearer <token-for-user-A>

User A legitimately fetches invoice 123. Now change only the ID:

GET /api/invoices/124
Authorization: Bearer <token-for-user-A>

If the app returns 200 with User B's data, you've got Broken Access Control (aka IDOR).

Even worse, try a write operation:

PATCH /api/invoices/124
Authorization: Bearer <token-for-user-A>

{"status": "paid"}

If that works... it's a problem.

Access control enforces who can do what on which resource. When it's broken, attackers can act outside their permissions: read others data, modify or delete it, or trigger business functions they shouldn't. In practice, this often comes from missing server-side checks that tie the caller to the resource owner (or an allowed role).

Why your shiny scanners may have missed it:

1) SAST sees code patterns, not ownership semantics (it can't deduce "invoice 124 belongs to User B").
2) DAST usually crawls with one session; it rarely performs cross-identity trials (User A poking at User B's data).
3) CI/CD "green checks" mean dependencies, images, and common vulns look fine - not that your authorization logic is correct.

What can you do?

1) Enforce checks on the server (never rely on the client): before every read/update/delete, verify the caller is the owner or has a permitted role.
2) Centralize authorization in a service/middleware.
3) Prefer opaque, unguessable IDs (UUIDs) over sequential integers, but still enforce server checks (UUIDs are not security).
4) Deny by default. Make allow-lists explicit.

[1] owasp.org/Top10/A01_2021-Broke

#webdev #cybersecurity #programming #java #php #nodejs #javascript





Show Original Post


18.08.2025 08:50
decompwlj (@decompwlj@mathstodon.xyz)

A002837: Numbers k such that k^2 - k + 41 is prime

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A002837.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0028
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


18.08.2025 08:47
decompwlj (@decompwlj@mathstodon.xyz)

My data have not been verified but my work is highly reproducible.
- Downloads (csv, img, dump) ➡️ decompwlj.com
- Algorithms ➡️ oeis.org/wiki/Decomposition_in

#decompwlj #math #mathematics #sequence #OEIS #javascript #php #numbers #PrimeNumbers #graph #downloads #algorithms #data #math #sieve





Show Original Post


1 ...481 482 483 484 485 486 487 488 489 490 491 ...524
UP