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

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

bachphuc/php-laravel-helpers
============================

php helper for laravel

1.0.6(5y ago)017MITPHP

Since Apr 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bachphuc/php-laravel-helpers)[ Packagist](https://packagist.org/packages/bachphuc/php-laravel-helpers)[ RSS](/packages/bachphuc-php-laravel-helpers/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (8)Used By (0)

**helper for laravel**
======================

[](#helper-for-laravel)

namespace: bachphuc\\PhpLaravelHelpers
--------------------------------------

[](#namespace-bachphucphplaravelhelpers)

Alias: **LaravelHelpers**
-------------------------

[](#alias-laravelhelpers)

Image Helpers
-------------

[](#image-helpers)

- function **photo\_upload\_path**()
- function **photo\_storage**($file, $maskPath = '', $extension = '')
- function **photo\_fix\_orientation**($path = '', $position = 'bottom-right')
- function **photo\_mask**($path, $maskPath = '')
- function **photo\_copy\_and\_crop**($path, $width, $height = 0, $quality = 0)
- function **photo\_crop**($path, $output, $width, $height = 0, $quality = 0)
- function **photo\_resize**($path, $maxWidth = 0, $maxHeight = 0, $quality = 0)

Trail Models
------------

[](#trail-models)

### WithModelBase: Function

[](#withmodelbase-function)

- hasField
- getId
- getType
- getTitle
- getDesc
- getHref
- getImage
- remove
- increase
- display
- displayDetail
- onCreated
- getListItems
- processGetItemListQuery

### WithImage

[](#withimage)

### WithModelRule

[](#withmodelrule)

Middleware
----------

[](#middleware)

- auth.admin

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% 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 ~11 days

Recently: every ~2 days

Total

7

Last Release

2156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3da9a84dea904d29eed3dec122f860a234652400cbc65aa726d9858412df762b?d=identicon)[trieuquangphuc](/maintainers/trieuquangphuc)

---

Top Contributors

[![dmobisoft](https://avatars.githubusercontent.com/u/30165718?v=4)](https://github.com/dmobisoft "dmobisoft (11 commits)")[![bachphuc](https://avatars.githubusercontent.com/u/11581096?v=4)](https://github.com/bachphuc "bachphuc (6 commits)")

### Embed Badge

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

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

###  Alternatives

[avstudnitz/fast-simple-import

Wrapper for Magento ImportExport functionality, which imports products and customers from arrays

3023.9k](/packages/avstudnitz-fast-simple-import)[proget-hq/apple-activation-lock

Library for generating Apple Activation Lock Bypass key and hash

6515.8k](/packages/proget-hq-apple-activation-lock)[vkcom/kphp-polyfills

PHP implementations of functions supported by KPHP natively

163.3k7](/packages/vkcom-kphp-polyfills)

PHPackages © 2026

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