Anyone who has done middleware authentication in Laravel11 using booststrap UI
i couldn’t find alternative to configure my middleware for Laravel11 multi-user authentication since the kernel.php file has been removed, anyone who can share similar solution if solved
Adding another whereIn with different key matching and output – LARAVEL
I am using this query to get a list of users with additional data, as of now I output the ‘section-points’ with the withsum
Laravel: convert the value of metadata into a separate boolean
I am making a voicelog conversation controller for some requests made for the front end to display i am allowing some data and some data needs to be excluded
I have a problem in laravel when I run php artisan migrate giving could not find driver [closed]
Closed 20 mins ago.
estou com um problema no laravel quando executo php artisan migrate dando could not find driver [closed]
Closed just now.
Laravel 11 migrations for foreign keys in different tables
I’ve tried to solve this for two days and am finally throwing in the towel to ask for help.
How to update a table in laravel using a different searching parameter instead of an id?
I’m trying to implement a simple Update form in laravel, but the table field 'id'
has to be called 'codigo'
instead. The SQL sentence sent to the database searches for an id
with the WHERE
statement, but I’m not looking for an id
but a codigo
, and that’s where I don’t know how to change the sql statement.
could not find driver (Connection: mysql, SQL: select * from `sessions` where `id` = RiHQ7ABv64uib32hnUFFweyfReB5ebtlryrPv36w limit 1)
My laravel 11 roject run well in local server but it create problem in cpanel .
What can i do. Help Please.Problem Shows like This
Delete video from sql database doesn’t work in Laravel
So, I’m making a streaming website in laravel php and I am trying to make a watchlist function. The button to put data in the database works. Where it begins to become a headache is with the remove button, when I click on the remove button it just refreshes my page and my database stays intact. I have a second problem: my videos-cards don’t display on the watch list page (this is just a minor problem, the biggest problem is the database removal).
Merge data with different column names
I have 2 tables and there is data for users. I want to take the data between the specified dates from these 2 tables, add them together if the same user is in the 2 tables, and write them as a single data if not. I made a join operation as follows, but the unionAll method combines the data in the 2 SQL results, but does not collect the same user data. For example, the user with id 1 is recorded in a table as publisher_id and the column name I want to collect is ticket. In the other table, there is a record as user_id and the column name I want to collect is diamonds. If the ticket value is 10 in one table and the diamonds value is 20 in the other table, the result should be 30, but two separate data are coming. How do I do this merging using the paginate management?