Support the ongoing development of Laravel.io →

How to inject the Mock object into an initialzed class while doing integrated tests

I have a controller end point that utilizes Guzzle I have written a wrapper around the Guzzle Client...

0 Likes
0 Replies

database, model, eloquent convention

hi, I'm started to use Laravel and have a question about the underscore convention when creating tab...

0 Likes
4 Replies

Select -> selected

Please, how do I when editing a car, list all the brands, however already come selected the brand th...

0 Likes
2 Replies
Solved

Redis queue multiple connections and queues, correct structure?

Using Laravel 4.2.17 I wanted to split up different queues like send email and send sms Using purely...

0 Likes
2 Replies

Gate policy for attaching a role to a user

Hi, I have a question regarding system design of a REST API. I have users and roles and want to atta...

0 Likes
1 Replies
posted 7 years ago

Error In Migration Process

Hi, I'm newbie in Laravel framework. I'm facing errors when I try to migrate some database table. Be...

0 Likes
1 Replies

HTML Attribute depending on a condition

Hi, is there a possibility to put an HTML Attribute depending on whether or not a condition is true?...

0 Likes
3 Replies
Solved

Why does the update to AWS SDK break Laravel 5.1?

So we have a Laravel 5.1 API running on our systems, and use the AWS SDK for php for pushing jobs to...

0 Likes
1 Replies
Solved

Firebase Integration (Realtime notifications)

Dear Laravelists, I would like to give you a heads-up on a wrapper I wrote for Firebase (https://www...

0 Likes
1 Replies
posted 7 years ago

posted text from ckeditor is not getting modified text

Hi i use ckeditor in my form it appears on the edit form and populated with the text from db but now...

0 Likes
0 Replies

Optional eager loading

Hi guys, Is it possible in Laravel/Eloquent to only eager load a relation when a condition is met? F...

0 Likes
1 Replies

How to use 'OnChange' kind of method in larval view

My view is like below. <div class="form-group", style='max-width:100%;'> {!! Form::l...

0 Likes
1 Replies

Socialite on Homestead is failing

I followed the steps to install socialite, after I get redirect back to the website I get this error...

0 Likes
3 Replies
Solved

Laravel hasMany() + where() returns where conditions in opposite order

Using the following: return $this->hasMany(Text::class, 'item_id')->where('item_type', 'produc...

0 Likes
1 Replies

Fetch session by session ID

Hello fellow developers! Is there a way I can fetch a session by its id? I'm making a simple auth ap...

0 Likes
0 Replies
posted 7 years ago

add prefix to all url()

Hello, I want to change url() function (override it). I want to add a prefix "en" or "...

0 Likes
0 Replies
posted 7 years ago

Auth::guest() not working in package view

Hi, I have been working on several projects with laravel which i set up as packages in my dev larave...

0 Likes
2 Replies

Post to Form data to the Database using webService

I wanna Know how to pass form data to the database via web service using curl and json in laravel 5....

0 Likes
0 Replies

Another problem only with Chrome

Hi guys,.. today i've an error yet with Chrome.. This is the message that i see when i try to load t...

0 Likes
24 Replies

Cannot send email using gmail in Laravel 5.2.

Hi everyone, I currently get stuck with sending email using gmail in Laravel 5.2. Here are my config...

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.