Git Product home page Git Product logo

Comments (4)

jrean avatar jrean commented on July 17, 2024 1

@burhanmt
https://github.com/jrean/laravel-user-verification

from laravel-user-email-verification.

guncloud avatar guncloud commented on July 17, 2024

ya same here, even publish didnt work

from laravel-user-email-verification.

parth-vora-7 avatar parth-vora-7 commented on July 17, 2024

Not working with Laravel 5.3
Command php artisan verification:make
gives:
Migrations created successfully!
Installed VerifyController
Updated routes.php

[ErrorException]
file_get_contents(/var/www/html/l5/app/Http/routes.php): failed to open stream: No such file or directory

from laravel-user-email-verification.

burhanmt avatar burhanmt commented on July 17, 2024

Yes because it is not compatible for Laravel 5.3 because of the laravel's folder structure changes in 5.3. From now on route.php is web.php and location is inside routes folder.
So
Find:
vendor/edvinaskrucas/laravel-user-email-verification/src/Krucas/LaravelUserEmailVerification/Console/MakeVerificationCommand.php

than change the appendRoutes function with the below one:

protected function appendRoutes()
{
    $path = base_path('routes/web.php');

    file_put_contents(
        $path,
        file_get_contents($path)."\n\n".file_get_contents(__DIR__.'/stubs/routes.stub')
    );
}

}

After that,
try it php artisan verification:make

That's all !

from laravel-user-email-verification.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.