Support the ongoing development of Laravel.io →

How to prevent Model::findOrFail sent header

In a RestFul API, I want to handle the exception before sent header. How could I do that?

0 Likes
0 Replies

Encryption question - User specific data encryption

Fellow Laravel-users, I'm looking into encryption through laravel 5.4, and what I would like is to e...

0 Likes
0 Replies
posted 6 years ago

Hello everyone, I need to call an image from outside the framework

Hello everyone, I need to call an image from outside the framework and display in my view how do I d...

0 Likes
4 Replies

PHP and Laravel Project

How do I integrate PHP and Laravel together?

0 Likes
1 Replies

FatalThrowableError in Encryptcookies.php line 59

Greetings to all.. I'm new in this comunity and excuse if i'm breaking any rule with this question i...

0 Likes
0 Replies

Self model relation

Hi to all. Since I designed my db, I came out with a self related model in my entity relational diag...

0 Likes
0 Replies

New Vue Component Not Working

I have tried creating new vue component with the same template with the Example.vue scaffolding. Inv...

0 Likes
1 Replies
posted 6 years ago

multiple compact error

my controller public function create() { //$cities = City::lists('name' , 'id'); $cities...

0 Likes
0 Replies

Laravel 5 Sort data in Alphabetical Order

What is the best approach to display data in Alphabetical order using Laravel. what is the best way...

0 Likes
1 Replies
Solved

How do I run @include() in module?

I have a folder structure like this: -app --modules ---Account ----Views ----layout.blade.php ----a...

0 Likes
1 Replies

Case-sensitive eager loading and string based foreign key issue

I've a one DataBase(game) where some tables has own prefix and own relations which not related with...

0 Likes
3 Replies

Problem: MySQL Workbench Connecting to Homestead (Vagrant)

Hi, I've installed Homestead and all it's dependencies. Everything seems to be going good, I've got...

0 Likes
6 Replies

Problem with non integer foreign keys hasOne/hasMany Relationship

Currently I have a problem with a relation, defined by a non integer foreign key. I know, foreign ke...

0 Likes
1 Replies

Laravel - Homestead certificates

Please read the below link to understand the issue: https://stackoverflow.com/questions/44400125/lar...

0 Likes
0 Replies

OrderBy related model?

We have posts and theyneed to be sorted by Authors name and Category popularity. I have tried smth l...

0 Likes
0 Replies

Keep getting Class not found when trying to extend a class from another class?

app/Helpers Animal.php Girrafe.php class Girrafe extends Animal{.... Error: FatalErrorException in...

0 Likes
1 Replies
posted 6 years ago

SQL Query Problem

i have a query like this: $sql = Trip::select('*') ->from('trips as t') -...

0 Likes
1 Replies
posted 6 years ago

Sessions not persisting(Laravel 5.4)

I am trying to figure out why my Sessions are not persisting. I am using the File System for session...

0 Likes
2 Replies

jquery select2 multiselect initialize selected elements

Good morning everybody, I'm stuck while trying to set initial selected options (got through an ajax...

0 Likes
0 Replies

BadMethodCallException in Macroable.php line 74: Method specialization does not exist

I am getting this small issue. Below is the source code Doctor Model: class Doctor extends Model {...

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.

© 2024 Laravel.io - All rights reserved.