New

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

mallardduck/laravel-traits

A collection of useful Laravel snippets in the form of easy to use traits.
6,253 13

Larablocks Analysis

mallardduck/laravel-traits works with Laravel 9, 10 and 11 (latest release 0.4.0, Dec 21, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.

Laravel 5 to 8 in earlier releases.

Recommendation checks

Use with care

Use with care: meets 0 of 4 checks.

  • Supports only Laravel 9, 10 and 11, past end of life since Mar 12, 2026
  • No release in the last 12 months (last: Dec 21, 2024)
  • 12 downloads a month (needs 10,000)
  • 13 GitHub stars (needs 100)

State

Quiet
  • Last stable release: Dec 21, 2024.
  • No releases in the last 12 months.
  • First released: Jul 2, 2019.
  • Monthly downloads: 12.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require mallardduck/laravel-traits
Latest Version:0.4.0
PHP:^8.0.0
Laravel:9 · 10 · 11
Older releases:5 – 8
License:GPL-3.0-or-later
Last Updated:Dec 21, 2024
Links: GitHub  ·  Packagist
Maintainer: MallardDuck

laravel-traits

Source Code License PHP Version Latest Stable Version Total Download Count

A collection of useful Laravel snippets in the form of easy to use traits.

A message to Russian 🇷🇺 people

If you currently live in Russia, please read this message.

How to use?

Each of the traits will have slightly different directions for usage. For best results review the traits code and corresponding docs (if they exist). In general, you'll need to do the following:

  • Require this package via Composer.
  • Import use the trait at the top of the respective class.
  • Then use the trait in the class.

Trait docs

TODO

  • Add tests...nuff said.
  • Add more traits as I build them, or if others submit some!

Related Packages

jeffersongoncalves/laravel-zero-console

Reusable traits for Laravel Zero commands: output formatting (tables, state colo...

1,002 1
hmazter/laravel-schedule-list

Laravel package to add command to list all scheduled artisan commands

443,944 94
phpsa/laravel-api-controller

A laravel api base controller with basic CRUD mapped to the model

82,621 49
darsain/laravel-console

Browser console for Laravel Framework.

57,293 168
ms48/laravel-console-progress-bar

A simple console progress bar for laravel 5

27,501 6

Version History

Version Released PHP Laravel License
0.4.0 ^8.0.0 ^9.0 || ^10.0 || ^11.0 GPL-3.0-or-later
0.3.4 ^7.2 || ^8.0.0 ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 GPL-3.0-or-later
0.3.3 ^7.2 || ^8.0.0 ^6.0 || ^7.0 || ^8.0 || ^9.0 GPL-3.0-or-later
0.3.2 ^7.2 || ^8.0.0 ^6.0 || ^7.0 || ^8.0 || ^9.0 GPL-3.0-or-later
0.3.1 ^7.2 || ^8.0.0 ^6.0 || ^7.0 || ^8.0 || ^9.0 GPL-3.0-or-later