azuradara/illumake

A (mostly) typesafe Laravel container resolver.

Installs: 6 086

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/azuradara/illumake

1.0.1 2024-10-25 11:17 UTC

This package is auto-updated.

Last update: 2025-10-25 13:38:36 UTC


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.