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

Mock Carbon with laravel

Hi, i have been try to mock the Carbon object end something like shoudRecive now method, but i have...

0 Likes
2 Replies
Solved

HOW TO: Use any column other than email as username (Laravel 5.2)

I couldn't find in the docs how to change authenticating against an email to something else. For ins...

0 Likes
3 Replies
Solved

How should I run 40+ reasonably different websites off one Laravel instance?

I am rebuilding about 40 different automotive dealership websites and would like to consolidate them...

0 Likes
6 Replies

Laravel maatwebsite importhandler

Hi Guys, Currently i'm playing with Maatwebsite Excel package, the import handlers. http://www.maatw...

0 Likes
0 Replies

Creating new pivot table entries with additional attributes

I have two models: Order and Item. There is a many-to-many relationship with a pivot table linking a...

0 Likes
0 Replies

How can I use whereHas on a relation of a relation to the same table with Eloquent Query Builder?

I'm trying to run this query: $products = $this->product_model->where(function($query) use ($k...

0 Likes
0 Replies

MethodNotAllowedHttpException

Hey folks, I'm getting a MethodNotAllowedHttpException when trying to use the HTTP method DELETE for...

0 Likes
1 Replies

Generate Laravel Migrations using Xethron package Laravel 5

Create migration from database Step:1 -> run these commands separately 1: composer require --dev...

0 Likes
0 Replies
posted 10 years ago

Add relation to default User Class

Hi, I'm new to Laravel. I use the Laravel 5.2 default authentication; in App/User.php we have the de...

0 Likes
2 Replies
Solved

Validating pivot tables

I'm using the Form Request validation, but how do I validate my pivot tables? For example when I att...

0 Likes
0 Replies

Get details of reverse polymorphic, maybe a different way to approach this?

In this example: Tables Person id firstname lastname Company id companyname Item id attachedto_...

0 Likes
1 Replies
Solved
posted 10 years ago

How to create link with blade templating

I am trying to write a link (just like ahref) in my VIEW to another VIEW page in the app. How do I...

0 Likes
4 Replies
Solved
posted 10 years ago

laravel adaptor for psr-6 cacheing interfaces

Hello everybody I recently pulled down a package that was depended apron the new psr-6 cacheing inte...

0 Likes
0 Replies
posted 11 years ago

Selecting certain columns with Eloquent

I have Property model and in it I have relationships with few other tables. Here is an example for t...

0 Likes
5 Replies
posted 10 years ago

Dingo API Authentication Parameters

Hello. I am trying to use Dingo's 'basic' api.auth middleware to protect my API endpoints. The user...

0 Likes
0 Replies

Intermediate page after submitting form but before saving model

I am trying to add essentially a "confirmation" (or "place order/go back") page...

0 Likes
1 Replies

Step-by-step course: Learn Laravel: Be a Web Professional

Hello people! I want to share the latest version of my course about Laravel. I read that some of you...

0 Likes
2 Replies

Laravel Homestead installation

I've already made all of the steps in This is a link, but i have some problems. When I want to "...

0 Likes
3 Replies
posted 10 years ago

Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed

Hi Guys, I'm having a problem with Laravel version 5.0.34 when I try to upload a file. I found some...

0 Likes
1 Replies

Populate dropdown based on previous selection

Hey guys, am trying to implement into my app ability to populate a select drop base on a previous se...

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.