Support the ongoing development of Laravel.io →

Laravel storage/framework/sessions on EC2 gives failed to open stream

I use to have a working deployment system to amazon beanstalk with EC2 servers and recently I added...

0 Likes
1 Replies

Accessing .env environment variables in the middleware kernel constructor

It seems that in the Middleware Kernel constructor() eventhough I have access to the env('') helper...

0 Likes
0 Replies

change return of paginate()

hello to every one, at first sorry for my bad english. hi to everyone, I have a issues with a route...

0 Likes
1 Replies

Postgres 9.4 new question mark operator can't be used in eloquent raw queries

The question mark allows to search values in JSONB array: SELECT * FROM tracks WHERE artistnames ? '...

0 Likes
2 Replies
Solved

Routing with parameters

So I'm going through the Laravel 5 Fundamentals cast and I thought I would just make a link that wou...

0 Likes
2 Replies
Solved
posted 10 years ago

Overwrite model attribute with a value from related model

I've got a model for product, and a model for a sale - the product has a price, and the sale has sta...

0 Likes
2 Replies
Solved

Laravel 4 Pagination Working incorrectly (Append query string to paginator?)

I'll start by saying i've already consulted the Laravel 4 documentation on Pagination and tried many...

0 Likes
1 Replies
Solved

working with non laravel packages

how to work with non laravel package this is the https://packagist.org/packages/kerphi/phpfreechat p...

0 Likes
0 Replies
posted 10 years ago

how to give priority to jobs in queue (let say pushing in front)

How can i push certain jobs in front in the queue in other words give priority to jobs ? I did n't f...

0 Likes
2 Replies

Get avg in single query

Can any one please help me how to get all column and avg of a column in a single query without using...

0 Likes
2 Replies

Which one is faster?

i need to know about this question. Which one is faster: WordPress or CMS made with Laravel?

0 Likes
3 Replies

No Auth Views after composer create-project

Hi, I just got to the Easy Auth video in the fundamentals and noticed that I have no Auth views. If...

0 Likes
1 Replies
Solved

Laravel 5 images

Hello, What could be wrong, if I put image to "public/img.jpg" Laravel works fine, if in...

0 Likes
2 Replies

Pagination shows everything on each page

Hello, I am trying to build a webshop in laravel 4.2. I am almost done with everything but in the la...

0 Likes
3 Replies
Solved
posted 10 years ago

DB::getQueryLog() returning empty array even after enabling DB::enableQueryLog()

DB::getQueryLog() is returning an empty array, even after enabling the query log with DB::enableQuer...

0 Likes
1 Replies

Associating view to user record

So I have a view where I loop through then display a company's employees into a table. We are implem...

0 Likes
2 Replies
posted 11 years ago

Pivot table seeding problem

Hi, I have a problem about seeding the pivot table. Hope anyone could help me to solve it, thanks. E...

0 Likes
1 Replies
posted 10 years ago

Pass route-prefix to controller as parameter

Hello, I use a language prefix in my routing like this: Route::get('/', function(){ return Redir...

0 Likes
0 Replies
posted 10 years ago

My emails go into the spam or don't arrive at all

On my application I need to send emails to confirm the registration as plain text. I've made some tr...

0 Likes
6 Replies
Solved
posted 10 years ago

Class BaseController not found

I tried to create HomeController.php file and when I run the program on localhost received that erro...

0 Likes
2 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.

© 2025 Laravel.io - All rights reserved.