Someone work with laradock and know where to change the session timeout of phpmyadmin from 1440 to 99999999?
This issue how to fix?
Do you mean I will have to create the authentication from scratch?
What laravel sanctum do?
How to participate in giveaway?
VLidation to accept only 0 and 1 in laravel?
htaccess file ?
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.
Thanks

This issue how to fix? Please help me in laravel 5.8
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
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
Do you mean I will have to create the authentication from scratch?



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
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
Thanks dear
I have full access ti the server and its apache with centos 7

I think i saw your problem in this tutorial
Docs explained it well
It’s for api/spa authentications
Just remove token from your client isn’t that enaugh?
Use morilog/jalali package

I tried this one…๐but I member function token null
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!
๐Starting 1st June (Monday) ๐พ Play 5 puzzles ๐ Repeat for 10 days ๐ Win 12-month Laracasts subscription | ๐ฃ Winners announced on 15th June (Monday)
Detect AdBlocker With Javascript And Increase Website Ads Revenue
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.
I have full access ti the server and its apache with centos 7
You want all the users to redirect of only specific
It’s for api/spa authentications
If itโs for api/spa authentication right
Tanx for replay i found the answer
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๐ค
/**
* @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
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 ?