PHPackages                             vluzrmos/func-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. vluzrmos/func-helpers

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

vluzrmos/func-helpers
=====================

Funções helpers para Laravel.

v0.3.1(11y ago)047GNU-GPL 3.0PHPPHP &gt;=5.4.0

Since Dec 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vluzrmos/laravel-func-helpers)[ Packagist](https://packagist.org/packages/vluzrmos/func-helpers)[ RSS](/packages/vluzrmos-func-helpers/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Laravel FuncHelpers
===================

[](#laravel-funchelpers)

### That package is not longer maintained.

[](#that-package-is-not-longer-maintained)

[![Latest Stable Version](https://camo.githubusercontent.com/f1e2c71679d96746b19c8f828c70dfa2976b8c70ce079556db2a67b700972290/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f66756e632d68656c706572732f762f737461626c652e737667)](https://packagist.org/packages/vluzrmos/func-helpers) [![Total Downloads](https://camo.githubusercontent.com/f698e207dee0241c54b6b07c16ab7e76cb78ea6823d1e23dc7f0327e510d1367/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f66756e632d68656c706572732f646f776e6c6f6164732e737667)](https://packagist.org/packages/vluzrmos/func-helpers) [![Latest Unstable Version](https://camo.githubusercontent.com/b279ad77c5379c4395b518f3420aea5d16d78448768c2443434e1d494ae0c8a2/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f66756e632d68656c706572732f762f756e737461626c652e737667)](https://packagist.org/packages/vluzrmos/func-helpers) [![License](https://camo.githubusercontent.com/8e060c8584335dd34f3aebfb996fefc03de3d5c9bcc76eb566d900f7df88a9af/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f66756e632d68656c706572732f6c6963656e73652e737667)](https://packagist.org/packages/vluzrmos/func-helpers)

Funções helpers para projetos Laravel.

Basta adicionar no seu compose.json:

```
"require": {
  "vluzrmos/func-helpers":"dev-master"
}
```

e depois atualizar seu composer `composer update vluzrmos/func-helpers`.

Exemplo
-------

[](#exemplo)

#### Carregando todos os helpers de uma vez

[](#carregando-todos-os-helpers-de-uma-vez)

```
FuncHelpers\load_all_helpers(); //carrega todos os helpers de uma vez
```

### String Helpers

[](#string-helpers)

```
FuncHelpers\load_helper("string");

t("reminders.password") /* Alias para Lang::get() */

str_words("lorem ipsum sit at doem", 3, "..."); /* Limita a string dada à 3 palavras (alias para Str::words)*/

class_dotcase(new Admin\User\Profile); /* Retornará uma string com: admin.user.profile */

str_autolink("Visite meu github https://github.com/vluzrmos", ["target"=>"_blank"]); /* Trasforma o link para meu github em uma tag html */

is_email("vluzrmos@gmail.com"); /* Verifica que a string dada é um email válido*/

encrypt($str) e decrypt($encryptedStr); /* Encripta e decripta uma string (alias para Crypt::encrypt e Crypt::decrypt */
```

### Array Helpers

[](#array-helpers)

```
FuncHelpers\load_helper("array");

/*
  Combinando arrays unidimensionais
*/

$names = array('john', 'willian', 'matheus');
$last_names = array('doel', 'shaks', 'kelvin');
$keys = array('first_name', 'last_name');

array_combine_values_assoc($keys, $names, $last_names);
/*   retornará */
[
  ["first_name" => "john", "last_name"=>"doel"],
  ["first_name" => "willian", "last_name"=>"shaks"],
  ["first_name" => "matheus", "last_name"=>"kelvin"]
];
```

### HTTP helpers

[](#http-helpers)

```
FuncHelpers\load_helper("http");

//Suponha que tenhamos um formulario e que este fora enviado para a action no controller e agora vamos tentar salvar
if(!$model->save()){ //supondo que a validação falhe
  Session:flash("Houve um erro ao salvar os dados do formulario.");
  return redirectBackOrDefault("/user/profile/edit"); //redireciona o usuário
  }
else{
  Session::flash("Alterações salvas com sucesso!");
  return Redirect::to("user/profile/edit");
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~24 days

Total

4

Last Release

4151d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/450848?v=4)[Vagner Luz do Carmo](/maintainers/vluzrmos)[@vluzrmos](https://github.com/vluzrmos)

---

Top Contributors

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

---

Tags

laravellaravel-helpers

### Embed Badge

![Health badge](/badges/vluzrmos-func-helpers/health.svg)

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

###  Alternatives

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13871.7k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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