Support the ongoing development of Laravel.io →

3,574 Threads

How do I copy and its many children efficiently in laravel

I need to copy a multi parent and its children and its children's children. I don't want to do a for...

0 Likes 0 Replies

Laravel 6 - Dinamically set DB Connection on model - problem

Hello, On my project, every user has his/her own database, so, to mass assign forms I need to set th...

0 Likes 0 Replies

Problem with laravel relations and latest, paginate

hi everyone, im have some relations in my DB and heres the relatin i'm working with: $category = Cat...

0 Likes 0 Replies

Model versioning

Hey everyone, I have a question. How do you handle versioning and breaking changes (Especially datab...

0 Likes 0 Replies

Laravel Query

Hi Guys I have three tables in my database customer, sales, payment . A customer can have many Sales...

0 Likes 0 Replies

Eloquent Has with multiple databases

I'm experiencing trouble with a relationship (5.7). I do have data separated in two databases, which...

0 Likes 0 Replies

Two table authentication

Two table authentication using passport for customer api and admin api

0 Likes 0 Replies

An intelligent alternative of Laravel Database Migrations

Hi I'd like to introduce an intelligent alternative version of Laravel 5/6 Database Migrations Featu...

0 Likes 0 Replies

hasOneThrough on one table

Hello, I'm trying to set up a hasOneThrough relation on one table. But Eloquent will not look it the...

0 Likes 0 Replies

Azure AD Authentication in Laravel

I am trying to add Authentication with Azure AD to my Laravel-5.8 Web Application. Currently, I have...

0 Likes 0 Replies

How to add table values by grouping by month

I need to sum values from my table but grouping month by month. Someone can help me?

0 Likes 0 Replies

Laravel Forge Database not Connecting with Sequel Pro

When I connect to my Laravel Forge server via Sequel Pro, it just sits there saying Connecting... Bu...

0 Likes 0 Replies

CRUD update with button from blade

Is it possible to update DB withoud edit form, just to generate random entires or set your own in co...

0 Likes 0 Replies

External PHP include in laravel

Hi.. I have my external php script for login. How can i add in laravel framework.

0 Likes 0 Replies

Trying to implement multi tenancy (DB)

Hello Folks, My dev and I are trying to implement (DB) multi tenancy in a CRM and we are having issu...

0 Likes 0 Replies

Customized user database

Hi, I'm totally new in with this wonderful Laravel. I'm using Laravel 6 and customized user database...

0 Likes 19 Replies

Constrain Eager Loading on Polymorphic Child (5.8)

I've gotten myself in a pickle trying to load records owned by a user with eager loading. I know I c...

0 Likes 0 Replies

How to implement ElasticSearch DB in Laravel framework(PHP)

We have a one project implemented in Laravel framework(PHP) with Mysql database as backend. Now the...

0 Likes 2 Replies

Integration of SMF script into laravel

Hello, i have one question. How or is possible to store data from SMF SSI (api) into Laravel Auth. I...

0 Likes 0 Replies

Laravel DB Query Help

$users = DB::table('users') ->leftJoin('Loggin','login.member_id','=','users.id') ->where('use...

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.

© 2023 Laravel.io - All rights reserved.