Support the ongoing development of →

334 Threads

Changing the url to show the title instead of an id

Hi, In the url you get something like /view/1 but I would like to to show /view/test instead, but I...

0 Likes 3 Replies

How to get page number before pagination query?

Hi all, I get posts with the query below in pagination: $posts = Post::all->paginate(30); I want...

0 Likes 1 Replies

Raw JSON being displayed when returning to page

I have a view that is populated in part by rendering a view and passing it back as html in a JSON ar...

0 Likes 3 Replies

Where does Laravel store configuration for memcached session driver?

Reposting from because I have no patience. :-) -- The La...

0 Likes 1 Replies

Pagination & Cache bug problem

hi guys There are bug on this code. Why there is bug this code? Thanks i...

0 Likes 0 Replies

Cache::tags(...)->flush() issue: different context in Eloquent observer/event?

Hi, I'm experiencing a strange behavior in the model observer/event callbacks. I'm trying to clear t...

0 Likes 0 Replies

Error "Call to undefined method Cache::driver()" is driving me crazy

I'm getting a "Call to undefined method Illuminate\Support\Facades\Cache::driver()" whenev...

0 Likes 0 Replies

Cache::has() and other undefined methods

Hi, I'm trying to get Cache working, but whenever I call to any of its methods as described in docs...

0 Likes 4 Replies

Cache Eager Loading

Hi there How I can cache Eager loading in laravel? suppose that we have this query : $today_posts =...

0 Likes 0 Replies

Cache::get() with image data using Memcached

I'm creating dynamic PNG images from database data using Intervention/image. To decrease the process...

0 Likes 0 Replies

Issues with Laravel Cache

I have one strange issue while using Memcached with Laravel. On my local environment I'm using Windo...

0 Likes 0 Replies

routes.php changes not reflecting

Im new to laravel. I changed something in the routes.php, e.g. handling a new different URI, changin...

0 Likes 1 Replies

Call/run a route from another route

I'm using a full-page cache system and I want to refresh cover and target posts proactively so the b...

0 Likes 0 Replies

CPU spikes due to many cache files?

We recently moved our application to Laravel. This has all been going great, but we ran into one pro...

0 Likes 0 Replies

Cache Tags on differing environments; Looking for an elegant solution

I understand why Cache Tags aren't allowed on the File Storage/Database cache drivers. However we d...

0 Likes 0 Replies

Nothing happens when i change something in app

So i have deployed app with, and everything works fine. Then i changed routes to test if it...

0 Likes 0 Replies

Memory on the server using laravel

Hi all. I have used Laravel 4.2 for some of their projects. However, most of the projects I use Debu...

0 Likes 0 Replies

Persisting Global variables

I am working on my first ever Laravel 4 REST project. My basic question is how can I create a global...

0 Likes 1 Replies

Blade caching problem? Same view is rendered, though contents is different.

Hi! I am making a newsfeed for my application using the strategy pattern because the list contains d...

0 Likes 1 Replies

Laravel issue with crom browser

I have laravel 4.2 with Apache & Mysql. When I start my application I get blank page in crome. H...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.