Giter VIP home page Giter VIP logo

laravel-41-route-caching's People

Contributors

eelkevdbos avatar scrutinizer-auto-fixer avatar yuripave avatar zandzpider avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-41-route-caching's Issues

Laravel 4.0 compatibility

Now that I went through all 4.1.x versions, I should do the same for 4.0.x to find out what it would take to add compatibility for that.

unexpected MethodNotAllowedException in some PATCH/POST routes

Seems that disabling the routes cache solves this, both by //comment and by TTL=0.

output of php artisan routes is identical.

It would be nice to know:

  • if this code was copied from L5 or written for L4.1
  • if this code is meant to work with $router->controller and $router->resource

Clean cache

Hi,

Thanks for the great library. It is very useful in projects with laravel 4.2

This is more a request, not a bug.

Is it possible for you to create a public function in the Router.php to clean the cache?
Sometimes we don't change the Routes.php but if we add a method in a controller that is defined by Route::Controller it will give 404. This happens when routes are cached and it didn't had that method before.
If I had that method (could be called though the Facade like Route::cleanCache() ) I could make a command that calls it.

Thanks,
Pedro

PS. sorry about the bad english

Incompatible with older 4.1.* versions

As pointed our by @yuripave in pull request #2, integration tests with Laravel < 4.1.19 fail. I should check each individual version and figure out if I can make it work without getting too hacky.

Otherwise, may need to restrict Laravel version number (as updating from 4.1.x where x < 19 to 4.1.y with y >= 19 shouldn't be a problem in almost all cases).

Throws error on my app which is built on laravel 4.2.17

I added the package and also included the service provider but it throws the following error.

Call to undefined method Illuminate\Routing\Router::cache()

Am I doing anything wrong or Any idea on why this is occurring ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.