Whic course in youtube is the best to learn laravel?

|
DesolatorMagno 2019-12-08 18:10:11
Did you read what you wrote?
2019-12-08 18:10:50
DesolatorMagno 2019-12-08 18:10:11
Did you read what you wrote?

Yeap. It’s just difficult to explain lol

DesolatorMagno 2019-12-08 18:10:53
Even the simplification is to weird
DesolatorMagno 2019-12-08 18:11:43
$user = one teh users!

Wtf mean that?

2019-12-08 18:12:28
DesolatorMagno 2019-12-08 18:11:43
$user = one teh users!

Wtf mean that?

It means: $user = User::find(x)!

DesolatorMagno 2019-12-08 18:12:57
That would better to get the example that random words
2019-12-08 18:13:30
I meant $user refers to a user object!
2019-12-08 18:13:55
DesolatorMagno 2019-12-08 18:11:43
$user = one teh users!

Wtf mean that?

*the sry 😁

DesolatorMagno 2019-12-08 18:13:58
Yes, you can do it, search in eloquent section.
DesolatorMagno 2019-12-08 18:15:59
You have mutator, I think that is the name, but in any case, search in eloquent.
2019-12-08 18:16:27
DesolatorMagno 2019-12-08 18:13:58
Yes, you can do it, search in eloquent section.

+1

function isOnline(){
$user_last_activity = $this->getOriginal()[‘last_activity’];
}

this worked

DesolatorMagno 2019-12-08 18:18:54
Yes, but try reading to do it better, and besides

Is online is a yes or not question so it should be answer with a Boolean, the name of what you write matters.

2019-12-08 18:20:16
DesolatorMagno 2019-12-08 18:18:54
Yes, but try reading to do it better, and besides

Is online is a yes or not question so it should be answer with a Boolean, the name of what you write matters.

You’re right. It’s actually this

public function isOnline()
{
$last_activity = Carbon::parse($this->getOriginal()[‘last_activity’]);
return $last_activity->addMinutes(5) < now();
}

2019-12-08 18:21:27
I was storing the last activity using Cache lol!
2019-12-08 18:21:32
It’s much better now
DesolatorMagno 2019-12-08 18:23:01
There are ways to do things, standard that help you and whoever might work with you.

Public getFullNameAttribute()
Return $this->name . $this->last name

$user->fullname

DesolatorMagno 2019-12-08 18:23:52
And is online is a yes or not.
-Are you online?
*23 June
2019-12-08 18:23:55
DesolatorMagno 2019-12-08 18:23:01
There are ways to do things, standard that help you and whoever might work with you.

Public getFullNameAttribute()
Return $this->name . $this->last name

$user->fullname

+1 ! It was so simple!

DesolatorMagno 2019-12-08 18:24:10
Yeah, the documentation is there for something.
rethdaro 2019-12-08 18:24:49
ErgashevXurshid 2019-12-08 17:51:24
Use axios or ajax

I used axios

DesolatorMagno 2019-12-08 18:27:52
rethdaro 2019-12-08 18:24:49
I used axios

You can either use Ajax and change/add the HTML using js or make the querie in the controller using something like curl and send it to the front
The second make the page take more time to load but is how you can get data in the controller.

mahdyfo 2019-12-08 18:45:41
rethdaro 2019-12-08 18:24:49
I used axios

.then(response=>{ … })

ErgashevXurshid 2019-12-08 19:11:45
rethdaro 2019-12-08 18:24:49
I used axios

Good job😊

Nando_xavier 2019-12-08 21:22:41
Gente alguém aqui tem experiência e disponibilidade para criação e deploy de um projeto piloto de gerenciamento de pacientes em UTI para eu colocar em teste em dois dias ? Já tenho o domínio registrado no registro.br
Favor entrar em contato no pv para combinarmos valor.
Fatima 2019-12-08 23:08:07
laravel_discuss-20554.jpg
Any body knows why my middleware doesn’t work ??? It doesn’t bring register form. laravel is 6
DesolatorMagno 2019-12-08 23:10:59
i don’t see auth routes.
Fatima 2019-12-08 23:11:55
laravel_discuss-20556.jpg

DesolatorMagno 2019-12-08 23:12:18
THAT’S A MIDDLEWARE NO AUTH ROUTE
2019-12-08 23:21:39
Fatima 2019-12-08 23:11:55

laravel_discuss-20559.jpg

zymawy 2019-12-09 00:03:56
Hello Everyone,

We are looking for a creative Laravel developer, if you are interested, share your CV to alkhwlani@yandex.ru

* Full/Part-time.
* Work remotely available.

giorbismiguel 2019-12-09 01:12:43
2019-11-24 13:45:23
we are based in germany

I am interested

AbobakrAldubai 2019-12-09 02:17:13
whic course in youtube is the best to learn laravel ?
2019-12-09 02:17:49
coder’sTape
2019-12-09 02:18:01
laravel5.8 from scratch
AbobakrAldubai 2019-12-09 02:19:13
thanks 🌸
Bpatil 2019-12-09 06:42:42
laravel_discuss-20583.jpg
Help pls.
Dante73 2019-12-09 06:49:02
Bpatil 2019-12-09 06:42:42
Help pls.

Check your internet connection

skys215 2019-12-09 06:58:03
AbobakrAldubai 2019-12-09 02:17:13
whic course in youtube is the best to learn laravel ?

laracasts, laravel6 from scratch

rebory 2019-12-09 07:27:29
Bpatil 2019-12-09 06:42:42
Help pls.

internet is required during composer installation

DiazDjul19 2019-12-09 08:30:50
laravel_discuss-20591.jpg

DiazDjul19 2019-12-09 08:31:01
excuse me, I want to ask, I have a function named “find_lucky_report”, and in that function there is a variable named $ total_uang_with_name_product, and I want to retrieve data from $ total_uang_with_name_product in a different function
how did you do that?
skys215 2019-12-09 08:37:18
pass this variable while you are calling the function
zianiiys 2019-12-09 08:53:51
https://www-freecodecamp-org.cdn.ampproject.org/c/s/www.freecodecamp.org/news/how-to-setup-laravel-6-on-google-cloud-run-with-continuous-integration-ci-step-by-step/amp/

How to run Laravel on Google Cloud Run with Continuous Integration – a step by step guidefreeCodeCamp.org
Laravel has soared
[https://trends.google.com/trends/explore?date=2014-11-12%202019-11-12&q=laravel,symfony]
in popularity over the last few years. The Laravel community even says that
Laravel has made writing PHP more enjoyable instead of a pain. Laravel 6 has
some interesting new features
[https://laracasts.com/series/whats-new-in-laravel-6]. Getting a super scaleable
working URL for your application takes hours if not days. Setting up something
like Kubernetes is a huge task. This is where G
2019-12-09 08:55:20
which the best API for sending SMS for mobiles ?
ErgashevXurshid 2019-12-09 08:56:24
2019-12-09 08:55:20
which the best API for sending SMS for mobiles ?

Nexmo

rebory 2019-12-09 13:04:46
ErgashevXurshid 2019-12-09 08:56:24
Nexmo

msg91

rebory 2019-12-09 13:04:56
bala bala friends
rebory 2019-12-09 13:07:01
laravel_discuss-20614.jpg
i get all tables from mysql DB

$tables = DB::select(‘SHOW TABLES’);

@foreach($tables as $table)
<h3> {{ $table }}</h3>
@endforeach

Pls Tell me how to render it in blade

rebory 2019-12-09 13:12:53
yes this is screenshot of dd $tables
rebory 2019-12-09 13:14:51
pls litte show me how to use key when foreach
|