Support the ongoing development of Laravel.io →
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

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

Uploaded laravel website, everything uploaded to the "public" folder?

Hi Everyone I built a website using laravel 4. I uploaded my website to the internet for the first t...

0 Likes
3 Replies
posted 10 years ago

Cookies are empty?

Quick setup: attempting to load a secondary Laravel site side-by-side with an existing CodeIgniter s...

0 Likes
1 Replies
Solved
posted 10 years ago

Fatal error Allowed memory size ridiculously high

Hello, I randomly get this error: Symfony\Component\Debug\Exception\FatalErrorException thrown with...

0 Likes
2 Replies
Solved

Two minds about user roles and security.

I've been tinkering with my own user authorisation and providing user roles based on a database entr...

0 Likes
1 Replies

Laravel localization

Hi, I'm busy learning laravel's localization and I was wondering is there a way to have the language...

0 Likes
10 Replies

what type array return in view

Hello what type array return in view from this varible $agents=DB::table('users_agents') ->sel...

0 Likes
0 Replies
posted 10 years ago

process all user inputs before proceeding

Hi, Im my app i have a function that i want to run on all user inputs before proceeding. Suppose it'...

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.