Which one you suggest me to select because I just start to develop a long term project?

|
Alireza1kazemi 2020-02-11 23:48:57
toito_lucho 2020-02-11 23:41:56
Hi guys … I’m making a master detail form for orders products and I would like to have a input text with autocomplete search… I was trying to implement with jQuery using Typeahead and Bootstrap… But it doesn’t work… How to debug a GET call función controller that return the Jason data?? Does anybody have some example??

You can use Vuejs and its axios 😊

Alireza1kazemi 2020-02-11 23:49:45
Vue in laravel is incredibly useful!
cosmonte 2020-02-11 23:51:16
JWT vs Laravel Authentication
StanleyMasinde 2020-02-11 23:54:01
You guys should try laravel/airlock
StanleyMasinde 2020-02-11 23:54:34
It ensures all HTTP requests are stateful
toito_lucho 2020-02-12 00:14:05
Alireza1kazemi 2020-02-11 23:48:57
You can use Vuejs and its axios 😊

Hi, do you have some example? Please..

Alireza1kazemi 2020-02-12 00:29:23
toito_lucho 2020-02-12 00:14:05
Hi, do you have some example? Please..

https://github.com/axios/axios/blob/master/README.md

axios/README.md at master · axios/axiosGitHub
Promise based HTTP client for the browser and node.js – axios/README.md at master · axios/axios
Alireza1kazemi 2020-02-12 00:31:07
Alireza1kazemi 2020-02-12 00:29:23
https://github.com/axios/axios/blob/master/README.md

You can use it even without Vuejs😎

Alireza1kazemi 2020-02-12 00:37:19
if i understand your question
You need to search the database(products table)
And get products that are match with condition that you want
Alireza1kazemi 2020-02-12 00:39:02
Then at the end use
return response json(data);
cosmonte 2020-02-12 00:44:13
StanleyMasinde 2020-02-11 23:54:01
You guys should try laravel/airlock

Which one is safer and more protected?

Alireza1kazemi 2020-02-12 00:45:28
Alireza1kazemi 2020-02-12 00:37:19
if i understand your question
You need to search the database(products table)
And get products that are match with condition that you want

laravel_discuss-26353.jpg
For search in DB

Alireza1kazemi 2020-02-12 00:50:25
But for debugging
You can use
dd($your_variable);
In server
(For this you nead to provide a ajax request
I recommend Httpie library)
Then using
Console.log
In chromes console
For client side☺️
Alireza1kazemi 2020-02-12 00:50:48
I hope it helps you😄
Alireza1kazemi 2020-02-12 00:52:19
And last tip
Make an api for that
Its Better for this sort of things🤓
toito_lucho 2020-02-12 01:13:56
Thanks guys..
StanleyMasinde 2020-02-12 01:36:49
cosmonte 2020-02-12 00:44:13
Which one is safer and more protected?

Yes safer than storing tokens in local storage

cosmonte 2020-02-12 01:37:36
Can you tell me please more about it
cosmonte 2020-02-12 01:37:41
How Airlock works
StanleyMasinde 2020-02-12 01:38:36
https://github.com/laravel/airlock

GitHub – laravel/sanctum: Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.GitHub
Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs. – GitHub – laravel/sanctum: Laravel Sanctum provides a featherweight authentication system for SPAs and simp…
StanleyMasinde 2020-02-12 01:38:49
It’s still new though
cosmonte 2020-02-12 01:41:11
Which one you suggest me to select because I just start to develop a long term project?!
StanleyMasinde 2020-02-12 01:41:49
You still use the normal laravel authentication
Phen 2020-02-12 03:14:45
Hello all, I have one question.
I want to import Vuex store file that I create to use in JS file (outside Module). But when state change, UI doesn’t change according state logic
dennis 2020-02-12 04:02:18
https://james.brooks.page/blog/tinkerwell-giveaway/?referral=nw61LqW&utm_campaign=dennis-thuranira-referral&utm_source=referral&utm_medium=embed

Tinkerwell Giveaway | james.brooks.pagejames.brooks.page
Tinkerwell is the magical code editor that runs your code within local and remote PHP applications, and it’s fast become one of my daily productivity tools. I use Tinkerwell all the time for testing…
godwar53 2020-02-12 04:38:36
laravel_discuss-26367.jpg
hello sir/miss, i am getting any error for this case
godwar53 2020-02-12 04:38:47
how to solve this problem?
albertocardenas 2020-02-12 07:52:35
Hi Everybody, I offer my services as Freelance Laravel Consultant, support and development, contact me +1 (720) 759-4683. WhatsApp, Email me@albertocardenas.com or Call me!!
2020-02-12 08:02:42
laravel_discuss-26373.jpg
Help me sir
godwar53 2020-02-12 08:32:34
solved sir thanks
2020-02-12 08:33:45
Too few arguments to function AppHttpControllersReservationController::edit(),
2020-02-12 08:34:02
im getting that error someone please help
skys215 2020-02-12 08:43:29
2020-02-12 08:02:42
Help me sir

Need more info

skys215 2020-02-12 08:43:44
2020-02-12 08:33:45
Too few arguments to function AppHttpControllersReservationController::edit(),

it’s obivous, you didn’t pass enough arguments to that function

2020-02-12 09:21:06
Category id pass subcategory which code
2020-02-12 09:21:44
Please code send
toito_lucho 2020-02-12 09:21:58
Alireza1kazemi 2020-02-12 00:50:25
But for debugging
You can use
dd($your_variable);
In server
(For this you nead to provide a ajax request
I recommend Httpie library)
Then using
Console.log
In chromes console
For client side☺️

laravel_discuss-26381.jpg

toito_lucho 2020-02-12 09:22:03
Hi guys…i trying to see if my function is working with Httpie library… how to know if its working
skys215 2020-02-12 09:24:43
toito_lucho 2020-02-12 09:22:03
Hi guys…i trying to see if my function is working with Httpie library… how to know if its working

httpie is just a tool to send http requests
just read the doc, call your api

skys215 2020-02-12 09:24:59
postman does the same thing
zmtrn 2020-02-12 09:29:40
I’ve got the same issue for a while 🤦🏻‍♀️
Did you find any solution ?!
toito_lucho 2020-02-12 09:41:36
Hi guys… I’m frustrated with a autocomplete search for products orders… I’m traying to use typehold library, but it is not working. I think the response for the JSON is bad… these are the java script code and the function controller. Help please
toito_lucho 2020-02-12 09:41:41
laravel_discuss-26387.jpg

zmtrn 2020-02-12 09:48:44
zmtrn 2020-02-09 22:01:44
Hi there,
I’m working with laravel 6
Have the session restart issue: it will start through each request!
So I cannot use even simple post request since the csrf token works with sessions..

Need help 🙏🙏

Help me plz.. I’ve already checked everything several times so I think I didn’t missed anything but there’s something which I don’t know ☹️

zmtrn 2020-02-12 09:49:55
Why the session will restart through requests and I cannot access previous values😞
skys215 2020-02-12 09:50:18
have you enabled startSession middleware?
zmtrn 2020-02-12 09:50:31
skys215 2020-02-12 09:50:18
have you enabled startSession middleware?

Yes it is in middlewareGroup and it works

zmtrn 2020-02-12 09:51:10
I dig the code
zmtrn 2020-02-12 09:57:09
There’s a conditional statement at the beginning of this middleware :

if ( ! $this->sessionConfigured )
return $next($request);

But even when the session has already set, the condition is false!

skys215 2020-02-12 10:01:17
try to find when it is set to false
|