azuradara/illumake

A (mostly) typesafe Laravel container resolver.
9,160 5
Install
composer require azuradara/illumake
Latest Version:1.0.1
PHP:>=7.4
License:MIT
Last Updated:Oct 25, 2024
Links: GitHub  ·  Packagist
Maintainer: azuradara

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.

Related Packages

zizaco/entrust

This package provides a flexible way to add Role-based Permissions to Laravel. S...

5,352,808 6,006
leroy-merlin-br/mongolid-laravel

Easy, powerful and ultrafast MongoDB ODM for Laravel.

28,559 237
zizaco/testcases-laravel

Some classes to help write tests for laravel 4 applications

50,506 46
shiftonelabs/laravel-sqs-fifo-queue

Adds a Laravel queue driver for Amazon SQS FIFO queues.

6,930,980 154
triun/laravel-model-validable

Gives the models the ability to be validated before saved.

473 1