Everyone, i can create an admin panel with laravel and the API is created by nodejs, right?

|
Acird Burn 2020-06-29 21:42:14
But it’s always polite to greet before seeking help
Roham0010 2020-06-29 21:43:55
Acird Burn 2020-06-29 21:42:14
But it’s always polite to greet before seeking help

But it’s not professional JK 😅

sea1011 2020-06-30 04:54:15
Hello everyone, i can create an admin panel with laravel and the API is created by nodejs , right?
2020-06-30 06:09:16
Any job for php developer
Kishanpatel59 2020-06-30 08:21:30
Yes
Kishanpatel59 2020-06-30 08:21:47
In surat
Unknownuser009 2020-06-30 08:29:18
Where in aurat
Unknownuser009 2020-06-30 08:29:28
Surat
theman_behind 2020-06-30 08:31:42
What is ERP?
theman_behind 2020-06-30 08:31:59
Can it be better with laravel or core php?
. 2020-06-30 09:24:30
Hi
What if i want to limit on eager loads?
Consider I’ve 10 users and each user has 10,000 posts.
So how can i tell eloquent to take maximum 10 first posts from user?
. 2020-06-30 09:25:03
laravel_discuss-43317.jpg
This is my code. But it returns all post from users.
Rajat Agrawal 2020-06-30 09:32:29
any body can solve my doubt
Rajat Agrawal 2020-06-30 09:33:20
I want to pass the mail id from blade to route and than to controller without form
Rajat Agrawal 2020-06-30 09:34:49
laravel_discuss-43320.jpg

Rajat Agrawal 2020-06-30 09:48:04
laravel_discuss-43321.jpg

Marvixino 2020-06-30 09:56:22
Rajat Agrawal 2020-06-30 09:33:20
I want to pass the mail id from blade to route and than to controller without form

check this https://laravel.com/docs/5.8/routing#route-parameters

Your route should include the variable name /to/path/{email}, then the controller signature should has $email

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.
R_N_M_O 2020-06-30 09:57:43
Is there are any ways to dealing with .xlsm files ?
Rajat Agrawal 2020-06-30 09:58:49
Marvixino 2020-06-30 09:56:22
check this https://laravel.com/docs/5.8/routing#route-parameters

Your route should include the variable name /to/path/{email}, then the controller signature should has $email

i want to pass data from blade to controler without form and without adding mailid to url

Rajat Agrawal 2020-06-30 09:59:31
Marvixino 2020-06-30 09:56:22
check this https://laravel.com/docs/5.8/routing#route-parameters

Your route should include the variable name /to/path/{email}, then the controller signature should has $email

if i wanted to pass array than

Roham0010 2020-06-30 10:01:30
. 2020-06-30 09:25:03
This is my code. But it returns all post from users.

Well you can do it in the relation method like
$this-hasmany(post)-*limit(10)*-orderby….

Roham0010 2020-06-30 10:02:56
. 2020-06-30 09:25:03
This is my code. But it returns all post from users.

Also you can send a callback function in second parameter of with and return conditions you want also limitations orderby etc

Roham0010 2020-06-30 10:05:51
Rajat Agrawal 2020-06-30 09:33:20
I want to pass the mail id from blade to route and than to controller without form

Use axios or fetch or jQuery ajax from js libs

Csteach16 2020-06-30 10:21:53
laravel_discuss-43329.jpg

Csteach16 2020-06-30 10:22:55
when send we get issue..
Csteach16 2020-06-30 10:23:18
send email.. issue..
Csteach16 2020-06-30 10:25:59
anyone can help me
Roham0010 2020-06-30 10:27:47
Csteach16 2020-06-30 10:21:53

it’s not a simple question and answer
follow this links:
https://stackoverflow.com/questions/33939393/failed-to-authenticate-on-smtp-server-error-using-gmail

https://laracasts.com/discuss/channels/laravel/failed-to-authenticate-on-smtp-server-with-username-my-at-emailcom-using-2-possible-authenticators

Failed to authenticate on SMTP server error using gmailStack Overflow
I’m trying to set up email for my first laravel project, and was thrilled that there’s a laracast for it: https://laracasts.com/lessons/mailers

I’ve followed the simple steps, chose gmail in mail…

Csteach16 2020-06-30 10:28:08
ok
2020-06-30 11:36:23
https://youtu.be/cnFeJ8ybdHc

online T-shirt design using laravel frameworkYouTube
This application developed using php laravel framework. its useful for online shopping where user can have custom color,text,image on their t-shirt.

Email: bharatjogi.07@gmail.com

dewitt 2020-06-30 12:54:59
Hello everybody! I’m looking for a dev laravel for a project, obviously paid. For those interested, contact me in private
2020-06-30 13:32:04
Hi
How to check in Laravel Passport that the user has logged in?
oxbir 2020-06-30 13:47:06
public function store(Request $request)
{
if ($request->hasFile(‘logo’)) {
$logo = $request->file(‘logo’);
$logoFile = $logo->getClientOriginalName();
$logo->move(public_path(‘images/logos’), $logoFile);
}
if ($request->hasFile(‘image’)) {
$image = $request->file(‘image’);
$imageFile = $image->getClientOriginalName();
$image->move(public_path(‘images/images’), $imageFile);
}
Style::create([
‘lang’ => app()->getLocale(),
‘first_name’ => $request->first_name,
‘last_name’ => $request->last_name,
‘mobile’ => $request->mobile,
‘birth_date’ => $request->birth_date,
‘field_sport’ => $request->field_sport,
‘coach_degree’ => $request->coach_degree,
‘referee_degree’ => $request->referee_degree,
‘don’ => $request->don,
‘gender’ => $request->gender,
‘marital_status’ => $request->marital_status,
‘championship_titles’ => $request->championship_titles,
‘national_code’ => $request->national_code,
‘job’ => $request->job,
‘style_name’ => $request->style_name,
’email’ => $request->email,
‘founder’ => $request->founder,
‘website’ => $request->website,
‘image’ => isset($imageFile) ? $imageFile : NULL,
‘logo’ => isset($logoFile) ? $logoFile : NULL,
]);
return redirect()->back();
}
oxbir 2020-06-30 13:48:00
I get this error…
oxbir 2020-06-30 13:48:12
laravel_discuss-43345.jpg

Siberfx 2020-06-30 13:51:23
you should check your app.php file under config folder for this lang variable
Siberfx 2020-06-30 13:51:59
if its a string or an array
oxbir 2020-06-30 13:53:15
what do you mean?
oxbir 2020-06-30 13:53:56
Siberfx 2020-06-30 13:51:59
if its a string or an array

No it is not an array

Siberfx 2020-06-30 13:54:34
in the image not readable the line of error, make a clean screenshot
oxbir 2020-06-30 13:55:31
‘locales’ => [‘fa’ => ‘Farsi’, ‘en’ => ‘English’],
oxbir 2020-06-30 13:55:50
oxbir 2020-06-30 13:55:31
‘locales’ => [‘fa’ => ‘Farsi’, ‘en’ => ‘English’],

app.php

oxbir 2020-06-30 13:56:22
How to save it?
Siberfx 2020-06-30 13:56:49
you should create another variable after locale in app.php
Siberfx 2020-06-30 13:57:00
with this array
Siberfx 2020-06-30 13:57:53
oxbir 2020-06-30 13:55:31
‘locales’ => [‘fa’ => ‘Farsi’, ‘en’ => ‘English’],

‘locales’ => [‘fa’, ‘en’],

Siberfx 2020-06-30 13:58:05
save like this instead, more easy less code.
oxbir 2020-06-30 14:03:20
‘locale’ => ‘fa’,
‘locales’ => [‘fa’ => ‘Farsi’, ‘en’ => ‘English’],
‘locals’ => [‘fa’, ‘en’],
oxbir 2020-06-30 14:03:40
laravel_discuss-43359.jpg

oxbir 2020-06-30 14:08:42
I replced it
|