Support the ongoing development of Laravel.io →
posted 10 years ago

How to pass variable back from @include blade template?

Hi, I'm wondering how do I pass the variables set in an @include back to the calling blade template...

0 Likes
0 Replies

Eloquent hasOne best practice Laravel 5.0

Hello, #Laravel 5.0 Standart situations with html_meta table that contains some html meta data for...

0 Likes
5 Replies

eloquent query multiple relations deep

I have 3 models in question. Company, User, Group. I am trying to return all company records whose c...

0 Likes
4 Replies
Solved
posted 10 years ago

Getting results from a mysql stored procedure using laravel

Hi, I was wondering if someone can help me with this. For a few days now, I have tried to find a way...

0 Likes
1 Replies

Getting a error when trying to migrate MYSQL table.

I am getting this error when running it in terminal on my mac. This is what I am running in terminal...

0 Likes
4 Replies

Reusing code in Laravel 5

I am learning Laravel and am using Laravel 5. I have some standard reusable functions that I want to...

0 Likes
6 Replies
posted 10 years ago

NotFoundHttpException issue

Hi, It is the first time I use Laravel. I start with a simple project, this is my routes file conten...

0 Likes
10 Replies
Solved

How to use basic class to render partials, please help

Hi Folks, I have some eloquent code I use throughout my controller to render a view, rather than kee...

0 Likes
1 Replies

Simple Search Engine

Hello, I am developing a simple search engine and I am having troubles with receiving the results co...

0 Likes
1 Replies

Possible to auto generate forms based on model.

As the title says, would it be possible to define the field types etc in Model array so view can aut...

0 Likes
1 Replies

User input isn't being accepted into database?

Hi Everyone, I'm attempting to save user search phrases into my mysql database. I'm having a difficu...

0 Likes
2 Replies
Solved

Test controller - why eloquent don't strip redundant input in tests (like password_confirmation)

Hey, I am starting with testing and right now I want to test my controller using phpunit. I have suc...

0 Likes
5 Replies

how to change named routes from route just not in all pages in laravel ?

Hello, how to change named routes from route just not in all pages in laravel ? Route::group(array('...

0 Likes
3 Replies

Display threads with order by post (like higher ID)

I'm building forum. But I need help about building the forum display page. <?php $teemad = DB::ta...

0 Likes
1 Replies
posted 11 years ago

How to set array key from column value

Hi! Is there a nice way to set array key by column value? Now I am doing it this way: $myArray = My...

0 Likes
2 Replies

Upload Project in Cpanel

Hello I have created a project with Laravel 4. Now I wan to upload this project in Cpanel. There are...

0 Likes
3 Replies

DB + variables naming conventions

Hi everyone I've been searching this for a while, but couldn't find the specific subject So here is...

0 Likes
2 Replies
Solved

Laravel - filter by multiple relation values while keeping eloquent pagination

I have two models, Character and Tag, that are in many-to-many relationship. I'd like to be able to...

0 Likes
5 Replies
Solved

Laravel 5 Errors

I have made 404.blade.php and put this in my views/errors folder next to the installed 503.blade.php...

0 Likes
2 Replies
posted 11 years ago

Sorting by count of relationships

I have a system with users have countries. I have a view where I want to show a list of countries an...

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