🚢
ShipSaaS READY
HomeGitHub
  • ShipSaaS - Ready
    • Change Log
  • Getting Started
    • Laravel Octane
  • General Glossary
  • Entities
    • Country
    • Currency
    • Language
    • Translation
    • Event
    • Dynamic Setting
  • Services / Helpers
    • Event Sourcing
    • Dynamic Translations
    • Money
    • Dynamic Setting
  • Reusable Traits
    • HasUuid
    • EloquentBuilderMixin
  • Helpful Packages
Powered by GitBook
On this page
  1. Reusable Traits

EloquentBuilderMixin

Documentation for your Eloquent Models

PreviousHasUuidNextHelpful Packages

Last updated 2 years ago

IDE-friendly documentation for your Eloquent Models.

No requirement at all, just simply add this to your Model doc block:

use SaasReady\Traits\EloquentBuilderMixin;

/**
* @mixin EloquentBuilderMixin
*/
class User extends Model
{
...
}

Result in PHPStorm:

Awesome, isn't it?

😉