Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gnahotelsolutions/laravel-eloquent-macros
- Owner: gnahotelsolutions
- License: mit
- Created: 2021-02-25T10:17:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T11:49:44.000Z (over 2 years ago)
- Last Synced: 2023-12-17T14:21:15.816Z (11 months ago)
- Topics: laravel, package
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
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).