PHPackages                             htinlynn/genius-helper - 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. htinlynn/genius-helper

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

htinlynn/genius-helper
======================

service for laravel helper method

v0.4(5y ago)821MITPHPPHP &gt;=7.1.3CI failing

Since Jan 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MgHtinLynn/genius-helper)[ Packagist](https://packagist.org/packages/htinlynn/genius-helper)[ RSS](/packages/htinlynn-genius-helper/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (8)Versions (7)Used By (0)

Genius-helper
=============

[](#genius-helper)

Helper Features For Development with Laravel

[![Latest Version on Packagist](https://camo.githubusercontent.com/cdbb5f0865a9c1df8122956fa874200ecca6ed0ffbd087c5fa3655cdabf8c485/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6874696e4c796e6e2f67656e6975732d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/htinLynn/genius-helper)[![Quality Score](https://camo.githubusercontent.com/1eaf80c199aae7f039946c9e7cf90306c9837f29d9fd8fe020ec11cb83395a56/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4d674874696e4c796e6e2f67656e6975732d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/MgHtinLynn/genius-helper)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/fafbc8b717695a537fd6170335cef0d7607deaf4432fa77f6f4b4dcf066a3cf6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6874696e4c796e6e2f67656e6975732d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/HtinLynn/genius-helper)

About
-----

[](#about)

- The `genius-helper` package the Helper Library for laravel development
- Most of the method and features useful in development

Features
--------

[](#features)

- Custom Command For Cache Clear All
- API Standard For Date
    - Date To Epoch
    - Epoch To Date
    - Hour To Epoch
    - Epoch To Hour
    - Date String To Date with Format
- Helper Method
    - Font Detect
    - Is Myanmar Font?
    - zawGyiToUnicode
    - UnicodeToZawGyi
    - Get Random Digit
    - Get File with File Format String

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

[](#installation)

Require the `htinlynn/genius` package in your `composer.json` and update your dependencies:

```
$ composer require htinlynn/genius-helper
```

Usage For Custom Command
------------------------

[](#usage-for-custom-command)

- To Clear cache all of the
    - All caches of config, route, view and cache are cleared.
    - And config clear and cache

Command (short)

```
$ php artisan all:
```

Command (Long)

```
$ php artisan all:clearandcache
```

Usage For Helper Class
----------------------

[](#usage-for-helper-class)

Init the class

```
$geniusHelper = new \Genius\Services\GeniusService();
```

### &amp;&amp;

[](#)

Dependency injection on construct or specific function

```
protected $geniusInterface;
public function __construct(Genius\Contacts\GeniusInterface $geniusInterface)
{
    $this->geniusInterface = $geniusInterface;
}
```

Available Method

```
$geniusHelper->randomDigit($length,$count);
$geniusHelper->formatBytes($size);
$geniusHelper->zawGyiToUnicode($content);
$geniusHelper->unicodeToZawGyi($content);
```

### ||

[](#-1)

Facades

```
Genius::randomDigit($length,$count);
Genius::formatBytes($size);
Genius::formatBytes($size);
Genius::formatBytes($size);
```

Trait Method
------------

[](#trait-method)

Need to use before using my package method

```
use GeniusHelper;
```

Available Method

```
$this->dateToEpoch($dateString);
$this->hourToEpoch($hourString);
$this->epochToHour($epochString);
$this->epochToDate($epochString);
$this->toDateFormat($dateString);
$this->epochToDateByDateFormat($epochString,$format);
```

Improvement
-----------

[](#improvement)

- Test Case
- Contribution Guide
- Version Release Note

Credit
------

[](#credit)

- Ko [Nay Lin Aung](https://github.com/stevenay) \[myanfont\] () PHP Library

Noted: All Date Time String are using UTC timezone Request Parameter And Respond Data are using UTC timezone

License
-------

[](#license)

Released under the MIT License, see [LICENSE](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~275 days

Total

4

Last Release

1829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/532f55dbe5a8e966e0283fb358f48569eb556150cbd403076b8b82609a4bb6ca?d=identicon)[HtinLynn](/maintainers/HtinLynn)

---

Top Contributors

[![MgHtinLynn](https://avatars.githubusercontent.com/u/12946698?v=4)](https://github.com/MgHtinLynn "MgHtinLynn (9 commits)")[![MgHtinLynn2](https://avatars.githubusercontent.com/u/52409112?v=4)](https://github.com/MgHtinLynn2 "MgHtinLynn2 (1 commits)")

---

Tags

helper-functionshelpers-librarygeniushtinlynngenius-helper

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/htinlynn-genius-helper/health.svg)

```
[![Health](https://phpackages.com/badges/htinlynn-genius-helper/health.svg)](https://phpackages.com/packages/htinlynn-genius-helper)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)

PHPackages © 2026

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