{"repo":"spatie/laravel-welcome-notification","free":true,"listed":false,"github":"https://github.com/spatie/laravel-welcome-notification","clone":"git clone https://github.com/spatie/laravel-welcome-notification.git","description":"Send a welcome notification to new users","language":"PHP","stars":597,"topics":["laravel","auth","welcome","mail","password","security","onboarding"],"license":"MIT","category":"security-tools","readme_excerpt":"Send a welcome notification to new users Using this package you can send a WelcomeNotification to a new user of your app. The notification contains a secure link to a screen where the user can set an initial password. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: Migrating the database You must publish the migrations provided by this package by executing this command: Next, you must migrate your database. Preparing the user model You must apply the \\Spatie\\WelcomeNotification\\ReceivesWelcomeNotification trait to your User model. Preparing the WelcomeController Next you'll need to create a controller of your own that will extend Spatie\\WelcomeNotification\\WelcomeController . This controller will be used to show the welcome form and to save the password set by a user. Registering the routes You'll have to register these routes: Preparing the welcome form view The welcome view that ships with the package, will be rendered when somebody clicks the welcome link in the welcome notification mail. You should style this view yourself. You can publish the views with this command: Usage Here's how you can send a w","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-welcome-notification/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}