wontonesaju wontonesaju
1

issue after login and break middleware auth

Hi I am facing one issue with this website https://www.smarttalk.in/crm/publi...
Ghimdalas Ghimdalas
1

Exception in login

Hello, i try to create an API in laravel with Tymon for JWT token, i use this code: $credentials = request(['email', 'password']); try { if...
fikri1510 fikri1510
2

Multi authentication vs Role based access level

One thing comes to my mind and I'd like to ask here. If I have already implemented Multi authentication, I don't need rbac in general, do I?...
jcc5018 jcc5018
1

Laravel 7 ForeignID() migrations

Hey, I have been working on getting my 170+ tables that I generated from my database set up correctly, but I am having difficulties with this foreignID functionality. I we...
fylzero fylzero
5

Use a different view on / route when logged in vs. logged out

I feel like I've fought this issue and lost or won several times now but it is not intuitive to me. Simply put, I want to display a home.blade.php on th...
skcin7 skcin7
9

Sessions are working fine, but flash data is not working at all? Help!

In my Laravel 5.2 application I have a very peculiar error. My Session variables are storing and working perfectly, but my Session Flash Data does not seem to work no matte...
Laravel
9
1094
kkhicher1 kkhicher1
6

Update oneToMany Relationship table data with limit

I want to update oneToMany Reationship table data with limit and also where status is available.... $count = 0; foreach ($user->pins as $pin) {...
ashokbaruaakas ashokbaruaakas
2

After Upgrade laravel 6 to 7 why psr4 composer warning

Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating optimized autoload fil...
talelmishali talelmishali
0

Identifying database structure - ask of opinion

Hi, I am creating a database for an app that manages events such as wedding and currently identifying the tables and relationships involved, I would like an opinion about i...

Xdebug N+1 71 Duplicate queries - Lazy Eager Loading

Using Debugbar I see that our Projects Overview on Dashboard currently gets 71 duplicate queries and many duplicates point to: app/Traits/Models/ProjectHelper.php...
flightsimmer668 flightsimmer668
3

Looking for a PHP GIS Library

I am looking for an open-source PHP GIS library. Of course, I've done a Google search for those but I'd like to hear suggestions from people in this forum. Has anyon...
General
3
522
flightsimmer668 flightsimmer668
6

Can't get custom simple Paginator instance to work

I have an endpoint that reaches a controller method that is supposed to paginate orders. Since I'm using a groupBy function, I'm attempting to use a customer P...
Laravel
6
534
GiacomoM GiacomoM
6

Blade: check if old values are empty or not

Hi, as the subject, I need to know if the old values are empty or not, in blade. I mean, I need to know if we are coming back from a post or we are in the first page reques...
Laravel
6
4189
laravelsharavel laravelsharavel
2

mapToGroups with a partition()

Hello. I have an array that is in the following format : array(7) 2020-05-22 => 4 2020-05-23 => 4 2020-05-24 => 3 2020-05-25 => 3 2020-05-...
mstnorris mstnorris
68

Guidelines for posting on Laracasts.com

I have started this thread for everyone to favourite and share with others when the OP doesn't conform to, well, these guidelines. They are not meant to be hard and fast ru...
General
68
2060
jorge_dev96 jorge_dev96
0

ListenWhisper doesn't receive an client event (Larave-echo & Vue.jsl)

I'm working in a realtime chat website using Laravel, laravel-echo,laravel-echo-server, and redis. My chat is able to re...
konarktriv7 konarktriv7
1

Sanctum: Issue with user logout case + TDD!!

I am writing a use case to logout a user, so on Logout request, I delete all the user tokens so that every token issued previously becomes invalid for further requests....
Forge
1
36
oswin oswin
5

Laravel Migration

Hey guys, I have this rather big project going on, which uses a lot of existing tables/data within a database. So far it's written without any framework and for the...
jimmy.puckett jimmy.puckett
4

Testing package that uses Laravel Command (mocking something that you don't own)

So, we are updating our libraries to work with 5.2, and our laravel-garbage-man (https://github.com...
Testing
4
390
Pavinder Pavinder
19

Quickbooks integration with laravel 5.8

Hi, I've used different packages to integrate with my laravel app , but nothing works perfectly for me. what actually i want is to get all the reports form quickbooks to my...
Laravel
19
816

some problem with Laravel/ui

Somehow the authentication is not functioning. So to repair the situation I deleted the package.lock and the corresponding node_modules and ran the "composer require l...
bramcou bramcou
1

Uncaught ReflectionException: Class env does not exist in after upgrading laravel 5v5.8.33 > v6.18.15

Hi all, I'm having troubling upgrading my Laravel installation from 5.8 to the newest 6.15 (and intending on upgrading to 7.x hereafter). After running compos...
Spiral Spiral
23

How to send image link from Laravel storage to frontend(angular)

public function index(){ $data = HeaderSlider::all(); return $data; } <ul *ngFor="let item of data"> <img [src]="...
Laravel
23
886
SiNi_Si SiNi_Si
1

laravel relationship Call get with

I'm doing a one to many relationship and get this error Call to a member function addEagerConstraints() on null My Quirry $Types = \App\Order_Type::with('Orde...
GTHell GTHell
5

Is laravel sanctum scalable?

It's simple to setup and to use except that it's stateful....
razausmankhan razausmankhan
4

Traverse all the items in a collection

is there a function to traverse a collection with all of it nesting items i have a model named "Page" and its a self referencing table. So the pages table...

Need help with table relationships.

Hi everyone I am working on a customer text messaging app for a group of small businesses. I have the following tables. Users, Stores, Customers, Messages and pivot...
iroberto83 iroberto83
5

Create pivot table from artisan

Hi! I've read about many-to-many relationship on laravel from...
Laravel
5
8230
KarolGil KarolGil
0

How to run math api on localhost?

Hi, How to run math api on localhost? https://github.com/uetchy/m...
Mix
0
24
KarolGil KarolGil
4

Library

Hi, Is it possible to save and edit mathematical expressions using a local library instead of using api: https://math.now.sh/?from= or https://chart.g...
JekPorkins JekPorkins
26

Issues with Google fonts and Sass compile.

I'm trying to learn Laravel and I've run into an issue that I can't seem to figure out with Google Fonts and Sass. I'm trying to load my font on app.scss with:...
General
26
1037
rubenochoa rubenochoa
8

User does not exist

Hi. Something wrong happens. I get no error while i am trying just to submit sign in. Also i want to do if an email does not exist. At usercontroller...
Dev0ps Dev0ps
4

How to fetch all unread notification in one query

my codes look $PostNotifications = PostNotification::whereUserId($user_id)->whereSeen(0)->orderBy('id','desc')->get(); $FeedbackNotific...
eynarhaji eynarhaji
5

Valet requires Homebrew to be installed on your Mac.

Hello, I installed Valet on Mac, however, I get error "Valet requires Homebrew to be installed on your Mac." even I executed global require laravel/valet....
Laravel
5
530
Ahmed96 Ahmed96
6

laravel ffmpeg upload video in amazon s3 failed 504 gateway Time-out the server didn t respond in time

Why after uploading a video size of more than 1 Giga, I see a problem in the nginx 504 gateway timeout preventing me from completing the processing process. The meaning of...
Laravel
6
114
Create a New Discussion Button