Support the ongoing development of Laravel.io →

Validate relationship

I should validate if relationship exit when i create an enrtity. Example: A "Role" should...

0 Likes
0 Replies

Working with PDF templates and placeholder

Hi all, i should work with an existing pdf file and put placeholders on it. I've to fill them with s...

0 Likes
2 Replies

Problem in handling VALIDATIONS and ERROR MESSAGE in form

This is the problem that I encounter Undefined variable: errors (View: /var/www/html/laravel.com/res...

0 Likes
1 Replies
posted 10 years ago

Email template builder

I have a CRM where users are able to send mail to customers. The mails is blade templates where the...

0 Likes
1 Replies

Laravel-Doctrine + Pingpong Labs Modules

I'm building a laravel application which I would like to modularize and use doctrine instead of Eloq...

0 Likes
0 Replies

Cache doesn't work when running unit tests with PHPUnit

Anyone else experiencing this? Problem: During unit tests, Cache neither gets nor sets when being ca...

0 Likes
0 Replies

how to change default database connection in controller

Hello all , i want to ask some question . i want to use database connection depending on each user l...

0 Likes
5 Replies
Solved
posted 11 years ago

Displaying Images Inline -> Text and broken images when content-type set

I need to be able to return an inline-image to the browser. The images are pulled from outside /publ...

0 Likes
8 Replies
Solved

Use Laravel policies with anonymous users

Hi, Is there a way in 5.1 to use policies without having a logged in user? To give an example, I wou...

0 Likes
0 Replies

Route for extends of "Request" does nothings...

Hi ! Before explaining my problem, I just want to say that I'm new in laravel (and frameworks). So,...

0 Likes
0 Replies

Non-static method Laravel\Socialite\Contracts\Factory::driver() cannot be called statically, assuming $this from incompatible context

I am trying to implement facebook authentication using Socialite, and In my auth controller im getti...

0 Likes
2 Replies
posted 9 years ago

phpunit Mock SNS

i have a function that receives sns notifications here is how i receive the data public function rea...

0 Likes
0 Replies

Cannot delete pivot records in a morph relationship

Hi, I have an entity called genre and an entity called project, I have morphed a relationship from p...

0 Likes
0 Replies
posted 9 years ago

Pointing to wrong database

I need to change the name of my database. I made the change in config/database.php. The name is now...

0 Likes
4 Replies

Page error 500

Hello everyone, I need some help. I've had this issue for a few days now and I can't seem to solve i...

0 Likes
1 Replies

Should I worry about upgrading from 5.013 to 5.2?

Hi I've been slowly working on a project, its still far from release. Its been on the backburner for...

0 Likes
0 Replies

Laravel 5 HTML/CSS Convert To PDF

Is there any package or any library to convert from html/css to pdf. I have try these https://githu...

0 Likes
3 Replies

JSON column

Hello guys, I have model with these settings/methods: protected $casts = ['data' => 'object'];...

0 Likes
1 Replies
Solved

Accessing properties of nested objects

I'm trying to access an attribute of a nested object: $company->order()->first()->customer(...

0 Likes
1 Replies
posted 9 years ago

AJAX in Laravel 5.2 (success, but still 500 error)

Hi! Does anyone of you have (or could write) a complete, working with Laravel 5.2 tutorial of Ajax u...

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