Support the ongoing development of Laravel.io →

4,597 Threads

Fetching view from DB

Hello!! I am new in Laravel society. :) And I stuck with something. I made view in database and I do...

0 Likes
5 Replies
Solved

Eloquent select data

Hello, I want to build a eloquent query which builds this output SELECT * FROM `banners` WHERE (`val...

0 Likes
2 Replies

Réplications de base donnée en laravel

Comment mettre en place ce système ? alimenter une base distante et locale tout en synchronisant les...

0 Likes
0 Replies

syntax error when i try to execute this code using carbon

public function searchresult (Request $request){ $keyword = $request->name; $search = Mosque::wh...

0 Likes
2 Replies

One to many Definition and Foreign Key

I have seen on tutorials people declaring the foreign key on one to many scenarios and others do not...

0 Likes
2 Replies

Share Laravel Auth Session Across Sub-domains using Forge

Hi All I am running a Laravel 5.7 (PHP 7.1) project that routes users to different sub-domains depen...

0 Likes
1 Replies

laravel, how to update with request from users ?

in previous thread iv posted my problem with update function, the problem is the database wont upda...

0 Likes
1 Replies

laravel update with request wont works

can anyone help me to solve this ? i've read some related thread in many forums and google, but i ca...

0 Likes
1 Replies

How to destroy users' session or logout user?

Question: How to destroy users' session or logout user when the user closed the browser? There are s...

0 Likes
0 Replies

Redis cache tags flush memory leak

Hi, we using Laravel provided Redis tagged cache to cache query results for models in this way: cach...

0 Likes
0 Replies

How to Filter Fields Record Same With Current Date

Please help me, i have a table with this record & query. SELECT DISTINCT aa.id, aa.id_user, a...

0 Likes
1 Replies

Polymorphic relationships for online store

I’ve got a master table called Product with the following columns: id product_id product_type name...

0 Likes
0 Replies

Laravel + wordpress

Hi guy. I have a backend built with laravel, but now i need a wordpress shop. And i need to share th...

0 Likes
0 Replies

SQL Server Pagination Query row_number() to Offset-Fetch

Is there a way to override the method of the pagination for SQL Server in Illuminate\Database\Query\...

0 Likes
0 Replies

How do I add fields from json to my Eloquent Model?

Hi all please bare with me I am still learning Laravel/Lumen. I have created a Lumen API and created...

0 Likes
0 Replies

How to select between with two fields

I have some problem with my code for select shift_id with just give time, looks my records $waktu =...

0 Likes
4 Replies

Is it okay to run a database query every minute?

I need to dispatch a bunch of jobs at a specific "release" date/time. I thought about just...

0 Likes
2 Replies

ORM where clause on related table with pluck

Hello, how can I use ->pluck('fieldB') in following Laravel code? $Result = TableA::with('tableB'...

0 Likes
1 Replies

ErrorException on Query

I have been using this app for over 2 yrs, all the sudden its giving me this error. Not sure what to...

0 Likes
1 Replies

Relationship not eager loading

Context I have 3 migrations: Members table: class CreateMembersTable extends Migration { public...

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.