Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

String Laravel Package

opis/string

Lightweight PHP string utilities from the Opis ecosystem. Provides helpful helpers for common string operations like trimming, case conversion, searching, slicing, and formatting, with a simple API suited for everyday use in Laravel and standalone projects.

View on GitHub
Deep Wiki
Context7

Opis String

Tests Packagist Version Packagist Downloads Packagist License

Multibyte strings

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.

Documentation

The full documentation for this library can be found here.

License

Opis String is licensed under the Apache License, Version 2.0.

Requirements

  • PHP ^7.4 || ^8.0
  • ext-json
  • ext-iconv

Installation

Opis String is available on Packagist, and it can be installed from a command line interface by using Composer.

composer require opis/string

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/string": "^2.1"
    }
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata