Support the ongoing development of Laravel.io →

Seems $this->post->fill()->save wont work in 5.0

Can anybody validate will hasOne work in such way: Post::find(1)->author->fill([ 'title' =...

0 Likes
0 Replies

Carbon install

I am a Laravel Newbies. I install Laravel 4.2 then I install Carbon with Composer. I add to config/a...

0 Likes
2 Replies

Homestead Windows 8 - Problem

As soon as I want to start by Homestead Vagrant up I get the error message. I went to this manual. h...

0 Likes
2 Replies
posted 10 years ago

filter many to many by user_id, Not working

I'm trying to filter the query according to userpicks.user_id. the current query results in all tour...

0 Likes
0 Replies
posted 11 years ago

question: 2 model update -- how to go about

I'm trying to update 2 models from 1 form. (Customer, Customer_Profile) Here's what I got going: Jef...

0 Likes
2 Replies
posted 10 years ago

Schema builder does not support composite keys with auto-incrementing id fields?

Does the Schema builder not support this type of relationship? Pseudocode: Table: cities increments(...

0 Likes
3 Replies

Eloquent: Primary key with more then on field

Hello, I'm new to Laravel and PHP, but I really enjoy working with it :) I want to post, edit and de...

0 Likes
3 Replies

Add created_at column to migrations table.

Hi Everyone, When we run migrate:install, migrations table is created in the database that has two c...

0 Likes
2 Replies

Class singleton without reference

I'm having a bit of trouble with a presenter i'm writing. In essence, I want to run a function to or...

0 Likes
0 Replies

Make Laravel works with external media server

Hi ! I'm looking for a way to split a laravel app on 2 differents servers : The first "main&quo...

0 Likes
3 Replies

Shorthand if else statement not working within blade templating

The first line is the original. I am trying to do a conditional @extend. @extends('invoicelayout')...

0 Likes
2 Replies

How do I run a DB queries for every page generated?

I've just jumped into Laravel / OOP development and I'm having issues with something that's so easy...

0 Likes
2 Replies
posted 10 years ago

Status Page

Does anyone know of an open-source Laravel app that serves like statuspage.io? If not, what about a...

0 Likes
3 Replies

updating record won't save INT fields as NULL, get 0 instead

I'd like to save a form into my MySQL DB which has a couple of INT fields. These fields are all set...

0 Likes
4 Replies

Can you use other database softwares when developing with laravel

I have recently started learning laravel, and I dint feel comrfotable using laravel for constructing...

0 Likes
2 Replies

Redirect route not working

I have created a route and this works correctly. However If the record is deleted and matches the id...

0 Likes
9 Replies
Solved

Resource Routing

Hello, I'm a laravel newby and I just started using resource routing. I have a route <?php Rout...

0 Likes
4 Replies
posted 11 years ago

Sample Gist

this is just a sample gist...I'll put up a couple more ( longer ) to test the waters ;) https://gist...

0 Likes
4 Replies

Database Transactions & Repositories

Does anyone know if its possible to wrap a couple of repositories in a database transaction. For wha...

0 Likes
0 Replies

Is the database instance in Laravel use the "Singleton Pattern" ?

I am new to Laravel. I just want to know is the Laravel create database connection every time for ea...

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.