Support the ongoing development of →

3,571 Threads

Displaying most viewed items from database in last 7 days

I am trying to change the view style of my site, which is actually set to display two pictures which...

0 Likes 1 Replies

Data insertion in 4 tables with relationship

Hi i have a problem inserting data to 4 tables. Customers : with data of customers. this table hasMa...

0 Likes 0 Replies

Same Session for two different projects in different folders

I'm using Laravel 5x and I'm trying to have the user login from (for example): https://dev.example.c...

0 Likes 0 Replies

How to Make relationship for category,subcategory,product

I tried to retrieve the record from three table category,sub-category and products. How to retrive r...

0 Likes 1 Replies

User Roles Recursive

Hello. I use Laravel with UserAuth and Roles. All works fine. Now I want to add many Roles. The Role...

0 Likes 0 Replies

How to make an Automatic Selected Booking Date ?

Hello Laravel Brothers,Peace... I have tour reservation site with laravel infrastructure. you can lo...

0 Likes 4 Replies

Paginating products from Database

Hi, I have a database with a table called products, its something like this: Id|ProductName|ProductP...

0 Likes 0 Replies


ntente buscar su pregunta primero utilizando el cuadro de búsqueda y asegúrese de haber leído nuestr...

1 Likes 0 Replies

Select dropdown value check and show if Not exist in databas

hi, i am trying to show only those packages name from drop down list which doesn't exist in database...

0 Likes 1 Replies

migrate error

Hello, I have started my first Laravel 7 project. If I want to start a database with it I get an err...

1 Likes 2 Replies

laraval migrate another migration , rather that the last one

Hi . I just create a migration to add a column to my "cvs" table , but when I run migrate...

0 Likes 1 Replies

Non-static method should not be called statically for scopes

I have a model with those methods: public function waiting() { return ! is_null($thi...

0 Likes 2 Replies
posted 2 years ago

php artisan migrate:fresh command with multiple connections

I have tow database connections, `'mysql' => [ // connection information ],...

0 Likes 1 Replies

How to create a secondary connection to another DB

Hi there . I have two databases (Master) and (Slave) how can I configure l...

0 Likes 0 Replies

Trying to build web app for daily costs for members in work

I am trying to build web app with laravel that help me to save daily costs and the total for every m...

0 Likes 1 Replies

How to access database connected via PHPStorm tools

Hello, I connected to my database in PHPStorm (in Data Source and Drivers using General and SSH/SSL...

1 Likes 0 Replies

Cannot Store Form

Can Someone Help Me with This PLease H...

0 Likes 0 Replies

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

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.


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 - All rights reserved.