PHPackages                             edujugon/core - 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. edujugon/core

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

edujugon/core
=============

Set of useful Classes and Functions.

v1.0(9y ago)027MITPHPPHP &gt;=5.5.0

Since Oct 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Edujugon/Core)[ Packagist](https://packagist.org/packages/edujugon/core)[ RSS](/packages/edujugon-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Edujugon Core Package
=====================

[](#edujugon-core-package)

Set of useful Classes and Functions.

Available Classes
-----------------

[](#available-classes)

- [Date](https://github.com/Edujugon/Core#date)
- [Number](https://github.com/Edujugon/Core#number)
- [FindReplace](https://github.com/Edujugon/Core#findreplace)
- More comming soon

Date
----

[](#date)

### Methods

[](#methods)

- [getMonths](https://github.com/Edujugon/Core#getmonths)

#### getMonths

[](#getmonths)

**Syntax**

`getMonths` method gets the months list. You may pass lang, offset and length through parameters.

```
        /**
         * Get months list.
         *
         * if lang is null, "en" language is set by default.
         * if offset is null return all items.
         *
         * If offset is non-negative, the sequence will start at that offset in the array.
         * If offset is negative, the sequence will start that far from the end of the array.
         *
         * If length is given and is positive, then the sequence will have up to that many elements in it.
         * If the array is shorter than the length, then only the available array elements will be present.
         * If length is given and is negative then the sequence will stop that many elements from the end of the array.
         * If it is omitted, then the sequence will have everything from offset up until the end of the array.
         *
         * @param $lang
         * @param null $offset
         * @param null $length
         * @return array|mixed
         */
        array getMonths($lang = NULL, $offset = NULL, $length = NULL)
```

Number
------

[](#number)

### Methods

[](#methods-1)

- [myList](https://github.com/Edujugon/Core#mylist)

#### myList

[](#mylist)

**Syntax**

`myList` method gets array of numbers. You must pass a starting number and a length of desired array.

```
        /**
         * Get Array of numbers.
         *
         * If length is negative returns previous numbers
         * If length is positive returns following numbers
         * The total items of the array is the starting number parameter plus the length amount.
         * so if length value is 3 or -3 it will return an array of 4 items.
         *
         * @param $start
         * @param int $length
         * @return array
         */
        array myList($start, $length = 0)
```

FindReplace
-----------

[](#findreplace)

### Methods

[](#methods-2)

- [soft](https://github.com/Edujugon/Core#soft)
- [strict](https://github.com/Edujugon/Core#strict)

#### soft

[](#soft)

**Syntax**

`soft` method gets a new string replacing the searched substring for a replacement in a text.

```
        /**
             * Soft find&replace where do a strtolower either the find text and the text where search.
             * It's no case sensitive. Foo == foo
             *
             * @param $find
             * @param $replace
             * @param $text
             * @return mixed
             */
            string static function soft($find, $replace, $text)
```

#### strict

[](#strict)

**Syntax**

`strict` method gets a new string replacing the searched substring for a replacement in a text.

> Case Sensitive

```
        /**
             * Strict find&replace it search for the exact substring($find) inside the text.
             * It's case sensitive Foo != foo
             *
             * @param $find
             * @param $replace
             * @param $text
             * @return mixed
             */
            string static function strict($find, $replace, $text)
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3484d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2806ab557e2a153347da9fb0e2dbe58ab47ce10bb60ccac71193e8ed67349a23?d=identicon)[edujugon](/maintainers/edujugon)

---

Top Contributors

[![Edujugon](https://avatars.githubusercontent.com/u/4853751?v=4)](https://github.com/Edujugon "Edujugon (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/edujugon-core/health.svg)

```
[![Health](https://phpackages.com/badges/edujugon-core/health.svg)](https://phpackages.com/packages/edujugon-core)
```

###  Alternatives

[stevenmaguire/zurb-foundation-laravel

Build HTML form elements for Foundation inside Laravel

203.8k](/packages/stevenmaguire-zurb-foundation-laravel)

PHPackages © 2026

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