JeffreyWay / Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
https://packagist.org/packages/way/generators
MIT License
27 stars 9 forks source link

Call to undefined method [package] #436

Closed dainemedia closed 9 years ago

dainemedia commented 9 years ago

When referencing "laravel/framework": "4.2.*" in composer.json I receive a Call to undefined method [package].

If you change the reference to "laravel/framework": "4.2.0" all works fine.

dubcanada commented 9 years ago

It's related too https://github.com/laravel/framework/commit/3a0afc20f25ad3bed640ff1a14957f972d123cf7

Until a new way is developed all packages are broken for Laravel 5.

dainemedia commented 9 years ago

I'm not talking about Laravel 5 mate. Laravel 4.2.*.

sebastiansulinski commented 9 years ago

@JeffreyWay - are you planning to update it any time soon to the new package approach used by Laravel 5?

jonathanpmartins commented 9 years ago

I don`t think the new approach is out now, but it would be soon.

morrislaptop commented 9 years ago

I've developed a method to bridge packages across without modifying their source code, all you need to do is point to a bridging service provider which handles all the differences. Blog article at https://medium.com/@morrislaptop/bridging-laravel-4-packages-to-laravel-5-2081f19643c6 and the source code is at https://github.com/morrislaptop/LaravelFivePackageBridges