Skip to content

A (mostly) typesafe Laravel container resolver.

License

Notifications You must be signed in to change notification settings

azuradara/illumake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Illumake

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.