Someone work with laradock and know where to change the session timeout of phpmyadmin from 1440 to 99999999?

|
DesolatorMagno 2020-06-02 22:34:12
devmansurov 2020-06-02 21:35:40
Here UserRepository class but in this class not defined create method and no other UserRepository class except this

https://github.com/apiato/apiato/blob/9.0/app/Containers/User/Data/Repositories/UserRepository.php

https://github.com/apiato/apiato/blob/9.0/app/Ship/core/Abstracts/Repositories/Repository.php
Here you can find the AbstractRepository that implement the Repository
and here
https://github.com/andersao/l5-repository/blob/master/src/Prettus/Repository/Eloquent/BaseRepository.php
the PrettusRepository that is implemented by the abstractRepository that is implemented by repository that is implemented by UserRepository.

DesolatorMagno 2020-06-02 22:35:06
You can also search the RepositoryInterface and RepositoryCriteriaInterface.
azizikri 2020-06-03 03:11:14
dszod
rdulk 2020-06-03 06:23:05
Is anybody knows Vue js
rdulk 2020-06-03 06:23:24
I have a doubt
sasha13453 2020-06-03 06:37:12
Someone work with laradock and know where to change the session timeout of phpmyadmin from 1440 to 99999999?
Thanks
Gowtham_Boopathiraj 2020-06-03 07:26:50
laravel_discuss-39827.jpg

Gowtham_Boopathiraj 2020-06-03 07:27:14
Gowtham_Boopathiraj 2020-06-03 07:26:50

This issue how to fix? Please help me in laravel 5.8

DesolatorMagno 2020-06-03 08:00:13
CSRF token.
2020-06-03 08:33:34
hey any one has scripting project in laravel (example front end logic only no backend code) please help
GTLeader 2020-06-03 08:44:21
Hello.
Please am new to Laravel… Just downloaded Laravel 7. Is there any other authentication scripts apart from the one provided in Laravel/UI. I am looking for something pretty advance for my project. Also I have my custom signup/sign-in bootstrap template already and won’t be needing the one provided by Laravel
YashGhantala 2020-06-03 09:01:49
GTLeader 2020-06-03 08:44:21
Hello.
Please am new to Laravel… Just downloaded Laravel 7. Is there any other authentication scripts apart from the one provided in Laravel/UI. I am looking for something pretty advance for my project. Also I have my custom signup/sign-in bootstrap template already and won’t be needing the one provided by Laravel

Use manual authentication

GTLeader 2020-06-03 09:15:45
YashGhantala 2020-06-03 09:01:49
Use manual authentication

Do you mean I will have to create the authentication from scratch?

YashGhantala 2020-06-03 09:16:15
Just stackoverflow it
2020-06-03 12:08:55
how to pass data to a route from view(.blade.php)
2020-06-03 12:09:21
Example I want to pass email address passed to my route
2020-06-03 12:11:01
laravel_discuss-39840.jpg

2020-06-03 12:11:31
laravel_discuss-39841.jpg

2020-06-03 12:13:16
I want to access the suppEmail value in my routes
2020-06-03 12:49:52
laravel_discuss-39846.jpg
Who know about this error.
I created a view and a controller.
I want to upload multiple images for products and projects.
My table is:
Id
Product-id
Project-id
Image-name
2020-06-03 12:51:01
How i can make relation between these2 tables: product and project??
2020-06-03 12:52:52
And how i fix this error
cayetanohosma 2020-06-03 12:55:59
I understand that one project could have many projects, and in that case the relationship should be, in projects model
public function products()
{
return $this->hasMany(Products::class);
}
and in products model
public function project()
{
return $this->HasOne(Project::class);
}

Anyway, you must have a look to the Laravel documentation. This is so clear in that kinda matters

https://laravel.com/docs/7.x/eloquent-relationships#one-to-many

2020-06-03 12:59:31
I see.
Thanks dear
amosvictor97 2020-06-03 13:18:59
hi. How can i redirect an user from x.x.x.x to x.x.x.x/project_name/public/
I have full access ti the server and its apache with centos 7
cayetanohosma 2020-06-03 13:21:49
Why don’t you use redirect() method?
rahman_rezaee 2020-06-03 13:27:50
how convert shamsi data to meladi date if already face this problem please help me
2020-06-03 13:29:20
laravel_discuss-39858.jpg

2020-06-03 13:29:54
rahman_rezaee 2020-06-03 13:27:50
how convert shamsi data to meladi date if already face this problem please help me

I think i saw your problem in this tutorial

Dhana 2020-06-03 14:06:58
How to do logout function in laravel api..
MishalLeo 2020-06-03 14:27:21
What laravel sanctum do?
Roham0010 2020-06-03 14:37:53
MishalLeo 2020-06-03 14:27:21
What laravel sanctum do?

Docs explained it well
It’s for api/spa authentications

Roham0010 2020-06-03 14:39:22
Dhana 2020-06-03 14:06:58
How to do logout function in laravel api..

Just remove token from your client isn’t that enaugh?

Roham0010 2020-06-03 14:40:43
rahman_rezaee 2020-06-03 13:27:50
how convert shamsi data to meladi date if already face this problem please help me

Use morilog/jalali package

Dhana 2020-06-03 14:46:04
laravel_discuss-39865.jpg

Dhana 2020-06-03 14:47:14
Roham0010 2020-06-03 14:39:22
Just remove token from your client isn’t that enaugh?

I tried this one…๐Ÿ‘†but I member function token null

nimit 2020-06-03 15:14:42
Chance to win 12-month laracasts.com subscription

How to participate in giveaway?
1. Visit https://codepuzzle.app/campaign/10-days-challenge/
2. Click on “Start Now”
3. Play 5 puzzles
4. Repeat playing 5 puzzles daily for 10 days during the campaign (any 10 days between 1st and 14th June)

5 lucky winners from the list of eligible players will be chosen randomly.
Winner will be announced on 15th June.

Code Puzzle is a platform for improving code reading skills. As developers we found, it can be quite overwhelming to start on a new project due to the size of the code base – the Code Puzzle Beta launch is our first step in addressing this issue. Currently only Java and PHP puzzles are supported; support for more languages coming soon.

Nothing prepares a developer like mastering the art of reading code!

10 Days Challenge | Code Puzzle | Best Platform for Learning Open SourceCode Puzzle | Best Platform for Learning Open Source
๐Ÿ“†Starting 1st June (Monday) ๐Ÿ‘พ Play 5 puzzles ๐Ÿ” Repeat for 10 days ๐Ÿ† Win 12-month Laracasts subscription | ๐Ÿ“ฃ Winners announced on 15th June (Monday)
Kriti Agarwal 2020-06-03 15:29:20
VLidation to accept only 0 and 1 in laravel?
Arun Sain 2020-06-03 16:36:28
How i implement video call and audio call using webrtc in laravel any tutorial for this
flyingdragons 2020-06-03 16:45:08
https://stackcoder.in/posts/detect-adblocker-with-javascript-and-increase-website-ads-revenue
Detect AdBlocker With Javascript And Increase Website Ads Revenue

Detect AdBlocker With Javascript And Increase Website Ads Revenue | StackCoderStackCoder
In this article, I will show you how to detect if the browser has AdBlocker plugins enabled. If it’s enabled then how to request your website visitors not to block ads and increase your Ads Revenue.
flyingdragons 2020-06-03 16:47:14
amosvictor97 2020-06-03 13:18:59
hi. How can i redirect an user from x.x.x.x to x.x.x.x/project_name/public/
I have full access ti the server and its apache with centos 7

You want all the users to redirect of only specific

MishalLeo 2020-06-03 16:48:40
Roham0010 2020-06-03 14:37:53
Docs explained it well
It’s for api/spa authentications

If itโ€™s for api/spa authentication right

MishalLeo 2020-06-03 16:49:04
But i wanted to know that if we use login using api
MishalLeo 2020-06-03 16:49:29
So it is possible or not
rahman_rezaee 2020-06-03 16:53:49
Roham0010 2020-06-03 14:40:43
Use morilog/jalali package

Tanx for replay i found the answer

amosvictor97 2020-06-03 17:20:21
flyingdragons 2020-06-03 16:47:14
You want all the users to redirect of only specific

no. All the users. When someone enter the ip adress he will redirect to the laravel project folder. Perhaps i can use .htaccess or something like that to do it๐Ÿค”

devmansurov 2020-06-03 17:22:19
Hi. Please look to function which call class with methods. Maybe I’ve any errors in function logic or this function can be wrote shortly and works faster. Thanks!

/**
* @param $class
* @param mixed …$args
* @return mixed
* @throws ReflectionException
*/
public static function call($class, …$args)
{
$method = $args[0][‘method’] ?? null;
$params = $args[0][‘params’] ?? null;

if(class_exists($class)) {
$object = new $class;
if(!$method) {
return new $class($params);
} else if(method_exists($object, $method)) {
$reflectionMethod = new ReflectionMethod($object, $method);
if($reflectionMethod->isStatic()) {
return call_user_func([$object, $method, $params]);
} else {
return $object->{$method}($params);
}
}
throw new Exception(“Method ‘$method’ doesn’t exists in “.get_class($object).” class”);
} else if(!class_exists($class)) {
throw new Exception(“Class ‘$class’ doesn’t exists”);
} else {
throw new Exception(“Oops… Something went wrong!”);
}
}

#php #codereview #performance

flyingdragons 2020-06-03 17:23:06
amosvictor97 2020-06-03 17:20:21
no. All the users. When someone enter the ip adress he will redirect to the laravel project folder. Perhaps i can use .htaccess or something like that to do it๐Ÿค”

Yes you have achieve it via .htaccess If its temporary redirect then use 307 redirect. If its permanent redirec then use 301 (Just status codes) redirect.

amosvictor97 2020-06-03 17:23:44
flyingdragons 2020-06-03 17:23:06
Yes you have achieve it via .htaccess If its temporary redirect then use 307 redirect. If its permanent redirec then use 301 (Just status codes) redirect.

have you an exemple of a .htaccess file ?

flyingdragons 2020-06-03 17:25:19
Redirect from_ip_address to_ip_address
|