Download the PHP package ivanaquino/laravel-credithub without Composer
On this page you can find all versions of the php package ivanaquino/laravel-credithub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ivanaquino/laravel-credithub
More information about ivanaquino/laravel-credithub
Files in ivanaquino/laravel-credithub
Package laravel-credithub
Short Description This is my package laravel-credithub
License MIT
Homepage https://github.com/ivanaquino/laravel-credithub
Informations about the package laravel-credithub
This is my package laravel-credithub
under development
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
You have to implement HasCredits contract in your model and use CreditTransactional trait.
Now you can use the following methods:
You can cast type field of CreditTransaction model to whatever type you want, example:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Ivan Aquino
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-credithub with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0