Could someone help me?
did you checked the routes?
Do you know which site has databases ready for Ravel?
can anyone help me ?
Where is the error usually located?
How is not not working?
Do you mean Laravel?
did you add hosts?
auth()->user()->username
what is the error?
There is no error, when I enter the address corresponding to the service it considers that I entered localhost:8000 so it sends me back to the home page.
may be it depends on routes
Am using this $results=DB::table(‘ussd_seconds’)
->select(‘ussd_seconds.buy_once_544′,’ussd_seconds.records_date’)
->join(‘ussd_thirds’,’ussd_thirds.id’,’=’,’ussd_seconds.id’)
->where([‘id >0’])
->get();
I don’t think so. Search on github
https://github.com/Maatwebsite/Laravel-Excel
π Supercharged Excel exports and imports in Laravel – GitHub – SpartnerNL/Laravel-Excel: π Supercharged Excel exports and imports in Laravel
http://usefullaravelpackages.com
Airlock has been renamed to Sanctum: https://blog.laravel.com/airlock-renamed-to-sanctum
We take a look at using Laravel Airlock to authenticate our Single Page Application in Vue. Airlock provides a lightweight authentication system relying on Laravel’s built-in cookie-based session authentication services. We use a Vue CLI application to scaffold out the front-end and a Laravel 7 application for the backend. We also make use of Tailwind UI components, look at navigation guards in Vue and do some basic validation.
GitHub Repo for Laravel: https://github.com/drehimself/airlock-example
GitHub Repo for Vue: https://github.com/drehimself/vue-airlock-example
If you want to do Mobile Auth, I did a video on that too: https://www.youtube.com/watch?v=o1iSwdjBt-Q
This article helped me out a lot: https://serversideup.net/using-laravel-airlock-with-nuxtjs/
This doesn’t seem to work in Safari. Did some digging and it looks like Safari does NOT send the cookies when making a request to /login, resulting in errors. The cookies do exist though. Will update description if I find a solution. Here is a thread where someone has the same issues: https://stackoverflow.com/questions/53082080/safari-does-not-set-cookie-but-chrome-and-firefox-do. If you figure out a solution, please let me know :).
# LINKS
My courses: https://codewithdre.com
Sign up for my newsletter: http://andremadarang.com/newsletter
My website: http://andremadarang.com
Twitter: http://twitter.com/drehimself
GitHub: http://github.com/drehimself
CodePen: http://codepen.io/drehimself
I have a problem about using pusher
I do not know what happened. When inputting data, this is what appears. Where is the error usually located?

419 page expired
In the controller.
Ravel?
Do you mean Laravel? What is Laraville?

here is it
I went for bilinguals, but the problem is in choosing languages ββon the home page like the site.
What I changed is the following code, but nothing happened to me when I clicked on the <kbd> English </kbd> link.
app/Providers/RouteServiceProvider.php
protected function mapWebRoutes($request)
{
$local = request()->segment(1);//IN
app()->setLocale($local);//IN
$local = $request->segment(1);
if (!array_key_exists($local, config(‘app.locales’))){
$segments = $request->segments();
$segments[0] = config(‘app.fallback_locale’);
return redirect(implode(‘/’, $segments));
}
app()->setLocale($local);
Route::middleware(‘web’)
->namespace($this->namespace)
->prefix($local)//IN
->group(base_path(‘routes/web.php’));
}web.php
Route::view(‘/’, ‘index’);
index.blade.php
<!doctype html>
<html lang=”fa” dir=”rtl”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link type=”text/css” rel=”stylesheet” href=”{{ asset(‘public/assets/lib/bootstrap-4.3.1-dist/bootstrap-rtl.min.css’) }}”>
<link type=”text/css” rel=”stylesheet” href=”{{ asset(‘public/assets/css/style.css’) }}”/>
<title>Select your lang</title>
</head>
<body>
<div class=”container”>
<a href=”/ar”>Arabic</a>
<a href=”/fa”>Farsi</a>
<a href=”/en”>English</a>
</div>
</body>
</html>
But I get this error…
>Too few arguments to function AppProvidersRouteServiceProvider::mapWebRoutes(), 0 passed in C:xampphtdocsurmiahardwareblogappProvidersRouteServiceProvider.php on line 71 and exactly 1 expected
I went for bilinguals, but the problem is in choosing languages ββon the home page like the site.
What I changed is the following code, but nothing happened to me when I clicked on the <kbd> English </kbd> link.
app/Providers/RouteServiceProvider.php
protected function mapWebRoutes($request)
{
$local = request()->segment(1);//IN
app()->setLocale($local);//IN
$local = $request->segment(1);
if (!array_key_exists($local, config(‘app.locales’))){
$segments = $request->segments();
$segments[0] = config(‘app.fallback_locale’);
return redirect(implode(‘/’, $segments));
}
app()->setLocale($local);
Route::middleware(‘web’)
->namespace($this->namespace)
->prefix($local)//IN
->group(base_path(‘routes/web.php’));
}web.php
Route::view(‘/’, ‘index’);
index.blade.php
<!doctype html>
<html lang=”fa” dir=”rtl”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link type=”text/css” rel=”stylesheet” href=”{{ asset(‘public/assets/lib/bootstrap-4.3.1-dist/bootstrap-rtl.min.css’) }}”>
<link type=”text/css” rel=”stylesheet” href=”{{ asset(‘public/assets/css/style.css’) }}”/>
<title>Select your lang</title>
</head>
<body>
<div class=”container”>
<a href=”/ar”>Arabic</a>
<a href=”/fa”>Farsi</a>
<a href=”/en”>English</a>
</div>
</body>
</html>
But I get this error…
>Too few arguments to function AppProvidersRouteServiceProvider::mapWebRoutes(), 0 passed in C:xampphtdocsurmiahardwareblogappProvidersRouteServiceProvider.php on line 71 and exactly 1 expected
protected function mapWebRoutes(Request $request)
This error occurred in the image below.

did you add hosts?
Answer my question