Support the ongoing development of Laravel.io →

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

How to get data from json without index

Hello I need get data from json without index to populate data in dropdownlist $agents = DB::table('...

0 Likes
2 Replies

Object not found! error again

I created a post yesterday saying that I got an error saying Object not found!. I wanted to remove m...

0 Likes
0 Replies

Initial configuration

Running apache. Created view named mainmenu project is at C:/imgweb2. When I run localhost:8000/im...

0 Likes
9 Replies

Multiple user have to confirm news in a board

in a message board several users to confirm the entries. how can I realize the easiest? it will also...

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.

© 2026 Laravel.io - All rights reserved.