Skip to content

u/aimeos

In this archive from Jan 2017 to Dec 2026

67
posts
214
comments
12
media
832
score
38 saved before deletion

Top posts

PHP Map 3.5 released - Collections made easy!

Version 3.5 of the PHP Map package includes more methods to work with collections of strings easily: ltrim(): Removes chars from the left rtrim(): Removes chars from the right strAfter(): Returns the strings after strBefore(): Returns the strings before All these methods are multi-byte character awa...

58 points16 comments
Open on Reddit

PHP Map 4.0: Arrays and collections made easy!

PHP Map version 4.1 is now available, the PHP array/collection package for working with arrays and collections easily. https://php-map.org The release is mostly about performance work in the collection internals, plus stricter behavior around malformed input. Some benchmarks from the release commits...

37 points27 comments
Open on Reddit

PHP Map 3.8 released - Collections made easy!

PHP Map 3.8 releasedThe new version of the PHP package for working with arrays and collections easily adds:- percentage(): Percentage of items passing the test- isString(): If all values are strings- Filter closures for avg(), min(), max() and sum()https://php-map.org The new version of the PHP pack...

37 points24 comments
Open on Reddit

PHP Map 3.4 released - Collections made easy!

Version 3.4 of the PHP Map package includes more methods to work with collections of strings easily: strContainsAll(): Test if all entries contains a string strStartsAll(): Test if all entries starts with string strEndsAll(): Test if all entries ends with string strReplace(): Replace chars in all st...

35 points1 comments
Open on Reddit

PHP Map 3.10 - Arrays and collections made easy

The new version of the PHP package for working with arrays and collections easily adds copy on write versions of all sorting methods: asorted(), arsorted(), krsorted(), rsorted(), usorted() uasorted() and uksorted() Have a look at the complete documentation at https://php-map.org. Examples php Map::...

34 points20 comments
Open on Reddit

Top comments

Laravel collections are a perfect fit if you already use Laravel.

PHP Map is suitable for all PHP projects as it doesn't have dependencies to any other Laravel packages. Furthermore, PHP Map contains the same or similar methods as Laravel collections but has more features.

11 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.