Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ethor88's avatar

Spark Login and Register pages not working

I just installed a fresh Laravel Spark app. Here are the customizations I added to the SparkServiceProvider

    public function booted()
    {
        Spark::noAdditionalTeams();
        Spark::identifyTeamsByPath();
        Spark::noCardUpFront()->teamTrialDays(10);

        Spark::freeTeamPlan()
            ->features([
                'First', 'Second', 'Third'
            ]);

        Spark::teamPlan('Basic', 'provider-id-1')
            ->price(10)
            ->features([
                'First', 'Second', 'Third'
            ]);
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        Spark::ensureEmailIsVerified();
        parent::register();
    }

I ran npm install, composer install, and migrate. The spark landing page works, but I get an error on the login and register pages.

Login Error Trait 'Illuminate\Foundation\Auth\AuthenticatesUsers' not found

Register Error Trait 'Illuminate\Foundation\Auth\RedirectsUsers' not found

This is my first Spark app with Laravel 7.0 and I'm wondering if there is a bug.

0 likes
5 replies
ethor88's avatar

I found that the Spark app I created was missing multiple files in Illuminate\Foundation\Auth\. I copied the contents of that directory from another project and it worked.

MartinTobias's avatar

Totally new to Laravel. I know a bit of PHP but most of my web development experience has been with Rails, although I've never done anything overly complicated with it either.

I really like the idea of Laravel because it seems like it would be MUCH easier to deploy than Rails and I'm thinking about taking https://sarkariresult.onl/ https://mobdro.onl/ https://pnrstatus.vip/ the plunge and subscribing to Laracasts. So a couple of questions:

Is Laracasts worth it? Are there any better, easily accessible learning resources out there?

Any pre-reqs? Meaning, is there anything I should learn about Laravel first before starting Laracasts?

Is there any sort of roadmap or proper viewing order other than starting with #1?

ethor88's avatar

Laracasts is absolutely worth it IMO. I have yet to find any learning videos that are easier to digest. They have videos that cover everything about Laravel, but they go over other things, like Vue. A month ago I went through the Rails documentation and built their blog example and there are a lot of basic similarities between the frameworks.

You may be able to read through the documentation and figure the basics out rather than going through each video starting from the beginning. Once you are through that, you could watch videos specific to the questions you have (i.e videos specific to how Eloquent works). I really don’t think you can go wrong starting with either one, but this is what I would try if I was picking up a new framework.

tomschlick's avatar
Level 9

@ethor88 installing the laravel/ui repo via composer should fix the auth error for laravel 7.

2 likes

Please or to participate in this conversation.