PHPackages                             percymamedy/laravel-accessory - 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. percymamedy/laravel-accessory

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

percymamedy/laravel-accessory
=============================

Collection of Traits and Helper methods for Laravel 5

16PHP

Since Mar 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/percymamedy/laravel-accessory)[ Packagist](https://packagist.org/packages/percymamedy/laravel-accessory)[ RSS](/packages/percymamedy-laravel-accessory/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

 Laravel Accessory
-------------------

[](#---laravel-accessory)

Introduction
------------

[](#introduction)

Laravel Accessory provides a collection of helper methods and traits for supercharging your Laravel Applications.

License
-------

[](#license)

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

### Installation

[](#installation)

This packages works for Laravel versions 5.\* only.

Install Laravel Accessory as you would with any other dependency managed by Composer:

```
$ composer require percymamedy/laravel-accessory
```

### Configuration

[](#configuration)

> If you are using Laravel &gt;= 5.5, you can skip service registration and aliases registration thanks to Laravel auto package discovery feature.

### Usage

[](#usage)

Let's take a look at the available features and helpers provided by Laravel Accessory.

### Available Traits

[](#available-traits)

Laravel Accessory provides you with useful traits that can be easily applied to your classes.

#### `Makable`

[](#makable)

The `Makable` trait simply adds a `static make()` method to your classes. This allows you to fluently create new instances of a class without using the `new` keyword everytime. This is simply sugar coating for newing up objects.

Consider the following Mail class with the `Makable` trait applied to it :

```
