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

Eloquent relationships & seeding

Here is part of my Listing model file: public function model() { return $this->belongsTo('Model'...

0 Likes
4 Replies

Models for tables with multiple columns for primary key

I know to override the standard "id" column for primary key in an Eloquent model that you...

0 Likes
4 Replies

How to fetch data by using Eloquent relatinoship

Hi, I'm new to laravel. Currently trying to use eloquent in one of my application. I've 3 database t...

0 Likes
6 Replies

I want to become a full time freelancer, how do I start?

Hi guys, my name is Dallin 24 years old these are my skills: Frontend : HTML5 / CSS3 / jQuery / Embe...

0 Likes
7 Replies
posted 10 years ago

Using index routes with parameters in combination with the route helper (Bug?)

Hi, For some reason, my route helper will not properly recognize the parameters that I pass to the i...

0 Likes
7 Replies
posted 10 years ago

Unable to access FormData

Hello, For some reason or another I don't seem to be able to access the Posted data in my Controller...

0 Likes
6 Replies
Solved

auth for one group?

Hi all! Im new with laravel and I thinking how to solv one problem. in my routing I have somethink l...

0 Likes
1 Replies

Trouble authorizing with side application.

I have an Ads website, built on top of a CMS. Recently I have decided to write few managemenet utili...

0 Likes
0 Replies

Input::all() and Storing user issue with password_confirmation field

<?php // Controller public function store() { $validator = Validator::make($data = Input::all()...

0 Likes
5 Replies

Build project side menu

I'm using laravel-menu to build my menu's. Now I want to build a sidemenu for the projects in my app...

0 Likes
0 Replies

composer update issue laravel 4.2

I update composer last night my code working perfectly on xampp local pc but when i upload on server...

0 Likes
1 Replies
Solved
posted 10 years ago

[L5] Creating a Middleware

Hi all, I want to create a Middleware in Laravel 5 where in the handle() method, I can somehow figur...

0 Likes
0 Replies

Join query in eloquent

so i have this join query $artikels = DB::table('artikel') ->leftJoin('kategori_artikel','artike...

0 Likes
3 Replies
Solved

Before filter working on local server, not on remote server

In one of my controllers, I have used the before filter in the constructor like this: public functio...

0 Likes
8 Replies
posted 10 years ago

Laravel Installation Error in NGINX

After I install laravel and change chmod -R o+w app/storage When I open in the browser. It says: An...

0 Likes
5 Replies
posted 10 years ago

502 Bad Gateway installing laravel

#Nginx Error Log: Connection reset by peer failed (104: Connection reset by peer) while reading resp...

0 Likes
2 Replies

laravel-authentication-acl package not loading css and js (assets)

i use laravel framework in my project i downloaded the package #laravel-authentication-acl 1-Add to...

0 Likes
1 Replies
posted 10 years ago

Render page problem?

Hello , I have 2 routh here. Route::get('/admin','AdminController@adminPage'); Route::get('/admin/ed...

0 Likes
3 Replies

Creating table relationship between two tables using pivot

Hi guys, I'm working on creating my own Project Manager, I currently have a projects, users and a pr...

0 Likes
2 Replies
Solved

<script>alert("OK");</script>

I cache the results of a query using the remember method. But how to cache all query?

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.