Support the ongoing development of Laravel.io →

4,600 Threads

Weird eloquent bindings when using addSelect method.

Laravel Version: 7.13.0 PHP Version: 7.4.6 Database Driver & Version: Mysql & 8.0.20 Descr...

0 Likes
0 Replies

Checkbox validation

Hi, I have a project in Laravel 7 and my register form have two checkboxes, ¿how can validate one of...

0 Likes
0 Replies
posted 4 years ago

Lumen query error

Hi sorry for english , i try to change a developer code on a site write in lumen , im new of laravel...

0 Likes
1 Replies

Internal Server Error Laravel Website

I need help from anyone who can help me figure this out. The company I work for has a website built...

rezwan-hossain liked this thread

1 Likes
12 Replies
Solved

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

how instead call an Eloquent STATIC method from controller

Laravel 6.x the below works… how instead to call an Eloquent Laravel db method??? how instead call a...

0 Likes
5 Replies
Solved

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

issue

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

alejandrocepeda liked this thread

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...

1anto liked this thread

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 4 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 192.168.1.82 (Master) and 192.168.1.83 (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

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.