Download the PHP package spoyntersmith/laravel-memberships without Composer
On this page you can find all versions of the php package spoyntersmith/laravel-memberships. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spoyntersmith/laravel-memberships
More information about spoyntersmith/laravel-memberships
Files in spoyntersmith/laravel-memberships
Package laravel-memberships
Short Description This is my package laravel-memberships
License MIT
Homepage https://github.com/spoyntersmith/laravel-memberships
Informations about the package laravel-memberships
This is my package laravel-memberships
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
First add the InteractsWithMemberships
trait to your model:
Then you can use the isMemberOf
method to check if the user is currently a member of a membership:
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
- Séan Poynter-Smith
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-memberships with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^9.0