PHPackages                             teners/laravel-extras - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. teners/laravel-extras

ActiveLibrary[File &amp; Storage](/categories/file-storage)

teners/laravel-extras
=====================

Extend laravel applications with more artisan commands, traits and useful helper classes

v2.1.4(9mo ago)53.8k↑35%MITPHP

Since Mar 17Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/Teners-net/laravel-extras)[ Packagist](https://packagist.org/packages/teners/laravel-extras)[ Docs](https://github.com/Teners-net/laravel-extras#readme)[ RSS](/packages/teners-laravel-extras/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (8)Dependencies (2)Versions (10)Used By (0)

Laravel Extras
==============

[](#laravel-extras)

Laravel Extras is a package that extend Laravel Application with more artisan commands and useful traits and helper classes.

[![Latest Version on Packagist](https://camo.githubusercontent.com/ca9c5e1f5d1145c1003c02bcd1735a5a59dd87b5ffa21e22a42c7c86bf9fde2c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74656e6572732f6c61726176656c2d6578747261732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teners/laravel-extras)[![issues](https://camo.githubusercontent.com/806c853a20b61b029f70fac4699f11a08ae83ab1fae9646fc09dfde99ded2c4b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f54656e6572732d6e65742f6c61726176656c2d6578747261733f7374796c653d666c61742d737175617265)](https://github.com/Teners-net/laravel-extras/issues)[![stars](https://camo.githubusercontent.com/9fd95f4edb57f62cf4b562bbf66393d13029d8885c67e3e4253d92e73f728317/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f54656e6572732d6e65742f6c61726176656c2d6578747261733f7374796c653d666c61742d737175617265)](https://github.com/Teners-net/laravel-extras/issues)[![GitHub license](https://camo.githubusercontent.com/bb4d5cf23a39d71eb87be83ebbc58ac0c6795ebe2411c83d7085d11a7c893a12/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f54656e6572732d6e65742f6c61726176656c2d6578747261733f7374796c653d666c61742d737175617265)](https://github.com/Teners-net/laravel-extras/blob/main/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/07a45ef795e3d0d86cdb250a8825c4c207fe06fe31b548453b3e9b6b35fe2f22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74656e6572732f6c61726176656c2d6578747261732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teners/laravel-extras)

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

[](#installation)

To install Laravel Extras, run the following command in your terminal:

```
composer require teners/laravel-extras
```

Publish the package configuration file

```
php artisan vendor:publish --provider="Teners\LaravelExtras\LaravelExtrasServiceProvider" --tag="extras-config"
```

And the migrations file if you would be using the files model

```
php artisan vendor:publish --provider="Teners\LaravelExtras\LaravelExtrasServiceProvider" --tag="extras-migrations"
```

Available Extras
----------------

[](#available-extras)

Artisan Commands:

1. [Make Blade](#make-blade)
2. [Make Trait](#make-trait)
3. [Clear Log](#log-clear)

Extra Traits:

- [Sluggable](docs/traits/sluggable.md)
- [FileUploadTrait](docs/traits/file-upload-trait.md)

Extra Helpers:

- [FileGenerator](docs/helpers/file-generator.md)
- [ReadableValue](docs/helpers/readable-value.md)

Extra Models:

- [File](docs/models/file.md)

### Make Blade

[](#make-blade)

Creates a **blade** file inside the **/resource/views/** directory.

```
php artisan make:trait {name}
```

Example:

```
php artisan make:blade index
# or
php artisan make:blade user/index
```

### Make Trait

[](#make-trait)

Creates a new Trait class in the **App/Traits** directory.

```
php artisan make:trait {name}
```

Example:

```
php artisan make:trait LocationTrait
# or
php artisan make:trait Security/LocationTrait
```

### Log Clear

[](#log-clear)

Clears log data from **/storage/logs/** directory.

```
php artisan log:clear
```

Contributions
-------------

[](#contributions)

Contributions are **welcome** via Pull Requests on [Github](https://github.com/Teners-net/laravel-extras).

- Please document any change you made as neccesary in the [README.md](README.md).
- Pleas make only one pull request per feature/fix.
- See below for some ideas on what you can help with.
    - Option to generate file thumbnail in FileUploadTrait
        - image/intervention for images, FFmeg for Videos
    - make:service
    - make:repository
    - contruct:with-values
        Add and set public values in the contruct of files generated with other artisan commands, e.g: make:event, make:mail, make:notification
    - cast to slug
        Extend Cast to provide 'slug' cast
    - MakeArrayTrait

Issues
------

[](#issues)

Please report any issue you encounter in using the package through the [Github Issues](https://github.com/Teners-net/laravel-extras/issues) tab.

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Emmanuel Adesina](https://github.com/ThePlatinum)

### Contributors

[](#contributors)

Contributors list will be added here

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance65

Regular maintenance activity

Popularity26

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

Recently: every ~145 days

Total

8

Last Release

294d ago

Major Versions

v1.2.2 → v2.1.02024-02-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/28dc1abd50d8b3e3c2c12cb0ae28bb19dba541588ab27423c75ea4427e0cec50?d=identicon)[teners](/maintainers/teners)

---

Top Contributors

[![ThePlatinum](https://avatars.githubusercontent.com/u/30179079?v=4)](https://github.com/ThePlatinum "ThePlatinum (29 commits)")

---

Tags

laravellaravel-extraslaravel-packagetraitslaraveltraitfilesluggablereadableuploadtenerslaravel-extrasmake-blademake-trait

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/teners-laravel-extras/health.svg)

```
[![Health](https://phpackages.com/badges/teners-laravel-extras/health.svg)](https://phpackages.com/packages/teners-laravel-extras)
```

###  Alternatives

[czim/laravel-paperclip

Laravel Eloquent file attachment solution

80845.5k7](/packages/czim-laravel-paperclip)[digital-creative/nova-filepond

A Nova field for uploading File, Image and Video using filepond.

5570.9k1](/packages/digital-creative-nova-filepond)[itskodinger/midia

Simple Media manager for your Laravel project

1416.0k](/packages/itskodinger-midia)

PHPackages © 2026

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