I wanna ask about authorization using spatie library, can i make that without auth scaffolding that have been in laravel?

|
bsamaasi 2022-01-20 11:10:42
Rocks Sks 2022-01-20 11:06:34
Actually I am using fasterpay payment gateway only SDK is ther I have pull all SDK file in vendor folder the call autoload function but payment gateway controller not found

Use composer du to update…

Rocks Sks 2022-01-20 11:11:41
Okm
bsamaasi 2022-01-20 11:11:48
But you are suppose to require package not pull directly to vendor folder if I get you correctly
segungreat 2022-01-20 11:12:04
vishalsharma19 2022-01-20 11:07:50

Show your package.json file

vishalsharma19 2022-01-20 11:14:08
segungreat 2022-01-20 11:12:04
Show your package.json file

laravel_discuss-105472.jpg

Rocks Sks 2022-01-20 11:15:29
bsamaasi 2022-01-20 11:11:48
But you are suppose to require package not pull directly to vendor folder if I get you correctly

Yes I have directly pull packej in to vendor folder

segungreat 2022-01-20 11:26:54
vishalsharma19 2022-01-20 11:14:08

I think it’s permission issue, you need permission to run.
I don’t use Linux, maybe something like sudo or….

bsamaasi 2022-01-20 11:27:04
Rocks Sks 2022-01-20 11:15:29
Yes I have directly pull packej in to vendor folder

Then next time use composer require to get packages… composer is package manage and need to be aware of things… files like the composer.json and composer.lock need to be updated, not by you but the manager (composer)

bsamaasi 2022-01-20 11:27:30
Rocks Sks 2022-01-20 11:15:29
Yes I have directly pull packej in to vendor folder

Are you good now… working?

Rocks Sks 2022-01-20 11:30:55
Let me check
Rocks Sks 2022-01-20 11:31:45
How to call any SDK json
bsamaasi 2022-01-20 11:32:30
What is the package name
Rocks Sks 2022-01-20 11:34:07
Composer require fastpay/fastpay-php
Rocks Sks 2022-01-20 11:34:18
Like
bsamaasi 2022-01-20 11:34:46
Rocks Sks 2022-01-20 11:34:18
Like

Yeah, this solve it

By_me_Tpd 2022-01-20 11:39:15
i wanna ask about authorization using spatie library, can i make that without auth scaffolding that have been in laravel? Btw i am using laravel version 7 .
S 2022-01-20 12:53:10
How to clear the session after logout redirect to login page.
Stephan Munde 2022-01-20 12:54:59
MerchantHussain 2022-01-20 10:13:26
how to limit data fetched from my sql to 50%

Use a $count = row_count()

Then use $count / 2 as limit in your query

With laravel you can do something like

$count = User::count()
$User = User::limit((int)($count/2))->get()

Guudu 😊 2022-01-20 13:02:52
Anyone know show img preview with img and pdf?
ForgeDark 2022-01-20 13:28:20
Sendgrid needed vs BTC Asap Message me
natghi2010 2022-01-20 14:04:52
Stephan Munde 2022-01-20 12:54:59
Use a $count = row_count()

Then use $count / 2 as limit in your query

With laravel you can do something like

$count = User::count()
$User = User::limit((int)($count/2))->get()

Whats 3/2? By type cast?

segungreat 2022-01-20 15:33:43
MerchantHussain 2022-01-20 10:13:26
how to limit data fetched from my sql to 50%

Why not use chunk or cursor

enrichswami 2022-01-20 15:52:43
Livewire is supporting Laravel 5.5 version?
enrichswami 2022-01-20 15:52:58
Anyone can update on my above query?
Stephan Munde 2022-01-20 16:03:49
enrichswami 2022-01-20 15:52:58
Anyone can update on my above query?

I think livewire 1.x supports laravel 5.5 just

composer require livewire/livewire

In your laravel project

Mab_Hub 2022-01-20 16:14:16
laravel_discuss-105502.jpg
💡Disruptive Revolution – 2ª edição – Entenda o Metaverso. Uma semana intensa e cheia de interação, aprendizados e trocas com profissionais inspiradores.
✅Inscrição Gratuita:
https://t.igti.com.br/click?o=701&a=59918
Ryan151995 2022-01-20 18:22:47
How I fix the issue strip invalid integer ex -> 4.5 & 6.7 how i pass these type of value when I enter its gives me error
zcoll 2022-01-20 18:22:55
Hey there

I’m using pure php

I want to make permissions for users 👌

I have the database structure like flowing ::

Users
Id , name ,pass,

Permissions

Id name , description

UsersPermissions

Userid, permissionsid

I have problem with code to do that

and how to check if users has the permissions

2022-01-20 18:56:18
Nodejs
Assembly
ForgeDark 2022-01-20 19:49:53
Sendgrid Needed asap VS BTC
Vineet Malhotra 2022-01-20 19:57:17
Hi
How can I use two different emails in laravel??
sHryung01 2022-01-20 19:57:57
how to make the data increase by 1 every request on the same day ?
sHryung01 2022-01-20 19:58:18
laravel_discuss-105510.jpg

sHryung01 2022-01-20 19:58:32
laravel_discuss-105511.jpg

Stan 2022-01-20 19:59:18
sHryung01 2022-01-20 19:57:57
how to make the data increase by 1 every request on the same day ?

Query model using whereDate(‘created_at’, Carbon::today())

|