Methods with the same name as their class will not be constructors in a future version of PHP; Whois has a deprecated constructor

Hello, can anyone help know How I can fix the above problem, it is happening when I call ```require $this->basePath . '/bootstrap/autoload.php';...
00

Problems calling relationships in Laravel

I'm getting problems calling relationships in laravel, I have 4 tables: users, tickets, stores, statuses. and I have a @OneTo...
00

Migrating to Laravel

Hello everyone, I decided to migrate old custom php SAAS sistem to Laravel for better coding experience, easier maintaining and expanding of...
00

Out of the box: FAILURES! Tests: 1, Assertions: 1, Failures: 1.

Hi; phpunit tests/Feature/ExampleTest.php PHPUnit 7.4.1 by Sebastian Bergmann and contributors. F...
00

This getting me nothing

public function index() { $posts = Post::latest(); if($month = request('month')) { $posts->whereMonth('created_at', Ca...
00

Storage::url() not showing complete url from S3

I have a code to upload an image to s3, it's working fine: $path = $request->file('logo')->store('logos'); Storage::setVisibility($pat...
00

Use Case questions

I have a project where Laravel Spark feels like the perfect starting point. I have searched Google for some examples of use cases but as yet have...
00

Scheduler Issue

Hi, I'm scheduling a command like this: $monitors = app(Monitor::class)->all(); foreach ($monitors as $monitor) {...
00

New Vuex.Store() returns Uncaught ReferenceError: t is not defined in console at public/app.js

I am using Laravel with webpack that builds all my js in a single file and when I want to initialize the Vuex Store in the app.js in the resources...
00

elasticsearch not accessible on port 9200 on Homestead

Hi, I would like to experiment with elasticsearch. But I can not get it working on my Homestead vagrant box. What did I do:...
00

Authenticate users into a Laravel App using Lumen Endpoint

I'm building a few micro services using Lumen and a Laravel App (API Composer). Basically the API composer will consume data from microservices end...
00

Laravel Nova Redirect to a user-defined path after loggindg in

Is there a way to define a path to redirect a user to after logging in? Ideally, I want to redirect a user to /admin/dashboard/users...
00

Divide a column by another column created from Sub query

I've this query - $employees = Employee::where('user_id', $user->id)->withCount([ 'answers as ques...
00

Laravel Nova partition metrics count query

Hi everyone! I'm fairly new on Laravel and currently working on a project using Laravel Nova. I want to use the partition metrics to display the pe...
00

Laravel Passport doesn't generate tokens

I'm using Laravel as back-end for my ionic application, and Laravel Passport for authentication. When I try to call createToken() of Auth it shows,...
00

How to get uploaded Image Throw Api request in Vue

How to get uploaded Image Throw Api request in Vue image Upload by laravel...
00
00

Laravel Passport TokenMismatchException 'Unauthenticated'

I am trying to use Laravel Passport the latest version, but i am getting 'Unauthenticated' when trying to view the domain.com/api/user/ (default ro...
00

why my css code is not working in vuejs?

I've got problem with css in VueJs. Sorry for poor description, but I have no idea what I'm doing wrong. My css in style scoped works genera...
00

Get registration data

I use Laravel 5.6 Spark 6. I added new field in registration form. When sending a new field is displayed in the request. I need to understand where...
00