A collection of useful Laravel snippets in the form of easy to use traits.
If you currently live in Russia, please read this message.
Each of the traits will have slightly different directions for usage. For best results review the traits code and corresponding docs (if they exist). In general, you'll need to do the following:
- Require this package via Composer.
- Import
use
the trait at the top of the respective class. - Then
use
the trait in the class.
- Add tests...nuff said.
- Add more traits as I build them, or if others submit some!