Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gnahotelsolutions/laravel-eloquent-macros

Some handy eloquent macros used in our applications
https://github.com/gnahotelsolutions/laravel-eloquent-macros

laravel package

Last synced: 1 day ago
JSON representation

Some handy eloquent macros used in our applications

Awesome Lists containing this project

README

        

# Some handy eloquent macros used in our applications

[![Latest Version on Packagist](https://img.shields.io/packagist/v/gnahotelsolutions/laravel-eloquent-macros.svg?style=flat-square)](https://packagist.org/packages/gnahotelsolutions/laravel-eloquent-macros)
[![Build Status](https://img.shields.io/travis/gnahotelsolutions/laravel-eloquent-macros/master.svg?style=flat-square)](https://travis-ci.org/gnahotelsolutions/laravel-eloquent-macros)
[![Quality Score](https://img.shields.io/scrutinizer/g/gnahotelsolutions/laravel-eloquent-macros.svg?style=flat-square)](https://scrutinizer-ci.com/g/gnahotelsolutions/laravel-eloquent-macros)
[![Total Downloads](https://img.shields.io/packagist/dt/gnahotelsolutions/laravel-eloquent-macros.svg?style=flat-square)](https://packagist.org/packages/gnahotelsolutions/laravel-eloquent-macros)

![Logo](https://banners.beyondco.de/Laravel%20Eloquent%20Macros.png?theme=light&packageManager=composer+require&packageName=gnahotelsolutions%2Flaravel-eloquent-macros&pattern=architect&style=style_1&description=Some+handy+eloquent+macros+used+in+our+applications&md=1&showWatermark=1&fontSize=100px&images=puzzle)

This package provides a few of our most used Laravel Eloquent macros that we have to write in almost every project. Feel free to use them in your own apps. More macros could be added in the future.

## Installation

You can install the package via composer:

```bash
composer require gnahotelsolutions/laravel-eloquent-macros
```

## Usage

``` php
// Usage description here
```

### Testing

``` bash
composer test
```

### Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

## Credits

- [David Llop](https://github.com/lloople)
- [Waska Chaduneli](https://github.com/laravel/ideas/issues/708#issuecomment-613343926)
- [All Contributors](../../contributors)

## License

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

## Laravel Package Boilerplate

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).