mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#symfony

7 posts7 participants0 posts today

If you're a #Laravel or #Symfony developer and wish you could only store encrypted data in your database, but still query your database against those encrypted fields, you're in luck!

A few years ago, we introduced CipherSweet for searchable encryption in PHP software, designed for SQL databases.

Today, we've tagged the first release for Doctrine and Eloquent adapters for CipherSweet.

Learn more:

github.com/paragonie/cipherswe

Is anyone aware of a #research report on the usage of #php and the resources applications consume on average? I get questions about how much resources do I need to run my application.

Let's say a custom #symfony application? What would be the indicator to look at? Or a #Laravel project? I have seen applications running with 128mb but also 8gb.

I'm aware that this has many variables and there is no fixed number. But there must be some numbers on this.

Excuse no. 89:
"We prefer composition over inheritance, but because of final classes, we can't #PHPUnit test our codebase."

Solutions:
Interfaces – cleanest approach (yes, doubles the files, but results in cleaner architecture). Direct instantiation – not everything needs to be mocked (Value Objects)! uopz - if at hand. dg/bypass-finals - as a last resort.

If final stops you from testing, wait until you hear about private!
Oh wait, that's excuse no. 90.

#PHP#testing#TYPO3

Excuse no. 125:
"The project is too small for #PHPUnit tests."

This is the wrong approach. If it’s big enough to deploy, it’s big enough to disappoint you in production.
Did you already test it in a browser? Wasted effort. Write a test instead.

A browser reload is hope. An assertion is insurance.

#PHP#Testing#TDD