PHPackages                             mphpmaster/laravel-class-to-function - 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. mphpmaster/laravel-class-to-function

ActiveLibrary

mphpmaster/laravel-class-to-function
====================================

Laravel Helpers: Class To Function

0.1.1(2y ago)0101MITPHPPHP &gt;=7.4

Since Mar 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mPhpMaster/laravel-class-to-function)[ Packagist](https://packagist.org/packages/mphpmaster/laravel-class-to-function)[ RSS](/packages/mphpmaster-laravel-class-to-function/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Helpers: Class To Function
==================================

[](#laravel-helpers-class-to-function)

Installation:
-------------

[](#installation)

`composer require mphpmaster/laravel-class-to-function`

Content
-------

[](#content)

- Class:

    1. `mPhpMaster\LaravelClassToFunction\Classes\ClassToFunction`.
- Providers:

    1. `mPhpMaster\LaravelClassToFunction\Providers\HelpersProvider`.
- Functions:

    1. `getModelAbstractClass`.
    2. `getRealClassName`.
    3. `basenameOf`.
- Traits:

    1. `mPhpMaster\LaravelClassToFunction\Traits\TMacroable`.

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

The Laravel Helpers: Class To Function is open-sourced software licensed under the [MIT license](https://github.com/mPhpMaster/laravel-class-to-function/blob/master/LICENSE).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 57.1% 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

Unknown

Total

1

Last Release

798d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/653f207f1b16ec4055eea8fd8699991febd6a1a0201011ab3d1a6ece3bbfd511?d=identicon)[mPhpMaster](/maintainers/mPhpMaster)

---

Top Contributors

[![mPhpMaster](https://avatars.githubusercontent.com/u/59211285?v=4)](https://github.com/mPhpMaster "mPhpMaster (4 commits)")[![m-alsafadi](https://avatars.githubusercontent.com/u/89378271?v=4)](https://github.com/m-alsafadi "m-alsafadi (3 commits)")

---

Tags

phplaravelhelpersinvokeclassfunction

### Embed Badge

![Health badge](/badges/mphpmaster-laravel-class-to-function/health.svg)

```
[![Health](https://phpackages.com/badges/mphpmaster-laravel-class-to-function/health.svg)](https://phpackages.com/packages/mphpmaster-laravel-class-to-function)
```

###  Alternatives

[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

235321.4k](/packages/laracraft-tech-laravel-xhprof)[bavix/laravel-xhprof

Quick profiling of your code for Laravel

22156.6k](/packages/bavix-laravel-xhprof)

PHPackages © 2026

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