Support the ongoing development of Laravel.io →

343 Threads

Create a 'static' function in a model

Hello all, I have some lookup tables in my project that contain some id => name values. For that...

0 Likes
0 Replies

Strange cache(?) error -- Web view not reflecting code edits

I have a cascade of packages. Package A requires Laravel 4.1.29. Package B requires Package A. Packa...

0 Likes
2 Replies

Rendering views while other views are rendering

This was an issue I posted on Github earlier but Mr Otwell closed it and advised I post it here inst...

0 Likes
6 Replies
Solved

Update images

Hi, I often have to refresh the page after updating the images through a form to see the latest uplo...

0 Likes
0 Replies
posted 10 years ago

Cache time to expiration

Hiya - is there a way to get the time to expiration for a cached object?

0 Likes
1 Replies

simple config in prod of packages doesnt work

I have several packages that I did php artisan config:publish and than in the server I copy paste...

0 Likes
6 Replies

Output stats every 5 seconds

Hey I'm wanting to use JavaScript and Laravel/PHP to create a continuously updating statistics panel...

0 Likes
3 Replies

[Tutorial] Manipulating and serving images on-the-fly with Laravel 4 (2-part tutorial)

Hi again all, This tutorial is on the forum archive, but I thought it might be handy for some people...

0 Likes
1 Replies

Every move i make at laravel ,laravel stuck!!

I just installed new laravel 4 fresh copy. new copy url : http://localhost/ln/public I setup config...

0 Likes
1 Replies

How to load the latest collection file

hello, does anyone know how to make my application load the latest collection file I have? Somehow i...

0 Likes
0 Replies
posted 10 years ago

Cache problem when using a cached query with a eager loaded join

I am using the file cache for an in office application which has about 5 users. The cache is workin...

0 Likes
3 Replies

Caching relationships and table data

Throughout querying my database with the queries as the one below; Model::with('first','second','thi...

0 Likes
2 Replies
Solved

RESTful Controllers use lots of memory

Hi All, My restful controllers in the routes.php use lots of memory in Laravel 4.1. This standard? I...

0 Likes
3 Replies

Global query for every view. Better approach?

I would like to be able to display a status message count on every view of a site that I'm developin...

0 Likes
0 Replies
posted 10 years ago

Caching under 1 second

$expiresAt = Carbon::now()->addSeconds(20); Cache::put($key, $data, $expiresAt); This doesn't se...

0 Likes
6 Replies
Solved

Caching a complex DB::select(...) query

Hi, I am trying to implement some basic database caching but I am running into some difficulties. I...

0 Likes
1 Replies
posted 10 years ago

Class cache does not exist

Hi all I have a slight issue ive extended the UrlGenerator class as explained in the documents to us...

0 Likes
0 Replies

Laravel Queue with AWS

Let's say i'm submitting multiple Job to Queue with the same Job name. But while one job is processe...

0 Likes
0 Replies

Cache directory woes

By default blade caches its compiled views in {storage_path}/views. I've made sure that this directo...

0 Likes
0 Replies

Session doesn't keep payload

$cookie = Session::put('test','selected'); $test = Session::get('test'); dd($test); I'm getting sele...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.