Support the ongoing development of Laravel.io →

Search in laravel 4 issues.

i am writing my app and i have this issues with the search field from the search controller. the sea...

0 Likes
1 Replies
posted 10 years ago

Controller usage

Have been trying to work out the proper structure for a new site, and am trying to ensure I'm thinki...

0 Likes
3 Replies
Solved

Problem with relations in Eloquent in Laravel 5.0

I am new to Laravel but started from Laravel 5.0. I got 2 tables: Doctors class CreateDoctor...

0 Likes
3 Replies
Solved

Redirect::to() in 'auth' filter displays plain text message "Redirecting to url"

Hey everybody, I've been searching everywhere, and the only thread I found was on the old laravel fo...

0 Likes
11 Replies
Solved

Converting a DB-object into an array (for form use)

Hi, i use this $data['cities'] = DB::select("SELECT ..."); return View::make('test',$citie...

0 Likes
4 Replies

Browser Back Button clicked

logged in into account , when authentication successful routes to the assigned routes , now when...

0 Likes
0 Replies

Register events in ServiceProvider on PSR-4

Hi! Im developing an application on Laravel 4 and I am trying to follow the PSR-4 Standard in order...

0 Likes
0 Replies

Consuming Internal API - JSON content-type and payload

Hello, I'm a relative Laravel newbie and trying to construct an API-centric web app that will consum...

0 Likes
6 Replies

How do I install phpmyadmin with Laravel?

I am currently on a macbook and been using laravel 4. I am unsure on how to install and access phpmy...

0 Likes
10 Replies
posted 10 years ago

PHP People Directory

I have created a people directory for PHP developers it's an extension of LinkedIn. Register yoursel...

0 Likes
1 Replies

Same controller class for multiple routes

Hello! I there way to use one controller class but for different routes? I mean, one controller clas...

0 Likes
0 Replies
posted 10 years ago

laravel secondary route controller

in my routes.php Route::controller('/admin','AdminController'); Route::controller('/admin/customers'...

0 Likes
2 Replies
Solved

New to Laravel - Correct way of working

Hi, Bit of background - I have a PHP project, it works ok at the moment. One problem is that its me...

0 Likes
2 Replies
posted 10 years ago

Adding unique column to table that already have data

How to? because migration like this public function up() { Schema::table('posts', function($table)...

0 Likes
2 Replies
Solved

Carbon add number of days excluding weekends and custom dates

Hi, I'm trying to get a a date that is 3 days from the selected date, but excluding weekends and hol...

0 Likes
2 Replies
Solved

GET multiple variables from URL and pass them to controller

Hello This is maybe a stupid question, but I'm just learning Laravel and can't find help on internet...

0 Likes
5 Replies
Solved

Call to undefined method Illuminate\Database\Query\Builder::groups()

I am creating a website that helps users build config files for different applications. How ever, I...

0 Likes
1 Replies

Calling PgSQL function before accessing a Eloquent object property

Hi, I'm using PostgreSQL + PostGIS and I need to call ST_AsText(geom) function when I access a prope...

0 Likes
0 Replies

belongsToMany relationsship on custom pivot model

Hi! I'm facing a problem with a belongsToMany relationsship on a custom pivot model I cannot solve....

0 Likes
8 Replies

Getting ->diffForHumans() to work on other timestamp fields

Hi, I've been raging for a few hours trying to achieve this. 'created_at' and 'updated_at' both have...

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