Skip to content

Releases: barryvdh/laravel-ide-helper

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

Support Laravel 5.7

04 Sep 14:14
09db8c9
Compare
Choose a tag to compare
v2.5.0

Update composer.json

v2.4.3: Merge pull request #624 from iPaat/Fix/623

08 Feb 10:03
5c304db
Compare
Choose a tag to compare
Fixes a bug where a missing DocBlock caused errors

Support L5.6

07 Feb 08:31
387efb9
Compare
Choose a tag to compare
v2.4.2

Allow L5.6

v2.4.1: Fix for Laravel 5.5 (#540)

22 Jul 12:27
Compare
Choose a tag to compare
Command fire method is now handle