Sohail @sohail
257 Total Points
0 Best Answers
2 Posts
11 Snippits
Activities
Difference between Laravel $request->input(), $request->get(), and $request->name direct property
If you’ve been around Laravel for a while, you might have seen there are three ways in controllers to retrieve inputs from the submitted form. For example, if you are trying (...)
0
0
190
0
0
177
You can use the hidden selector:
// Matches all elements that are hidden
$('element:hidden')
And the visible selector:
// Matches all elements that are visible
$('element:visible')
(...)
0
0
The Illuminate\Mail\Mailable::attach()
method returns $this
, you just have to chain it:
/**
* Build the message.
*
* @return $this
*/
public function build()
{
(...)
0
0
Sending Email in Laravel using Gmail SMTP Server
In this post, we talk about how to send email using the Gmail SMTP server in Laravel. Well, there's no uncertainty the need to send emails in your web application will emerge, (...)

0
0
450
Use this:
git remote set-url origin git://new.location
Alternatively, open .git/config
, look for [remote "origin"]
, and edit the url =
line.
You can check it worked (...)
0
0
You can use grep -ilR
:
grep -Ril "text-to-find-here" /directory-path
-
i
stands for ignore case (optional in your case). -
R
stands for recursive. -
l
stands (...)
0
0