PHPackages                             tohtamysh/laravel-helpers - 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. tohtamysh/laravel-helpers

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

tohtamysh/laravel-helpers
=========================

Helper function for Laravel 5

v4.0.2(7y ago)0458MITPHPPHP &gt;=7.0

Since Jun 16Pushed 7y agoCompare

[ Source](https://github.com/tohtamysh/laravel-helpers)[ Packagist](https://packagist.org/packages/tohtamysh/laravel-helpers)[ Docs](https://github.com/tohtamysh/laravel-helpers)[ RSS](/packages/tohtamysh-laravel-helpers/feed)WikiDiscussions master Synced yesterday

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

Helper function for Laravel 5
=============================

[](#helper-function-for-laravel-5)

[![Latest Stable Version](https://camo.githubusercontent.com/40e2d57d6ac806d41e24d2f2b38dbbca2500cc36674f5515e6f8b9d6080a6ec7/68747470733a2f2f706f7365722e707567782e6f72672f746f6874616d7973682f6c61726176656c2d68656c706572732f762f737461626c65)](https://packagist.org/packages/tohtamysh/laravel-helpers) [![License](https://camo.githubusercontent.com/e5431505257bb9b5dd1815f6d911dd235af19cf9ddee8da80b92902bb2df7b03/68747470733a2f2f706f7365722e707567782e6f72672f746f6874616d7973682f6c61726176656c2d68656c706572732f6c6963656e7365)](https://packagist.org/packages/tohtamysh/laravel-helpers)

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

[](#installation)

##### run composer

[](#run-composer)

```
composer require tohtamysh/laravel-helpers
```

### For Laravel &lt; 5.5

[](#for-laravel--55)

##### add service provider

[](#add-service-provider)

Register the Service Provider by adding it to your project's providers array in app.php

```
'providers' => array(
    Tohtamysh\Helper\HelperServiceProvider::class,
);
```

##### add alias

[](#add-alias)

```
'Helper' => Tohtamysh\Helper\HelperFacade::class,
```

### Use

[](#use)

#### Get correct russian ending

[](#get-correct-russian-ending)

*example return 'домов'*

```
$end = Helper::ending(55, 'дом', 'дома', 'домов')
```

#### Get russian date

[](#get-russian-date)

*example return 'Января'*

```
$russian_date = Helper::russianDate('2017-01-02', 'month', true)
```

#### Reduces image size without loss of quality.

[](#reduces-image-size-without-loss-of-quality)

```
optimizeImage($filePath)
```

#### Format time

[](#format-time)

*example return '01:20'*

```
$end = Helper::timeFormat(80)
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~30 days

Recently: every ~85 days

Total

22

Last Release

2625d ago

Major Versions

v1.2.12 → v2.02018-01-28

v2.0 → v3.02018-03-28

v3.2 → v4.02019-02-20

PHP version history (3 changes)v1.0PHP &gt;=5.4.0

v1.2PHP &gt;=5.5.9

v4.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a8198290b542085e6c65eb00d82761b63cf4336f8af510263539ba1fdb081d1?d=identicon)[tohtamysh](/maintainers/tohtamysh)

---

Top Contributors

[![tohtamysh](https://avatars.githubusercontent.com/u/1841267?v=4)](https://github.com/tohtamysh "tohtamysh (25 commits)")

---

Tags

laravellaravel5

### Embed Badge

![Health badge](/badges/tohtamysh-laravel-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/tohtamysh-laravel-helpers/health.svg)](https://phpackages.com/packages/tohtamysh-laravel-helpers)
```

###  Alternatives

[misterphilip/maintenance-mode

An enhanced drop-in replacement for Laravel's maintenance mode

120176.7k](/packages/misterphilip-maintenance-mode)[brexis/laravel-workflow

Integerate Symfony Workflow component into Laravel.

283125.6k](/packages/brexis-laravel-workflow)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[leantony/laravel-grid

A grid view for laravel, inspired by the yii2 grid widget

9060.2k](/packages/leantony-laravel-grid)

PHPackages © 2026

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