Support the ongoing development of Laravel.io →

4,526 Threads

php artisan migrate - No connection could be made

Hello. I'm learning Laravel using Homestead. I'm following the "Laravel 6 From Scratch" vi...

0 Likes 3 Replies
Solved

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

Sql Server Date format issue

Hello, First of all I'd like to say that I have no other choice but using SQL Server ( and IIS as we...

0 Likes 6 Replies
Solved

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

how to use ServiceProvider boot function? Laravel 6.0

I used two classes here they are : Schema::defaultStringLength(150); View::share('channels',Channel:...

0 Likes 4 Replies
Solved

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.