azuradara / illumake
A (mostly) typesafe Laravel container resolver.
Installs: 2 116
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
Requires (Dev)
- laravel/framework: >=5.8
README
A (mostly) typesafe Laravel container resolver.
Usage
// Provides autocomplete for the DatabaseManager make(\Illuminate\Database\DatabaseManager::class) ->transaction(fn () => {});
Limitations
- Does not work with non class-strings.
- Parameters second argument is not type hinted.
Why
Laravel's app()->make()
gives me the ick.