Support the ongoing development of Laravel.io →

How can I search multiple tables in laravel 5

I am able to search any column in one table at a time using the following code <?php namespace A...

0 Likes
1 Replies

Google API Key not working

Hey all.. About a half year ago, I and a classmate litterary spent 4 full schooldays finding a way t...

0 Likes
1 Replies

Confirmation on Logout

Hello, I am using L5 for my application. It uses the default logout functionality. I want to show th...

0 Likes
1 Replies

Is it good to save routes into database?

Hello! I am considering the way of saving routes into database (nor routes.php). Could you please pr...

0 Likes
2 Replies
Solved
posted 10 years ago

"Shortcode" style functionality in Blade templates?

What would be the best way to go about implementing shortcode style functionality in views? Example:...

0 Likes
1 Replies

How to search eloquent models with relations

Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...

0 Likes
3 Replies

(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 10 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
posted 10 years ago

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 11 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 10 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

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.

© 2026 Laravel.io - All rights reserved.