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

Once again: Difference between hasOne / has Many and belongsTo/belongsToMany

Hi! I know, thist question has been discussed already in this forum. But sorry, i just don't get it....

0 Likes
5 Replies
posted 6 years ago

Eloquent object save() updates multiple records

Hello, I'm fetching a specific record with a DB table using MyTable::where(['type' => $sometype])...

0 Likes
4 Replies

I am using the following laravel package for my newsletters:

I am using the following laravel package for my newsletters: laravel-newsletter I have the following...

0 Likes
0 Replies
posted 6 years ago

blade @if didnt converted <?php if

i write @if(1==1) say 1 @else say 2 @endif and got error Parse error: syntax error, unexpected 'else...

0 Likes
2 Replies
posted 6 years ago

How to fund a OpenSource Package?

Hi, I was looking for a package to integrate Redactor WYSIWYG into Laravel. But most Redactor projec...

0 Likes
0 Replies
posted 6 years ago

eloquent relation definition with condition

Hello, I have a relation like this : A - id - fields - X B - same id as A - fields C - same id as...

0 Likes
1 Replies
posted 10 years ago

Sending .ics event as email attachment

I'm trying to send an .ics file as an email attachment using Laravel's MAIL class. When email is rec...

0 Likes
5 Replies
posted 6 years ago

Errors occur while sending email with mailables

(1/1) Swift_TransportException Expected response code 250 but got code "530", with message...

0 Likes
0 Replies

How to display logged in user name or email if name is not provided?

In Laravel documentation I have found: Echoing Data After Checking For Existence, but it is not work...

0 Likes
6 Replies
Solved

Distinct returns wrong count in Laravel 5.4

I am using Laravel 5.4 and MYSQL I have a table 'products' and a related attribute table 'products_a...

0 Likes
2 Replies
posted 9 years ago

Discussion: is it me or does SQL suck badly?

Hi guys, I would love to hear your opinions. I think that SQL sucks. I consider it one of leftovers...

0 Likes
15 Replies

Check the status of a record in the Database and return a value

Hello everyone, I'm starting with Laravel and I'm really enjoying it. I need your help, I need to qu...

0 Likes
1 Replies
posted 6 years ago

filter query by method

Let's say that I want to retrive from database the list of artists that have recorded exactly 100 so...

0 Likes
6 Replies

How can I setup Git pull to Ubuntu server from Push to Bitbucket

I'm looking for a solution like "Git hooks" but my setup is that I'm using Bitbucket as ce...

0 Likes
0 Replies

phpunit test cases for omnipay purchase and send method.

I've written new repository using omnipay for x payment gateway. I've successfully written test case...

0 Likes
0 Replies
posted 6 years ago

Delay between execution queries

Laravel Version: 5.4 PHP Version: 7.1 Database Driver & Version: Hello, How to delay execution b...

0 Likes
0 Replies
posted 6 years ago

Help with understanding abstract class context in Laravel

Hi, i'm a little bit confused and would like to ask you about abstract classes in Laravel. I've got...

0 Likes
1 Replies

Form Action Does Not Go To The Right Controller

I am working on an admin dashboard with different sections, to add blog posts to add portfolios bo...

0 Likes
1 Replies

The response content must be a string with first()

I use Lumen and I get this error when I use the first() method to get a single result from a query:...

0 Likes
1 Replies

Eloquent and Unions

Hi, I'm using Laravel 5.1 It is possible to construct this query with eloquent ORM? SELECT SUM(CASE...

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