Is another way to validate a form?

|
StanleyMasinde 2019-01-24 09:15:42
Heyyy
StanleyMasinde 2019-01-24 09:19:20
It wasn’t my problem
StanleyMasinde 2019-01-24 09:20:26
IglesiasNoelia 2019-01-23 14:32:31
percents*, sorry

This is the guy

StanleyMasinde 2019-01-24 09:21:11
And it was solved
StanleyMasinde 2019-01-24 09:21:55
Great
വിനീഷ് സെയ്തൻസ് 2019-01-24 09:40:58
For a support management tool in laravel i need to pipe some mail into my application.. is it possible??
വിനീഷ് സെയ്തൻസ് 2019-01-24 09:42:31
Mail in the sense .. for all mail that comes to a particular mail account should be visible in this laravel application
limkimhong 2019-01-24 10:42:14
hi team
limkimhong 2019-01-24 10:42:17
“Type error: Argument 1 passed to IlluminateRoutingMiddlewareThrottleRequests::addHeaders() must be an instance of SymfonyComponentHttpFoundationResponse, null given, called in /vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php
limkimhong 2019-01-24 10:42:25
can u help this errror .
marsahadji 2019-01-24 13:15:59
limkimhong 2019-01-24 10:42:17
“Type error: Argument 1 passed to IlluminateRoutingMiddlewareThrottleRequests::addHeaders() must be an instance of SymfonyComponentHttpFoundationResponse, null given, called in /vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php

The arg you’re passing to the function is empty ie NULL… Check it’s construction

limkimhong 2019-01-24 13:19:02
marsahadji 2019-01-24 13:15:59
The arg you’re passing to the function is empty ie NULL… Check it’s construction

ok thx u

വിനീഷ് സെയ്തൻസ് 2019-01-24 14:02:29
വിനീഷ് സെയ്തൻസ് 2019-01-24 09:42:31
Mail in the sense .. for all mail that comes to a particular mail account should be visible in this laravel application

Can any one help in this

svn9999 2019-01-24 14:37:09
Can I passing parameter to eloquent function by with() from controller?
Leetump 2019-01-24 14:57:33
Yaa
StanleyMasinde 2019-01-24 17:37:11
with()
is used to pass data to your views…
StanleyMasinde 2019-01-24 17:39:37
You can also do this…
return view(‘yourview’, []);
that will help you pass an associtive array to your view.
2019-01-24 21:07:23
laravel_discuss-940.jpg

StanleyMasinde 2019-01-24 21:08:43
The best place you can get help is tracker docs
2019-01-25 06:15:45
To be or not to be ? There os this question
2019-01-25 06:15:52
Is*
2019-01-25 06:15:57
The*
2019-01-25 10:01:04
alexcuadra 2019-01-22 01:43:33
I have 3 ideas:
– a CMS for a college
– a clinical control for hospital
– a LMS for a little school

Guys i select a clinic control for hospital and i google it and no thing good about it
a need any link about this subject

Vooraj1980 2019-01-25 11:14:35
hi guys, is any one have a social marketing telegram group link to share me ?
LookBig 2019-01-25 11:43:22
AbdulElah 2019-01-23 15:16:25

<img src=”/121.png”>

2019-01-25 13:03:37
laravel_discuss-959.jpg
Is another way to validate a form?
starch1ld 2019-01-25 13:04:12
Sure
starch1ld 2019-01-25 13:04:55
You can create form request class and return the validation rules
ingamuste 2019-01-25 13:12:47
2019-01-25 13:03:37
Is another way to validate a form?

https://laravel.com/docs/5.7/validation#form-request-validation

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
mahdialk 2019-01-25 14:11:15
2019-01-25 13:03:37
Is another way to validate a form?

Create Request class for your model and define it like this

public function store( FormRequest $request)

and you should define your validation rules in request class in rules function

haydarsahin 2019-01-25 14:44:18
laravel_discuss-1001.jpg
Hi everyone, I want to get userid on middleware but it return null
haydarsahin 2019-01-25 14:44:54
also all request parameters are showing as null
haydarsahin 2019-01-25 14:45:17
I use user.edit route
rugleb 2019-01-25 14:48:47
I should register your middleware after auth middleware
rugleb 2019-01-25 14:49:40
Can you show array of middlewares?
haydarsahin 2019-01-25 14:50:50
laravel_discuss-1013.jpg

rugleb 2019-01-25 14:52:40
Did you add auth middleware to your route?
StanleyMasinde 2019-01-25 14:53:01
haydarsahin 2019-01-25 14:44:18
Hi everyone, I want to get userid on middleware but it return null

Auth::user()->id

haydarsahin 2019-01-25 14:53:44
laravel_discuss-1018.jpg

haydarsahin 2019-01-25 14:53:54
@rugleb yeah sure
behzadaminnima 2019-01-25 14:54:46
Hi guys
Someone has written a robot with Larawl to create content on the site
haydarsahin 2019-01-25 14:55:33
@stannlee I know but I want mathing Auth User and userid parameter on url
StanleyMasinde 2019-01-25 14:58:56
haydarsahin 2019-01-25 14:55:33
@stannlee I know but I want mathing Auth User and userid parameter on url

Request::user()->id

rugleb 2019-01-25 14:59:49
haydarsahin 2019-01-25 14:53:54
@rugleb yeah sure

Hmm, don’t know..

StanleyMasinde 2019-01-25 15:00:36
$request->user()->id
contains the user id of the user making the request
haydarsahin 2019-01-25 15:01:15
StanleyMasinde 2019-01-25 14:58:56
Request::user()->id

Non-static method IlluminateHttpRequest::user() should not be called statically

StanleyMasinde 2019-01-25 15:02:20
StanleyMasinde 2019-01-25 15:00:36
$request->user()->id
contains the user id of the user making the request

Use this

haydarsahin 2019-01-25 15:05:12
rugleb 2019-01-25 14:59:49
Hmm, don’t know..

thx

haydarsahin 2019-01-25 15:12:39
StanleyMasinde 2019-01-25 15:02:20
Use this

Wow you awesome

haydarsahin 2019-01-25 15:19:36
@stannlee we have a problem . it returns all time auth user id
|