yakeing/str_increment
yakeing/str_increment provides a simple str_increment() helper for Laravel and PHP apps, letting you increment strings such as a to b, z to aa, or 9 to 10. Useful for generating sequential codes, invoice numbers, and other alphanumeric identifiers.
AA → AB) rather than numerically.A…Z, AA…AZ.A→B, Z→AA, 0F→10) and write your own tested helper.For executives and engineering: yakeing/str_increment is a tiny utility that turns A into B, Z into AA, and hex strings into their next value — useful for human-readable codes like invoice references, export column labels, and batch numbers. It has 34 stars, was last released in 2019, and is archived, so it is not a safe long-term dependency; the code is small and the license is permissive (MPL-2.0). Recommendation: do not add it as a package dependency. Use it as a reference spec and build a small, tested helper in our codebase instead. That delivers identical behavior with no maintenance or supply-chain risk and avoids legacy-PHP compatibility concerns. The engineering cost avoided is minor, but the risk of carrying an unmaintained dependency is not worth it.
How can I help you explore Laravel packages today?