PHPackages                             baguette/string-functions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. baguette/string-functions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

baguette/string-functions
=========================

0.4.1(9y ago)020Apache-2.0PHP

Since Jul 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/BaguettePHP/StringFunctions)[ Packagist](https://packagist.org/packages/baguette/string-functions)[ RSS](/packages/baguette-string-functions/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

PHP String functions
====================

[](#php-string-functions)

[![Package version](https://camo.githubusercontent.com/5c3b30340f5b4a441e636541ff12b228354625643653467c73b81925c103c8bb/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62616775657474652f737472696e672d66756e6374696f6e732e7376673f7374796c653d666c6174)](https://packagist.org/packages/baguette/string-functions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b00599e87d12fa93e98473aa249249823ce3efb1299259bfd8669c7cab343c51/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616775657474655048502f537472696e6746756e6374696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/BaguettePHP/StringFunctions/?branch=master)[![Build Status](https://camo.githubusercontent.com/ebe2c57db4814718f27fd43a8d239f2a4f0d99db09725156ade45d33924cdbf7/68747470733a2f2f7472617669732d63692e6f72672f42616775657474655048502f537472696e6746756e6374696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BaguettePHP/StringFunctions)[![Packagist](https://camo.githubusercontent.com/018344411921e5ca0460b0746f236600d549d7a7d5aacecfe110205135fe68ab/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62616775657474652f737472696e672d66756e6374696f6e732e7376673f7374796c653d666c6174)](https://packagist.org/packages/baguette/string-functions)[![Coverage Status](https://camo.githubusercontent.com/af413d6d5307c36f8fffb1c841ad9087acd254839ec4f41f9454b27189ccfee7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f42616775657474655048502f537472696e6746756e6374696f6e732f62616467652e737667)](https://coveralls.io/r/BaguettePHP/StringFunctions)

Installation
------------

[](#installation)

```
composer require baguette/string-functions

```

Functions
---------

[](#functions)

### `bool str_start_with(string $haystack, string $needle)`

[](#bool-str_start_withstring-haystack-string-needle)

```
var_dump(str_start_with('Windows', 'Win')); // => true
```

### `bool str_end_with(string $haystack, string $needle)`

[](#bool-str_end_withstring-haystack-string-needle)

```
var_dump(str_end_with('FooClassTest', 'Test')); // => true
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1cc4bc1729b858086681a12494fda6cced8f26db3d0928ae4d81c68ddf8dc06?d=identicon)[zonuexe](/maintainers/zonuexe)

---

Top Contributors

[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baguette-string-functions/health.svg)

```
[![Health](https://phpackages.com/badges/baguette-string-functions/health.svg)](https://phpackages.com/packages/baguette-string-functions)
```

###  Alternatives

[joachim-n/composer-manifest

38574.6k3](/packages/joachim-n-composer-manifest)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
