Are you using eloquent or the query builder?

|
o_sayfullayev 2019-11-12 20:07:34
you should be doctor, I couldn’t diagnose them. It’s exactly cancer, if you cut some cancer you help other cancers to grow
dineshmali164 2019-11-12 20:59:50
Samy 2019-11-12 16:38:47
hello everyone how can i use laravel mix with my html5 bootstrap template

Using blade method

2019-11-12 21:04:50
Samy 2019-11-12 16:38:47
hello everyone how can i use laravel mix with my html5 bootstrap template

https://laravel-mix.com/docs/5.0/installation

Installation | Laravel Mix DocumentationLaravel-Mix
Documentation for Laravel Mix.
anegoda1995 2019-11-12 22:07:00
Hello everybody. I want to know is it good practice when I need to keep controllers and their methods for GET requests in pages table for example. What problems does it resolving?
I just get project on support and need to know is I can refactor it.
DesolatorMagno 2019-11-12 22:10:07
I don’t understand the question.
anegoda1995 2019-11-12 22:36:43
DesolatorMagno 2019-11-12 22:10:07
I don’t understand the question.

I will post a screenshots in 5 mins

anegoda1995 2019-11-12 22:48:39
DesolatorMagno 2019-11-12 22:10:07
I don’t understand the question.

laravel_discuss-17984.jpg

anegoda1995 2019-11-12 22:50:01
Yeah, I like to postpone deadlines
anegoda1995 2019-11-12 22:51:38
Route::post(AppPage::uri(‘contact-form’), ‘ContactController@send’)->name(‘contactform’);
anegoda1995 2019-11-12 22:54:27
anegoda1995 2019-11-12 22:36:43
I will post a screenshots in 5 mins

laravel_discuss-17989.jpg

AlaaDq 2019-11-13 00:15:55
hey
what is the best way to use notifications in laravel
i just want to send nitification when someone adding a post
AlaaDq 2019-11-13 00:16:28
should i use pusher for example ,… or no need
daemon_coder 2019-11-13 00:47:25
AlaaDq 2019-11-13 00:16:28
should i use pusher for example ,… or no need

Use pusher if u want it to be real time.

AlaaDq 2019-11-13 00:48:08
hmmm
u mean it wont show with out refreshing
AlaaDq 2019-11-13 00:48:22
if i am not using pusher
daemon_coder 2019-11-13 00:48:45
AlaaDq 2019-11-13 00:48:22
if i am not using pusher

Yes Sir

AlaaDq 2019-11-13 00:48:49
ok
Vikram Patil 2019-11-13 04:29:49
Plz suggest me
Vikram Patil 2019-11-13 04:29:49
Is it possible?
Vikram Patil 2019-11-13 04:29:49
For sending mail, i want to make dynamic mail variables in .env file
Vikram Patil 2019-11-13 04:31:00
So whenever i want to change my mail configuration then i will change from frontend
anegoda1995 2019-11-13 04:31:06
Vikram Patil 2019-11-13 04:29:49
For sending mail, i want to make dynamic mail variables in .env file

Please describe your problem

Vikram Patil 2019-11-13 04:33:36
Ok..
Vikram Patil 2019-11-13 04:38:01
In .env file i statically set my mail configuration.
But i want to set that dynamically…
Means if user want to change there mail configuration then he can change from ui
DesolatorMagno 2019-11-13 04:39:38
That’s not how you should be using .env.
DesolatorMagno 2019-11-13 04:40:30
you should work with config file and i don’t see the problem, just make a new table or colum with that value, and if that is empty you use the one in the .env.
Vikram Patil 2019-11-13 05:43:57
Ok
vek866q 2019-11-13 09:28:39
For that use a database storage
Manoj Mehta 2019-11-13 09:29:35
laravel_discuss-18022.jpg
I have different different date format in my booking _ date column and I want to get data orderby date in booking _ date
How?
vek866q 2019-11-13 09:32:43
Are you using eloquent or the query builder?
Manoj Mehta 2019-11-13 09:34:17
Query builder
vek866q 2019-11-13 09:34:37
If it’s eloquent add a casts property on your model so that the book_date is casted to a datetime
vek866q 2019-11-13 09:36:23
Query builder it while be hard since you not storing the dates in timestamps. Unless you run a query to convert those records to time stamps and then change the column data type to timestam
vek866q 2019-11-13 09:39:38
https://laravel.com/docs/6.x/eloquent-mutators#date-mutators or check this
Aubergine 2019-11-13 10:06:45
hello, please could you have example for exchange with two application in laravel with passport and oauth?
benson_kb 2019-11-13 10:54:29
Anybody have worked on jsonmiddleware. Needed to help
vek866q 2019-11-13 12:34:06
Aubergine 2019-11-13 10:06:45
hello, please could you have example for exchange with two application in laravel with passport and oauth?

Passport implements oauth by default

vek866q 2019-11-13 12:35:31
benson_kb 2019-11-13 10:54:29
Anybody have worked on jsonmiddleware. Needed to help

On laravel or node?

benson_kb 2019-11-13 12:42:51
Laravel
Aubergine 2019-11-13 13:03:52
vek866q 2019-11-13 12:34:06
Passport implements oauth by default

please send me a project’s example for there

vek866q 2019-11-13 13:05:34
benson_kb 2019-11-13 12:42:51
Laravel

Whats is the middleware supposed to do?

benson_kb 2019-11-13 13:12:03
To convert all the response to JSON
benson_kb 2019-11-13 13:12:10
https://medium.com/@DarkGhostHunter/laravel-convert-to-json-all-responses-automatically-c4a72b2fd3ac

Laravel: Convert all responses to JSON automaticallyMedium
Because not every person in the world wants HTML, nor use in every controller response()->json().
vek866q 2019-11-13 13:14:05
Aubergine 2019-11-13 13:03:52
please send me a project’s example for there

Lemme send u one that uses passport Personal access token. Laravel 5.7

vek866q 2019-11-13 13:18:08
download then run composer install, replicate your .env from the example one, then run the seeds
Aubergine 2019-11-13 13:40:52
thank
2019-11-13 13:57:01
Anybody have database for fee manage ?
genanan 2019-11-13 14:55:26
Hi, somebody have example of drawing Google map multiple shapes for lara?
H_Bakhtar 2019-11-13 14:58:28
laravel_discuss-18043.jpg
Hi i wanna sum a price of record and all it’s related mount together ? how query it to get the sum of this
dineshmali164 2019-11-13 16:15:00
Hi, Which gateway is best for send SMS verification???
Please suggest me
Thanks in advance
|