Are they stored in config directory, along with the Laravel framework configuration files or somewhere else?

|
bsamaasi 2022-01-06 16:51:36
Dark Matter 2022-01-06 16:51:12
Where are Laravel user , custom configuration files stored?

Are they stored in config directory, along with the Laravel framework configuration files or somewhere else?

Yes

Rs Romesh 2022-01-06 21:13:44
How we do search on encrypted data , please help?
Rs Romesh 2022-01-06 21:14:11
It is possible in laravel ?
Kaushikkt 2022-01-06 21:26:18
https://stackoverflow.com/questions/47912168/laravel-with-datatables-searching-encrypted-data

Laravel with datatables: searching encrypted dataStack Overflow
I have encountered a great issue while using Laravel’s datatables. I have a model that has 3 values automatically encrypted (using Crypt) by setter/getter.

I am using datatables to render a table by

Rs Romesh 2022-01-06 21:50:25
Kaushikkt 2022-01-06 21:26:18
https://stackoverflow.com/questions/47912168/laravel-with-datatables-searching-encrypted-data

Yes I have same issues but solution is not clear.

Kaushikkt 2022-01-06 22:10:20
Rs Romesh 2022-01-06 21:50:25
Yes I have same issues but solution is not clear.

https://paragonie.com/blog/2017/05/building-searchable-encrypted-databases-with-php-and-sql

Building Searchable Encrypted Databases with PHP and SQL – Paragon Initiative Enterprises BlogParagonie
How to implement field-level data encryption while still allowing fast queries.
Mrym 2022-01-07 04:39:29
sugerencias …. canales de youtube..etc
πŸ–– 2022-01-07 06:34:12
Good day fellow laravel lovers

I am trying to stop hosts that are not part of my subdomains from being authenticated by Sanctum

πŸ–– 2022-01-07 06:35:58
So far, in my sanctum.php file, I have changed “stateful” to explode an empty string
πŸ–– 2022-01-07 06:36:59
…but still, the client I am testing with is getting a XSRF-TOKEN
YOUCODEWORLD 2022-01-07 06:48:33
πŸ–– 2022-01-07 06:36:59
…but still, the client I am testing with is getting a XSRF-TOKEN

You already set XSRF Header for domains?

πŸ–– 2022-01-07 06:51:17
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://localhost:3000
Cache-Control: no-cache, private
Connection: Keep-Alive
Date: Fri, 07 Jan 2022 03:49:30 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.41 (Ubuntu)
Set-Cookie: XSRF-TOKEN=eyJpdiI6IlJ1VTlsbW93R0t2cUFaY3A2cVUrK2c9PSIsInZhbHVlIjoiWmxoUFhURUQxc214R2RsZE9KN2xzZjF2cHEwVVFvNW5zcXR3V1YzZmhiSXdHMEwvRWt6dWNwSEY2RG1BZEFlV1RlVjBWQU16eFVaL2ZsQllVUy9mcDk4Ny9YUEc3TUtkS1F3ZDNOSEpTc0l1SHp4cWl3M0RVaEpIVGRiejluNGMiLCJtYWMiOiIwMDRkZGEyMTliYmRmMzdiNDdlODYzZTJlZTgxOTE0MjYxZThjN2YwYmExYmNjOWY5OGQyZTY5YWE0ZjllNWRmIiwidGFnIjoiIn0%3D; expires=Fri, 07-Jan-2022 05:49:30 GMT; Max-Age=7200; path=/; domain=http://localhost; samesite=lax
Set-Cookie: laravel_session=eyJpdiI6Ilp3dlZMN25JMW5YaGgwN1VsZzVXcHc9PSIsInZhbHVlIjoiTWk2Z21seWdoKzFMK1N2b2dmVU5tdFNwSXBKU09iSUF1TEg2MWdzY2t0TUFvNXZ0cnRFOHIrT050RW9ucitxK3BDeUVvSTRpVlZQTFBDUHlNV1Vwa3RZa3JqYjBIQ2Q0STM2Z0pZUmswYU1CYW1BaVlmYk50ZEczeDlKVllhcG4iLCJtYWMiOiI4M2E0ZDg4YWI5YjBmNGUzYjcwODJmNTk4MjYzNmNkMjk3ZWY1MGFlODk0NThhNTNhMDRlYzEzMTZiZGZjMTc1IiwidGFnIjoiIn0%3D; expires=Fri, 07-Jan-2022 05:49:30 GMT; Max-Age=7200; path=/; domain=http://localhost; httponly; samesite=lax
Vary: Origin

response header from sanctum/csrf-cookie

web design 2022-01-07 09:23:28
laravel_discuss-104184.jpg

web design 2022-01-07 09:23:48
What is this error?
flyingdragons 2022-01-07 10:42:55
web design 2022-01-07 09:23:28

Your grouping by mobile number, since its not in your select statement it will throw an error

Use the following query

$users = User::select(DB::raw(“max(id) as id, mobile, count(*) as total_records”))
->groupBy(‘mobile’)
->havingRaw(‘total_records > 1’)
->get();

flyingdragons 2022-01-07 10:43:36
web design 2022-01-07 09:23:28

Aslo your complicating the query by using sub query which is totally not required here.

flyingdragons 2022-01-07 10:46:53
web design 2022-01-07 09:23:28

Also whenever your want to get other columns while using group by then mysql will be in a delimma which one to fetch in that particular row

Eg: id column for group by phone might fetch 3 records, since mysql wont wont in id 1,2, 3 which id is required while fetching the data.

So based on your requirements you can specify min (for lowest id – 1), max (for highest id – 3)

Juez_0 2022-01-07 12:06:29
Please who is familiar with youtube api?

I’m trying to get monetized videos but didn’t see an exact api param to match

neelbas 2022-01-07 12:21:11
laravel_discuss-104196.jpg
with this query I got ALL-COLUMNS of user table, how I can specify the columns of user table?!
Kaushikkt 2022-01-07 13:59:06
neelbas 2022-01-07 12:21:11
with this query I got ALL-COLUMNS of user table, how I can specify the columns of user table?!

with(user:id, name,etc..)

Adarshjaiswal_dev 2022-01-07 15:08:20
If anyone have laravel tutorial please send
BigBossCT 2022-01-07 15:10:22
hi guys i have a litte problem with 2fa. If a type a wrong code or a wrong recovery code, laravel send me again to login form. There is a way to back in two-factor-challenge page?
Issue Resolver 2022-01-07 15:14:57
Hi guys, if anybody need final year project ping me personally.
iyeoluwa 2022-01-07 15:44:10
BigBossCT 2022-01-07 15:10:22
hi guys i have a litte problem with 2fa. If a type a wrong code or a wrong recovery code, laravel send me again to login form. There is a way to back in two-factor-challenge page?

Use Jetstream

Dark Matter 2022-01-07 17:07:16
iyeoluwa 2022-01-07 15:44:10
Use Jetstream

jetstream gang

iyeoluwa 2022-01-07 17:07:55
Dark Matter 2022-01-07 17:07:16
jetstream gang

Yup 😁😁

iyeoluwa 2022-01-07 17:08:06
It saves time
Dark Matter 2022-01-07 17:08:24
But unfortunately only works for new projects
iyeoluwa 2022-01-07 17:10:02
Dark Matter 2022-01-07 17:08:24
But unfortunately only works for new projects

True, that’s the only drawback

Dark Matter 2022-01-07 17:13:58
plus there are a bunch of features I feel are misssing like: login via username, oAuth authentication,ip address monitoring, recaptcha etc
Dark Matter 2022-01-07 17:14:27
but all in all it’s the best auth scaffolding I’ve used
iyeoluwa 2022-01-07 18:59:29
Dark Matter 2022-01-07 17:13:58
plus there are a bunch of features I feel are misssing like: login via username, oAuth authentication,ip address monitoring, recaptcha etc

Up address monitoring comes bundled with it already,you’ll just use the traits

iyeoluwa 2022-01-07 18:59:56
Dark Matter 2022-01-07 17:13:58
plus there are a bunch of features I feel are misssing like: login via username, oAuth authentication,ip address monitoring, recaptcha etc

OAuth can be used if you install sanctum

iyeoluwa 2022-01-07 19:00:24
Dark Matter 2022-01-07 17:13:58
plus there are a bunch of features I feel are misssing like: login via username, oAuth authentication,ip address monitoring, recaptcha etc

You can also use login with username, just a little tweaking

Dark Matter 2022-01-07 19:01:06
fair points
|