Skip to content

Releases: barryvdh/laravel-ide-helper

v2.6.6

02 Dec 15:02
b91b959
Compare
Choose a tag to compare
Create FUNDING.yml

Fix missing method on Monolog2

08 Sep 09:59
Compare
Choose a tag to compare

v2.6.4

03 Sep 17:52
16eb4f6
Compare
Choose a tag to compare
Update readme.md

v2.6.3

03 Sep 17:41
Compare
Choose a tag to compare
fix the identation in the config (#817)

v2.6.2

26 Mar 10:43
Compare
Choose a tag to compare
Support for custom builder classes (#782)

v2.6.1: Make autoload exception more specific (#777)

05 Mar 11:12
Compare
Choose a tag to compare
This is a nice-to-have ([as I'm currently overriding it](https://github.com/psalm/laravel-psalm-plugin/commit/a700c89061d151d1c08851abd93d834f9183534d)), but might help other packages.

v2.6.0: Add support for invokable classes as macro function (#765)

26 Feb 18:15
Compare
Choose a tag to compare
Macros can be used with invokable classes, like so.

```
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Response;

class ResponseMacroServiceProvider extends ServiceProvider
{
    public function boot()
    {
        Response::macro('foo', new Foo());
    }
}

class Foo
{
    public function __invoke()
    {
        return 'foobar';
    }
}
```

When running `ide-helper:generate` the following fatal error was thrown.

```  Symfony\Component\Debug\Exception\FatalThrowableError  : ReflectionFunction::__construct() expects parameter 1 to be string, object given```

This commit fixes this error.

v2.5.3

19 Dec 12:12
Compare
Choose a tag to compare
prevent loading views if `view` class not in container (#691)

v2.5.2: Merge pull request #707 from crhg/fix_getAliases

07 Nov 13:27
981ff45
Compare
Choose a tag to compare
Fix alias class existence determination #698

v2.5.1

06 Sep 18:41
7db1843
Compare
Choose a tag to compare
Remove Eloquent mixin thing