Support the ongoing development of Laravel.io →

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

RESTful controller's create-method and belongsTo relationship

What I'm looking for here, is an elegant way of creating a new Contact. As the image says, a Contac...

0 Likes
1 Replies
Solved

Putting Eloquent model into folders

Using Laravel 5, how do you put models into folders? Currently mine are sitting underneath the defau...

0 Likes
3 Replies
Solved

Can't find my folder in Homestead

I installed Homestead a while ago and have been trying to fix it myself but it's beyond my scope. W...

0 Likes
2 Replies
posted 10 years ago

Redirect without changing address bar

Hi, Is there any way to "redirect" user to another page without changing the address bar?...

0 Likes
6 Replies
Solved

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.