Opis String is a tiny library that allows you to work with multibyte encoded strings in an object-oriented manner. The library has no dependencies to mb_string or similar PHP extensions.
The best thing about treating strings as objects is that you don't have to remember a quintillion function names and the order of their arguments. You will love using your IDE with this kind of strings!
Opis String takes advantage of the speed and security provided by PHP 8, and of its other awesome features, like union types, named arguments, attributes etc. Making web development easier is this library's ultimate goal!
By strictly adhering to the semantic versioning rules, we guarantee that we will not introduce breaking changes during the lifecycle of a major release, making sure that every bit of functionality that will be added to the library is backward compatible and won't break your app.
The library is released under a permissive, business friendly, Apache 2.0 license. The license grants you the right to use this software for both commercial or non-commercial purposes.
As an open-source company, we dedicate a large amount of our time for taking care of our libraries. This means that you can confidently use our open-source software, knowing that we will continuously maintain and improve it.
Visit our documentation page or checkout our project on GitHub
Documentation View on GitHubOne of the best ways you could contribute to this project is by simply telling other developers about Opis String. The more people are using it, the greater are the chances to discover unknown bugs or security related issues, if any.
Have you stumbled upon a typo or some bad phrasing in our documentation? Found a bug in our code? Have some project-related questions? Just send us a pull request with your fixes, or open an issue on the repository's page and we will gladly help you.