New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

teners/laravel-extras

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

Larablocks Analysis

teners/laravel-extras works with any PHP project: the latest release (v2.1.4, Sep 14, 2025) doesn't depend on Laravel.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No release in the last 12 months (last: Sep 14, 2025)
  • 97 downloads a month (needs 10,000)
  • 5 GitHub stars (needs 100)

State

Quiet
  • Last stable release: Sep 14, 2025.
  • No releases in the last 12 months.
  • First released: Mar 17, 2023.
  • Monthly downloads: 97, down 20% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require teners/laravel-extras
Latest Version:v2.1.4
License:MIT
Last Updated:Jan 31, 2026
Links: GitHub  ·  Packagist
Maintainer: teners

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 issues stars GitHub license Total Downloads

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

Artisan Commands:

  1. Make Blade
  2. Make Trait
  3. Clear Log

Extra Traits:

Extra Helpers:

Extra Models:

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

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

Clears log data from /storage/logs/ directory.

php artisan log:clear

Contributions

Contributions are welcome via Pull Requests on Github.

  • Please document any change you made as neccesary in the 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

Please report any issue you encounter in using the package through the Github Issues tab.

Testing

composer test

Credits

Contributors

Contributors list will be added here

License

The MIT License (MIT). Please see License File for more information.

Alternatives to teners/laravel-extras

unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMC...

3,873,407 2,147
illuminatech/multipart-middleware

'multipart/form-data' parser middleware for Laravel

329,785 34
czim/laravel-paperclip

Laravel Eloquent file attachment solution

908,435 80
ozerich/laravel-filestorage-db

Extension for file uploading and attaching to the models

23,860 0
webcimes/laravel-mediaforge

Laravel file & image upload service with multi-format processing (resize, conver...

1,244 1

Version History

Version Released License
v2.1.4 MIT
v2.1.3 MIT
v2.1.2 MIT
v2.1.1 MIT
v2.1.0 MIT