Skip to content

Releases: marcotas/laravel-magic-routes

v0.5.0

12 Jun 14:33
Compare
Choose a tag to compare

New feature and changes:

  • Possibility to add more than one http methods on invokable controllers
class MyController
{
    use MagicRoutes;

    protected $method = 'post';
    // or
    protected $method = 'post|put'; // separate methods by '|'
}
  • Update readme file to say that it is only compatible with laravel 7+

Fix php compatiblity

13 Apr 18:36
Compare
Choose a tag to compare
v0.4.2

Make compatible with php versions < 7.4

Update security packages and README

04 Apr 15:50
Compare
Choose a tag to compare
v0.4.0

Update security packages and README

Fix params without typehint

30 Mar 13:03
Compare
Choose a tag to compare
v0.3.1

Fix params without typehint

v0.3.0

29 Mar 20:20
Compare
Choose a tag to compare
Add some improvements

- Allow define invokable controllers
- Allow define http method for invokable controllers
- Allow define route prefix for the controller

v0.2.0

29 Mar 18:10
Compare
Choose a tag to compare

Add register middlewares to magic routes trait.

v0.1.0

29 Mar 17:48
Compare
Choose a tag to compare
Update composer.json