Guys, do you have any source about RSA encyption and decryption with laravel?

|
oxbir 2019-12-14 17:27:20
Call to undefined method AppOrder::plan_id()
oxbir 2019-12-14 17:27:20
What is this error
giorbismiguel 2019-12-14 17:31:55
The whereHas method receive a name of relationship
giorbismiguel 2019-12-14 17:34:01
Un these case belongsTo
mahdyfo 2019-12-14 17:39:15
oxbir 2019-12-14 17:27:20

Sometimes it’s better to use Through methods instead of having all related ids in a single table…

giorbismiguel 2019-12-14 17:43:05
Yes
giorbismiguel 2019-12-14 17:45:27
But the relationship in these case is between two models
giorbismiguel 2019-12-14 17:47:29
Orders and plan
rethdaro 2019-12-15 09:21:11
https://www.itsolutionstuff.com/post/laravel-vue-js-file-upload-using-vue-dropzone-exampleexample.html

How can I get data after completed process in controller please?

Laravel Vue JS File Upload Using vue-dropzone ExampleItsolutionstuff
laravel vue dropzone, vue dropzone laravel 5.6, laravel 5.6 dropzone vue js, dropzone vue js file uploading, vue dropzone tutorial, vue-dropzone laravel, drag and drop file upload vue js laravel, drag and drop file upload vue js
mtkh_73 2019-12-15 09:42:32
hi guys
I am using Symfony/route package.
I road the doc of this package that how we can define routes.
I do it but I don’t know how can I use these routes??
when I added into the index.php, no changes.
I want to know how Symfony diagnosis these routs in the server?
skys215 2019-12-15 09:43:20
Wrong group, it’s Laravel group here
rethdaro 2019-12-15 10:05:03
any help please
R3zaEsma3ili 2019-12-15 11:42:21
پیام خصوصی بزنید لطفاً
skys215 2019-12-15 12:03:31
Sorry, English group
2019-12-15 16:10:05
laravel_discuss-21259.jpg
Snipper not working!
mahdikhanzadi 2019-12-15 16:10:29
hello everybody, i want to introduce you a payment package for laravel that supports all payment gateways (you can write drivers for it if needed)
mahdikhanzadi 2019-12-15 16:10:38
https://github.com/shetabit/payment

GitHub – shetabit/payment: simple laravel payment package , supports multiple driversGitHub
simple laravel payment package , supports multiple drivers – GitHub – shetabit/payment: simple laravel payment package , supports multiple drivers
mahdikhanzadi 2019-12-15 16:11:30
i will be happy if any body can add Paypal driver into it.
mahdikhanzadi 2019-12-15 16:12:10
can you add paypal into it? have a look to its documents.
mahdikhanzadi 2019-12-15 16:12:40
or skrill
mahdikhanzadi 2019-12-15 16:15:31
add and send pull request , i will merge .
mahdikhanzadi 2019-12-15 16:15:32
thanks.
sofaltsp 2019-12-15 17:10:38
Hello Guys, do you have any source about RSA encyption and decryption with laravel?
rrajesh011 2019-12-15 18:18:03
Getting session store not set on request
rrajesh011 2019-12-15 18:18:23
laravel_discuss-21275.jpg

rrajesh011 2019-12-15 18:19:31
What I’m trying to do is when some token added in url, i’m using that token to validate the user if yes then I’m trying to save that user to session
LiceaPacheco 2019-12-15 19:06:47
Why you dont use jwt
LiceaPacheco 2019-12-15 19:08:17
That’s the best way ti use token
MatPk 2019-12-15 20:32:11
public function login()
{
if (Auth::attempt([’email’ => request(’email’), ‘password’ => request(‘password’)])) {
$user = Auth::user();
$success[‘token’] = $user->createToken(‘MyApp’)->accessToken;
return response()->json([‘success’ => $success], $this->successStatus);
} else {
return response()->json([‘error’ => ‘Unauthorised’], 401);
}
}

in this code what does doing
$success[‘token’] = $user->createToken(‘MyApp’)->accessToken;

rrajesh011 2019-12-15 22:14:30
LiceaPacheco 2019-12-15 19:06:47
Why you dont use jwt

The token is actually a session I’d coming from another app

rrajesh011 2019-12-15 22:14:49
If it’s exists in db i dont want user to see login page
rrajesh011 2019-12-15 22:14:59
He should be directly login into app
rrajesh011 2019-12-15 22:15:12
Thats what my purpose to use token
LiceaPacheco 2019-12-15 22:20:47
But that token Is store in local storage
LiceaPacheco 2019-12-15 22:20:56
Or somewhere else
LiceaPacheco 2019-12-15 22:21:53
Un that case ypu can ask if exist there good yo wherever you want
LiceaPacheco 2019-12-15 22:22:30
Usiing vue and vue router
LiceaPacheco 2019-12-15 22:22:40
And using the hook
LiceaPacheco 2019-12-15 22:22:48
Before each
rrajesh011 2019-12-15 23:14:37
LiceaPacheco 2019-12-15 22:20:47
But that token Is store in local storage

Db

Khoerulhumam 2019-12-16 04:20:26
how to make export excel by taking data from the contents of the diagram? there is an example
flyermaker 2019-12-16 06:53:44
we all know how much we love to do shopping for free 😘😘

Here is good news for u. I do Flipkart and Amazon money refund 🤤🤤

I can get your money refunded without returning the product 😎

My charge is 30% of refunded amount

skys215 2019-12-16 06:54:35
flyermaker 2019-12-16 06:53:44
we all know how much we love to do shopping for free 😘😘

Here is good news for u. I do Flipkart and Amazon money refund 🤤🤤

I can get your money refunded without returning the product 😎

My charge is 30% of refunded amount

wrong group

2019-12-16 07:59:55
quick quiz…is there a way to use laravel offline(in this case do crud offline) then sync the db once there is internet connection??
LiceaPacheco 2019-12-16 08:11:02
You can sabe the data in local db storage
LiceaPacheco 2019-12-16 08:11:14
Using pwa aproach
LiceaPacheco 2019-12-16 08:11:50
And then create a mecanismo for make the Sync
LiceaPacheco 2019-12-16 08:12:04
With your server database
skys215 2019-12-16 08:12:14
I think it’s more like db master/slave(sorry for the expression if offended) syncing problem than laravel problem
2019-12-16 08:13:22
skys215 2019-12-16 08:12:14
I think it’s more like db master/slave(sorry for the expression if offended) syncing problem than laravel problem

yaahh…its a sync problem…anyone has tried??

|