Support the ongoing development of Laravel.io →

Working with a front-end developer (env setups)

what's the best workflow for collaborating with someone remotely who's just going to be doing css/ja...

0 Likes
2 Replies
posted 9 years ago

Convert raw mysql to laravel eloquent

Hi, I am new to laravel eloquent and wanted to convert this to eloquent, can someone help me? thank...

0 Likes
1 Replies

Controller routing based on guest or authed user

So I'm a little bit new to Laravel, and slightly new to MVC frameworks. I've learned a little bit of...

0 Likes
1 Replies

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

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.