Support the ongoing development of Laravel.io →

"php artisan queue:failed" in Homestead is using mysql not postgres, even though postgres is defined in .env

Hi all, I've got 5.1.6 running in Homestead with postgres set as the DB in my .env file. The entire...

0 Likes
2 Replies
posted 7 years ago

foreign keys, how to use it with fresh migrations?

Hi, What is the idea on setting up migrations with foreign keys as a fresh setup? so my idea is to b...

0 Likes
5 Replies
Solved

How to pass data to json from Database?

Hello, Here is my Row Query to get the data from database. $user = DB::table('users')->get(); I w...

0 Likes
7 Replies
Solved
posted 7 years ago

syntax to check a value in a if statement

Is the below if statement correct, where newQ and newP are values, and post_type is a variable :...

0 Likes
3 Replies
posted 7 years ago

string as foreign key laravel migration not working?

Hi, When i make a migration with a string as foreign key, it don't work, but with an int its working...

0 Likes
1 Replies
Solved

View Data Filter Not Working

Hi Gaes I encountered a problem where I want to show data by year If the variable $ year I return th...

0 Likes
0 Replies

How to get child objects belonging to parent

I have a method that returns all the current user's blogs. User hasMany Blogs and Blog belongsTo Use...

0 Likes
2 Replies
Solved

Password Reset Broken After Altering User Model

I took the painful steps to alter the [php artisan make:auth] authentication/registration scaffoldin...

0 Likes
1 Replies
posted 7 years ago

need to check a specific value selected by the user in a radio button

I have a very newbie question in Laravel. In the controller I want to create something like : if ($Q...

0 Likes
0 Replies

Question about LTS support

Hi folks, I assume that Laravel LTS (5.1) will include in LTS all minor updates, i.e. 5.1.4, 5.1.11....

0 Likes
2 Replies
Solved

Help with query

Hello, could somebody kick me into right direction how to build this kind of query in eloquent: SET...

0 Likes
0 Replies
posted 7 years ago

Change Root Folder - Laravel is looking for files in the old folder

Hi. Recently i changed the folder project from "laravel" to "testsite", now i ca...

0 Likes
1 Replies

Laravel 5.2 and AngularJS 2 csrf_token() generate null

I used Laravel 5.2 as backend API, and AngularJS 2 as front-end framework. Therefore, angular2 woul...

0 Likes
1 Replies

One to One chat application

I am new to laravel and i want to create a one to one chat application like facebook chat. what is t...

0 Likes
1 Replies

[Mail] : Embedding image failed when the embedding is in the parent view

I have 2 blade view to send an email, they are : layout.blade.php and welcome.blade.php where welcom...

0 Likes
0 Replies

File Storage amature question

Hey am new to Laravel and I have just a small question . How and where are uploaded files stored

0 Likes
0 Replies
posted 7 years ago

Class log() does not exist

I'm getting the following error with Laravel. I did a fresh install and added homestead with compose...

0 Likes
3 Replies

How could I connect to a custom database?

I'm creating a sort of SQL web client and would like to know if it's possible to connect to a user-s...

0 Likes
2 Replies
posted 7 years ago

migrations

how to migrate specific table?

0 Likes
2 Replies
posted 10 years ago

Laravel Mail::send does not appear to accept variables

Laravel documentation gives the following as an example: Mail::send('emails.welcome', $data, functio...

0 Likes
3 Replies
Solved

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.