mallardduck / laravel-traits
A collection of useful Laravel snippets in the form of easy to use traits.
Installs: 6 086
Dependents: 2
Suggesters: 0
Security: 0
Stars: 13
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^7.2 || ^8.0.0
- illuminate/console: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- illuminate/database: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- illuminate/pagination: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- illuminate/view: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
README
A collection of useful Laravel snippets in the form of easy to use traits.
A message to Russian 🇷🇺 people
If you currently live in Russia, please read this message.
How to use?
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.
Trait docs
TODO
- Add tests...nuff said.
- Add more traits as I build them, or if others submit some!