Can anyone suggest me with good tutorial for laravel?

|
ktmsulaim 2020-12-16 19:29:32
Yes! Just upgraded to 7.4
GistOf 2020-12-16 19:33:29
Then I don’t know. Let’s wait for someone to help.
My guess is that Apache doesn’t know about the change you have made
GistOf 2020-12-16 19:34:20
What happens when you use php artisan serve?
ktmsulaim 2020-12-16 19:36:11
GistOf 2020-12-16 19:34:20
What happens when you use php artisan serve?

Wow! It works, but custom domain still not working!

ktmsulaim 2020-12-16 19:38:26
Also, assets like image are also not loading!
GistOf 2020-12-16 19:46:59
View page source and see which URLs are being used
ktmsulaim 2020-12-16 19:47:03
Finally, I fixed thank @bri
ktmsulaim 2020-12-16 19:47:42
It was a .htaccess error: Invalid command ‘php_value’
GistOf 2020-12-16 19:48:29
Interesting
Prem Soni 2020-12-16 20:07:14
If we want to make a assets folder which includes css and js and keep folder of assets above app folder than what to do?
Prem Soni 2020-12-16 20:10:50
Can anyone help me?
GistOf 2020-12-16 20:17:07
Prem Soni 2020-12-16 20:07:14
If we want to make a assets folder which includes css and js and keep folder of assets above app folder than what to do?

Assets are not supposed to be in the app folder. Put the in the public folder

Prem Soni 2020-12-16 20:25:30
But I see in a project they have put the assets folder after app folder in which it includes css and ja
Prem Soni 2020-12-16 20:25:41
Js
2020-12-16 20:26:23
Can anyone suggest me with good tutorial for laravel?
Harikrishnan5494 2020-12-16 20:27:36
Laracast
Harikrishnan5494 2020-12-16 20:28:24
Php step by step YouTube channel
2020-12-16 20:29:17
I some help anyone who has knowledge about building block chain systems to help me display data on a chart library and help review my code base please
Prem Soni 2020-12-16 20:29:26
Can anyone help me?
Symoh 2020-12-16 21:19:53
2020-12-16 20:26:23
Can anyone suggest me with good tutorial for laravel?

Laravel tutorial point

rdulk 2020-12-16 21:20:05
any reference for modular development in laravel?
rmkmasterdev 2020-12-16 23:19:27
2020-12-16 20:29:17
I some help anyone who has knowledge about building block chain systems to help me display data on a chart library and help review my code base please

Use chart. Js

2020-12-17 00:06:45
There’s any problems when i would to update laravel website from 5.7 version to the last one
samprogrammer 2020-12-17 04:45:00
laravel_discuss-62808.jpg

samprogrammer 2020-12-17 04:45:11
Suggest Laptop Under 35K With SSD
Only for Coding
justine_chacko 2020-12-17 06:27:33
I need to make combination of two column in a table unique. I mean first I enter two details it should get stored. Then I repeat the same two details it should return error. Code I used is
public function create(Request $request) {
$webservices = new WebService();
$data = $request->validate([
“service” => Rule::unique(‘web_services’, ‘service’)->where(’email’,$webservices->email)
]);
$webservices->email = $request->input(’email’);
$webservices->service = $request->input(‘service’);
$webservices->save();
return response()->json($webservices);
}

class WebService extends Model
{
protected $table = ‘web_services’;
protected $fillable = [’email’, ‘service’];
}

Route::post(‘/webservice’, ‘WebServicesController@create’);

I am using post man, But The data is filling again in table

Lương Yên 2020-12-17 06:35:14
I want to do statistics like this. Do people have a good solution for the ranking? The ranking comparison is how much ranking it increases or decreases
Lương Yên 2020-12-17 06:35:36
laravel_discuss-62813.jpg

Kishan Thakkar 2020-12-17 09:04:05
How to create search suggestion in laravel
Bhuvi100 2020-12-17 09:14:55
justine_chacko 2020-12-17 06:27:33
I need to make combination of two column in a table unique. I mean first I enter two details it should get stored. Then I repeat the same two details it should return error. Code I used is
public function create(Request $request) {
$webservices = new WebService();
$data = $request->validate([
“service” => Rule::unique(‘web_services’, ‘service’)->where(’email’,$webservices->email)
]);
$webservices->email = $request->input(’email’);
$webservices->service = $request->input(‘service’);
$webservices->save();
return response()->json($webservices);
}

class WebService extends Model
{
protected $table = ‘web_services’;
protected $fillable = [’email’, ‘service’];
}

Route::post(‘/webservice’, ‘WebServicesController@create’);

I am using post man, But The data is filling again in table

I think you need to use a callback in the where

Bhuvi100 2020-12-17 09:15:15
justine_chacko 2020-12-17 06:27:33
I need to make combination of two column in a table unique. I mean first I enter two details it should get stored. Then I repeat the same two details it should return error. Code I used is
public function create(Request $request) {
$webservices = new WebService();
$data = $request->validate([
“service” => Rule::unique(‘web_services’, ‘service’)->where(’email’,$webservices->email)
]);
$webservices->email = $request->input(’email’);
$webservices->service = $request->input(‘service’);
$webservices->save();
return response()->json($webservices);
}

class WebService extends Model
{
protected $table = ‘web_services’;
protected $fillable = [’email’, ‘service’];
}

Route::post(‘/webservice’, ‘WebServicesController@create’);

I am using post man, But The data is filling again in table

laravel_discuss-62818.jpg
From the docs

justine_chacko 2020-12-17 09:46:05
thanks,
What should be $query , will model::all(); work?
Bhuvi100 2020-12-17 09:53:38
justine_chacko 2020-12-17 09:46:05
thanks,
What should be $query , will model::all(); work?

$query->where(’email’,$webservices->email);

Bhuvi100 2020-12-17 09:54:09
justine_chacko 2020-12-17 09:46:05
thanks,
What should be $query , will model::all(); work?

Yep Its just a validator,will not affect any other queries

Ohmygoddessss 2020-12-17 10:18:57
Hi guys, I have a question about laravel passport, everytime I deploy project to server all APIs becoming “unauthenticated” , any way to keep it ?
|