If we are storing using create method then only we have to sdd fillable property in models else you can do by create object of models and add value one by one am i right?

|
alanvb 2022-07-04 23:32:31
Just add username to fillable in model
etekumoses 2022-07-04 23:32:36
But wont it be required cause i want it to be nullable
alanvb 2022-07-04 23:32:53
No, it will not be required because of fillable
etekumoses 2022-07-04 23:33:01
cool
etekumoses 2022-07-04 23:34:47
It has worked
etekumoses 2022-07-04 23:34:58
😂 thanks alan
alanvb 2022-07-04 23:35:12
The fillable property of the model, work as a area of visibility between your app and DB table, so if you use fillable and did not declare such columns, you’ll won’t be able to fill these columns. The only way to do it without explicitly declaration in fillable is to use forceFill() method on model, but I won’t recommend to use it this way
alanvb 2022-07-04 23:35:47
Welcome
etekumoses 2022-07-04 23:35:53
ehh so how do you want me to do
etekumoses 2022-07-04 23:36:06
btw let me check the other case
alanvb 2022-07-04 23:36:12
As you did. This is the right way
alanvb 2022-07-04 23:36:39
Don’t use forceFill unless you have very strict necessity of it
etekumoses 2022-07-04 23:37:09
wow it works both sides
etekumoses 2022-07-04 23:37:23
Btw i have a question on security
etekumoses 2022-07-04 23:37:59
how do you ensure your application is safe from hack i am using passport tokens but i still have that worry on security
etekumoses 2022-07-04 23:38:32
i might be forced to say this way is laravel easily hackable 😝😝
alanvb 2022-07-04 23:42:41
Google how jwt or similar auth tokens works. It’s safe and not safe at the same time. Just read how it works and it’ll be clear for you
alanvb 2022-07-04 23:42:51
Short answer (yes it’s safe)
fredaster23 2022-07-05 00:01:02
Any recommendations for web3?
etekumoses 2022-07-05 00:06:04
alanvb 2022-07-04 23:42:41
Google how jwt or similar auth tokens works. It’s safe and not safe at the same time. Just read how it works and it’ll be clear for you

i have ever used it too on some project

etekumoses 2022-07-05 00:06:23
But i was wondering generally how we ensure our apps are safe from hacks
Gaurav Mavani 2022-07-05 04:25:04
alanvb 2022-07-04 23:35:12
The fillable property of the model, work as a area of visibility between your app and DB table, so if you use fillable and did not declare such columns, you’ll won’t be able to fill these columns. The only way to do it without explicitly declaration in fillable is to use forceFill() method on model, but I won’t recommend to use it this way

If we are storing using create method then only we have to sdd fillable property in models else you can do by create object of models and add value one by one am i right??

ksovary 2022-07-05 04:34:58
Amit Sharma 2022-07-04 14:27:25
anyone here to help me out for qrcode with dynamic value on image

Install Simple QR Code package and just pass data from your controller to view.
Check this may help you https://www.cambotutorial.com/article/laravel-9-how-to-generate-qr-code-in-laravel-framework

Laravel 9 – How to Generate QR Code in Laravel Frameworkhttps://www.cambotutorial.com
We usually see QR code in mall or store which is place on goods to identify some kind of information related. QR code is image format type which is not human readable and usually black and white color of pixels in a square shaped grid contain information.
Amit Sharma 2022-07-05 05:19:14
ksovary 2022-07-05 04:34:58
Install Simple QR Code package and just pass data from your controller to view.
Check this may help you https://www.cambotutorial.com/article/laravel-9-how-to-generate-qr-code-in-laravel-framework

thank you very much but i have done it

dharmik4 2022-07-05 08:55:04
laravel_discuss-127905.jpg
how can I put permission before the delete button in JQuery
Rahman_jn 2022-07-05 09:19:18
dharmik4 2022-07-05 08:55:04
how can I put permission before the delete button in JQuery

function ConfirmDelete()
{
return confirm(“Are you sure you want to delete?”);
}

<input type=”button” onclick=”ConfirmDelete()”>

Boss_meet 2022-07-05 09:24:06
Hiring flutter developer
3 year experience.
segungreat 2022-07-05 09:36:23
Boss_meet 2022-07-05 09:24:06
Hiring flutter developer
3 year experience.

Dm

tech0123890 2022-07-05 09:37:05
Are you interested in AWS, Devops ,Azure and GCP course training!
Dm me for more details
Samarpana 2022-07-05 10:17:18
laravel_discuss-127914.jpg
Jetstream login page not loaded properly, plese guide me
Samarpana 2022-07-05 10:18:07
laravel_discuss-127915.jpg
While ‘npm run dev’ command showa this error
seniormonsieur 2022-07-05 11:15:07
Re-install the jetstream
seniormonsieur 2022-07-05 11:15:42
Samarpana 2022-07-05 10:18:07
While ‘npm run dev’ command showa this error

And run the npm run deva and npm install together on gitbash

Gaurav Mavani 2022-07-05 12:27:36
anyone have idea about how to change variable data to specific language
Samarpana 2022-07-05 12:45:09
seniormonsieur 2022-07-05 11:15:42
And run the npm run deva and npm install together on gitbash

laravel_discuss-127923.jpg
It’s showing same error sir 😕

mehravish 2022-07-05 14:25:52
I thought this channel was dead until I decided to open these comments thread today lol
segungreat 2022-07-05 14:40:49
Samarpana 2022-07-05 12:45:09
It’s showing same error sir 😕

Did you run npm install

Noiamnotavailable 2022-07-05 14:45:19
File location: /Modules/ProductCatalogue/Resources/views/catalogue/testblade.blade.php

I created route : Route::get(‘catalogue/test’, function () {
return view(‘Modules.ProductCatalogue’);
});

Link on another page: <a href=”{{ url(‘/catalogue/test’) }}”>Pricing Link

I am getting error

Noiamnotavailable 2022-07-05 14:46:14
Noiamnotavailable 2022-07-05 14:45:19
File location: /Modules/ProductCatalogue/Resources/views/catalogue/testblade.blade.php

I created route : Route::get(‘catalogue/test’, function () {
return view(‘Modules.ProductCatalogue’);
});

Link on another page: <a href=”{{ url(‘/catalogue/test’) }}”>Pricing Link

I am getting error

Anyone can correct my routes here ?

2022-07-05 14:48:21
Noiamnotavailable 2022-07-05 14:46:14
Anyone can correct my routes here ?

Show me ur files structure

Noiamnotavailable 2022-07-05 15:01:12
2022-07-05 14:48:21
Show me ur files structure

I written above

2022-07-05 15:01:31
Noiamnotavailable 2022-07-05 15:01:12
I written above

Pic **

Noiamnotavailable 2022-07-05 15:04:41
2022-07-05 15:01:31
Pic **

Dmed

rlawjddn00 2022-07-05 15:14:20
failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
jack 2022-07-05 15:20:04
rlawjddn00 2022-07-05 15:14:20
failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

Send your source code

seniormonsieur 2022-07-05 16:05:10
Samarpana 2022-07-05 12:45:09
It’s showing same error sir 😕

Run it again

ats Soki 2022-07-05 17:25:16
hello guys, how to make automatic API calls?
Kvn_makwana 2022-07-05 17:28:29
Automatic API calls ?
Kvn_makwana 2022-07-05 17:28:44
You can use AJAX on frontend side.
Kvn_makwana 2022-07-05 17:28:56
ats
|