PHPackages                             icarojobs/corehelper - 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. icarojobs/corehelper

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

icarojobs/corehelper
====================

v1.0.1(8y ago)016PHP

Since Aug 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/icarojobs/laravel-brother)[ Packagist](https://packagist.org/packages/icarojobs/corehelper)[ RSS](/packages/icarojobs-corehelper/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

laravel-brother
===============

[](#laravel-brother)

The most complete package to help you in everyone project

Dependencies
============

[](#dependencies)

Nwidat:

```
composer require nwidart/laravel-modules

```

Guzzle:

```
composer require guzzlehttp/guzzle

```

Change composer.json of root to:

```
"psr-4": {
            "App\\": "app/",
            "Modules\\" : "Modules/",
            "Modules\\CoreHelper\\": "vendor/icarojobs/corehelper"
        }

```

Modules
=======

[](#modules)

CoreHelper: Contain many helper functions.

- Date helpers
- Money helpers
- String helpers
- Slack notifications helpers

Date Helper:
============

[](#date-helper)

```
use Modules\CoreHelper\Http\Controllers\DateController;
$date = DateController::date_to_br('2017-08-17');
$date = DateController::date_to_us('17/08/2017');
```

Money Helper:
=============

[](#money-helper)

```
use Modules\CoreHelper\Http\Controllers\MoneyController;

$money = MoneyController::money_to_us('350,45');

$money = MoneyController::money_to_br('350.45');
```

String Helper
=============

[](#string-helper)

```
use Modules\CoreHelper\Http\Controllers\StringController;

$string = StringController::clear_string("É mano, remove essa ação pra nóis");
```

Validator Helper
================

[](#validator-helper)

```
use Modules\CoreHelper\Http\Controllers\ValidatorController;

$cpf = ValidatorController::cpf_validate('322.867.222-51');

$cnpj = ValidatorController::cnpj_validate('75.305.113/0001-02');
```

Slack Notifications
===================

[](#slack-notifications)

```
use Modules\CoreHelper\Notifications\SlackNotifications;

$dados = [
        'channel'   =>  '#notifications',
        'from'      =>  'MOB2YOU Notifications',
        'emoji'     =>  ':mob2you:', // :ghost: , etc...
        'message'   =>  'First Test Slack Notification 3'
    ];

    new SlackNotifications($dados);
```

Crud Restful (trait)
====================

[](#crud-restful-trait)

```
use Modules\Crud\Http\Controllers\CrudControllerTrait;

class MyRestfulController extends Controller
{
    use CrudControllerTrait;

    protected $model;

    public function __construct(\App\Models\User $model)
    {
        $this->model = $model;
    }

    public function index(Request $request)
    {

        // Get specific user
        // $user = $this->show(1);
        // $userObject = json_decode( $user->content() , false);
        // dd($userObject->name);

        // Get all users
        // $users = $this->all($request);
        // $usersObject = json_decode( $users->content(), false );
        // dd($usersObject->data);
    }
}
```

Setting Crontab / Cronjob / Laravel Tasks
=========================================

[](#setting-crontab--cronjob--laravel-tasks)

```
In Terminal, run:

$ sudo crontab -e

[ press i to insert mode ]

* * * * * php /path-to-laravel-project/artisan schedule:run >> /dev/null 2>&1

[ press ESC ]
[ press wq! to save and exit ]

You should see the following message: crontab: installing new crontab.
You can verify the crontab file by using:

$ sudo crontab -l

```

- Author: Icaro Jobs &lt;  &gt;

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~1 days

Total

2

Last Release

3236d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16943171?v=4)[Tio Jobs](/maintainers/icarojobs)[@icarojobs](https://github.com/icarojobs)

---

Top Contributors

[![icarojobs](https://avatars.githubusercontent.com/u/16943171?v=4)](https://github.com/icarojobs "icarojobs (18 commits)")

### Embed Badge

![Health badge](/badges/icarojobs-corehelper/health.svg)

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

###  Alternatives

[umbrella/boleto

YaBoleto é uma biblioteca para geração de boletos bancários de forma simples em PHP.

3431.2k](/packages/umbrella-boleto)

PHPackages © 2026

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