laravel-8 Questions
3
Solved
I have installed Laravel 8 on my Linux Mint 20 for my personal experiment so I'm new on Laravel's new version. I've searching many source how to show tables with CRUD method so the table is shown i...
4
Solved
I have this new Laravel project to work on. We would like to make it available in multiple languages.
I started the project with JetStream. Routes for authentication and such are automatically hand...
Arteriovenous asked 22/9, 2020 at 20:0
4
Solved
I am working on a Laravel 8 Framework,
I have added the application on the live Cpanel server and then it started showing below Error:
419 PAGE EXPIRED
I know generally missing CSRF token wil...
2
Solved
I am working on a Laravel 8 application. I need to use Route::is for multiple routes, like this
@if(Route::is('user') or Route::is('register') or Route::is('login'))
Do something
@endif
The goal
...
Feliciafeliciano asked 28/3, 2022 at 11:19
7
Solved
I need to disable my register route in Laravel 8. Tried
Auth::routes([
'register' => false,
'login' => false,
]);
but the application threw up an error.
RuntimeException
In order to use th...
3
Solved
Iam getting this error in Laravel 8 and Name: PHP Intelephense 1.7.1 installed.
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Request;
c...
32
Solved
Here is my controller:
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class RegisterController extends Controller
{
public functi...
Litterbug asked 9/9, 2020 at 8:41
3
Solved
I use the guzzlehttp/guzzle package in Laravel 8. After upgrading to PHP 8, I get:
Symfony\Component\ErrorHandler\Error\FatalError: Invalid opcode 117/2/0. in file ../vendor/defuse/php-encryption/...
5
This described in the class Laravel\Fortify\Http\Requests\LoginRequest
I want to add one more validation line
namespace Laravel\Fortify\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
u...
3
I installed L8, Sanctum, and Fortify for authentication. I was able to /login (used a Pre-request Script to set the X-XSRF-TOKEN). I even get the /api/user successfully. But when I do /logout, I ge...
Strychnine asked 1/3, 2021 at 15:45
4
I am trying to remove Fortify and Jetstream packages from Laravel so I removed them from App. Providers, from composer.json (require section), Actions, Config, vendor. Then I run composer update an...
Polyzoarium asked 2/3, 2021 at 13:39
6
I'm trying to create a simple laravel project and I'm following a laracast to set up the project with Sail. The project is running fine and I was able to migrate with vendor/bin/sail artisan migrat...
Farfamed asked 17/1, 2021 at 13:24
2
Solved
I'm working with Laravel 8 to develop my project, and in this project, I have made this method to return latest data from the DB, limiting 5 results:
public function index()
{
$posts = Blog::all(...
2
Solved
I have a Laravel API.
The front end application is completely separate from Laravel.
All Laravel routes are located in routes/api.php
Is there any way to make the Laravel Debugbar work in this case...
7
Solved
I have installed a new Laravel 8 application, and then I ran...
npm install
Afterward, I ran...
npm run dev
I get the following error.
'mix' is not recognized as an internal or external command
...
Soothfast asked 18/1, 2021 at 17:33
7
Solved
Today morning suddenly I started getting this popup whenever I ran Vagrant up in my Mac.
VirtualBox version 7.0.4 r154605 (Qt5.15.2).
macOS v12 (Monterey), MacBook Pro (Retina, 15-inch, Mid...
3
I am working on a laravel reactjs project and when I run the command npm run dev the compilation stuck at 95% and give the following error. I checked in the whole project there is no file calling w...
4
Solved
I am just doing my very first steps with Laravel 8 and found a problem that I can not solve.
/var/www/html/laravel/resources/views/dashboard.blade.php:
<div class="py-12">
<div...
Greeson asked 22/11, 2020 at 12:37
8
Category Model
class Category extends Model
{
use HasFactory;
protected $fillable= ['name','number'];
public function news(){
return $this->hasMany(News::class);
}
News Model
class News ex...
6
Solved
I'm still exploring Laravel 8 but I have a problem with my controller's store() method 'not defined.'
InvalidArgumentException Action PostsController@store not defined.
(View: D:\Server\htdocs\app...
Lewandowski asked 10/9, 2020 at 18:46
1
Solved
I am new to Laravel. I want to connect to MongoDB using Laravel 10 which require jenssegers/mongodb to be installed. When I run command composer require jenssegers/mongodb 3.8.0 --ignore-platform-r...
Endometrium asked 27/2, 2023 at 7:55
2
Solved
I'm getting an error in mailhog while sending an email.
Error:
Connection could not be established with host mailhog :stream_socket_client(): unable to connect to null://mailhog:1025 (Unable to fin...
2
Recently, we upgraded our Laravel application from 5.6 to Laravel 8.18.1. We use cookie decryption in the RouteServiceProvider.php.
HomeController.php
Cookie::queue("channel", "mobi...
Cacodemon asked 11/12, 2020 at 7:5
4
Solved
I'm having a problem related to 429 TOO MANY REQUESTS. I have used Laravel fortify and my web route is like
Route::get('/', function () {
return view('welcome');
});
Route::get('/dashboard','Dash...
3
Solved
I have upgraded Laravel version from 5.7 to 8.34. I'm getting this error for all artisan commands.
© 2022 - 2025 — McMap. All rights reserved.