Support the ongoing development of Laravel.io →

Eager Loading and Relations.[URGENT]

I'm trying to relate a user model and a comments model. My user model has the following code.. clas...

0 Likes
4 Replies
Solved

Seeding from migration

This may be a weird question, but is there a way to seed the db from a migration? The reason is that...

0 Likes
1 Replies
Solved

Increment in Query Builder

DB::table('items')->where('id', $itemID)->increment('save',1); As above, is that possible or d...

0 Likes
1 Replies
Solved
posted 11 years ago

How not to break the internet with routing ?

Given this URL structure www.example.org/category www.example.org/category/subaction1 www.example.or...

0 Likes
2 Replies
Solved

Save radio button selected value in Session variable

I'm building multiple page quiz. When users select options(answer) for a question, it should store i...

0 Likes
5 Replies
posted 11 years ago

Where do I put this logic?

I'm struggling with where to put logic like this? http://laravel.io/bin/Qz41 I have a multi domain a...

0 Likes
1 Replies

Problems with mega special routing !

Hey there, we´re trying to rebuild our company´s website with laravel. At the moment we have some bi...

0 Likes
1 Replies
posted 11 years ago

Problem when pasting into PHPStorm with blade syntax

Hi, I'm having some problem with PHPStorm when I paste something into it. I is very hard to explain...

0 Likes
1 Replies
posted 11 years ago

Making a Forum

how could i display the forum topics from the database to the page?

0 Likes
1 Replies

Codeigniter-like automatic routing, fetch $_GET parameters and load multiple views inside one function

Hello, I am new from Laravel, migrating from Codeigniter. And I am currently building my first websi...

0 Likes
2 Replies
Solved
posted 11 years ago

Inject dependencies in tests via App::make()?

I'm new to testing and am trying to figure out how to inject dependencies. I am able to inject objec...

0 Likes
1 Replies

Presenter / Decorator clarification

I want to create a CollectionPresenter object that allows me to decorate a collection with functions...

0 Likes
0 Replies

Getting rid of index.php in URLs

Hi all! How do I get rid of the index.php file in the URL? Currently my site works either way: http:...

0 Likes
6 Replies
Solved
posted 11 years ago

Hiring PHP/LARAVEL Developers (2x) Junior £25k (1x) Mid and 1xSenior (£35k+) DOE (Central London, UK)

#A little about us... Rocabee are a tight-knit team of web professionals covering a wide array of te...

0 Likes
0 Replies

best way to save a model with it's relasion

I have two tables products (model: Products) product_common_auction (model: ProductCommonAuction...

0 Likes
0 Replies
posted 11 years ago

Blade Fails to interpret @extends structure

Laravel 4.1.21 This does not happen every time but for a few template files only. Template File...

0 Likes
4 Replies
Solved
posted 11 years ago

How to make in category database subcategory

Hi i have two tables CATEGORY and PRODUCT i need SUBCATEGORY and then PRODUCT this is my database m...

0 Likes
2 Replies
posted 11 years ago

Using jquery mobiles date widget

Jquery mobile has a nice form-element called: "data": <input type="date" data...

0 Likes
1 Replies
Solved

mktime not working with larval

I'm using this tutorial to create a timer .. http://parashch.wordpress.com/2013/05/25/countdown-time...

0 Likes
2 Replies
Solved

Composer adding NUL's issue

ive been having some really strange problems with composer. It comes down to when i do a dump-autol...

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