Support the ongoing development of Laravel.io →

338 Threads

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 9 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 9 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 9 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

Pagination Data not Consistant

<?php echo $users->appends(array('sort' => 'votes'))->links(); ?> I do a GET form sub...

0 Likes
0 Replies

Cookie not Displaying

$cookie = Cookie::forever('test','selected') $test = Cookie::get('test'); dd($test); I'm getting NUL...

0 Likes
0 Replies
posted 10 years ago

Caching API calls

Is there a way to use the Cache class to cache API calls like in my example below? I don't see anywa...

0 Likes
1 Replies

How to cache specific related model info?

Hi, Let's say a User belongsTo a Language, and to make it simple here's the controller (no repo) : $...

0 Likes
6 Replies

Set Relative Address in Artisan command for simplepie

I use Simplepi as artisan command for red feed . for setteing simplepie i need the relative address...

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.