Support the ongoing development of Laravel.io →

(integer) cast must be done in Homestead for Controller parameter

I am having a hard time searching for the cause of a discrepancy between my local dev environment (H...

0 Likes
4 Replies
posted 9 years ago

Laravel joins using different databases query

I am constructing this query in my Laravel controller; $payments = DB::table('payments')->leftJoi...

0 Likes
1 Replies

Retrieve settings from .env with env() or use config()

Is there any reason I should import variables from my .env file to a config and then use the config(...

0 Likes
0 Replies

[Laravel 4.2][List] I need to create onclick open new tab OR onclick show sub-items list

I have 3 departments in view and When user click on one of the department it should display its sub-...

0 Likes
1 Replies
posted 9 years ago

Action not defined, although it is

Hello everybody. After updating from 4.2 to 5.0, I am getting the following message in almost every...

0 Likes
5 Replies
posted 9 years ago

Lazy property in Eloquent models.

Hi everyone. I'd like to access a property with the total of rows of a given model as a lazy propert...

0 Likes
2 Replies
Solved

I am trying to install laravel in my /home/myuser/public_html/

I have followed both (while changing values to reflect my /home/ location) http://laravel.com/docs/4...

0 Likes
0 Replies

How to remove a duplicated slashes in Laravel 4.2 and put closing slash to categories (trailing slash)?

Hi all. Developing project on Laravel 4.2. Find some strange thing. I have URL example.com/news and...

0 Likes
1 Replies

Session issue in L4.0.9

Hi there, I have an application running on L4.0.9 which servers the API for android and iOS App. Las...

0 Likes
0 Replies

Keep Search Parameters Through Pagination

Somewhat new to Laravel(4.2) and I'm having issues with pagination on my search function. So far I'v...

0 Likes
4 Replies

eloquent relationship many-to-many with 2 tables?

so my table structure is this: users: id,........ user_favourites: id, user_id, favourite_id Both...

0 Likes
0 Replies

how to inject model to other method for a model?

hi.! I develop a project in laravel <?php public function test() { return $this->test2(\App\...

0 Likes
0 Replies

Named error bag when using $this->validate?

I have two forms on a page - both of them are validated in controller functions using $this->vali...

0 Likes
0 Replies

How to access additional user information stored in another table

Hi, I'm using Confide&Entrust package for user managment and now I'm storing additional user inf...

0 Likes
17 Replies

How to run database stored procedures from Artisan Command?

I've been fighting this for a few hours now, but don't seem to be able to solve it. I have a stored...

0 Likes
0 Replies

Docker for the Laravel framework

Hey guys, I just released 5 new Docker images to GitHub & Docker Hub which are intended to provi...

0 Likes
1 Replies

how to pass variable into a new variable using parameter

I have getName Function shown below: public function getName($id) { $visit = DB::table('tm_Child') -...

0 Likes
0 Replies

Laravel on EC2 instance connecting to RDS mysqli database error.

Ok, so I've been working with my laravel code base locally via homestead and decided to push a test...

0 Likes
0 Replies

Config Cache Results in "InvalidArgumentException in FileViewFinder.php line 140"

When running php artisan config:cache my views all return the error message "InvalidArgumentExc...

0 Likes
2 Replies

fatal error

Hi there, I am new in Laravel I use some L5 packages outside Laravel. I get a Fatal Error when i am...

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.