buzkall / future-letters
Create a mail that will be sent to yourself on a specific date
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/buzkall/future-letters
README
Laravel package used to write letters to you future self, that will be delivered to your inbox on a selected date. To avoid spam, a verification email (only one per day) will be sent when sending as guest.
Installation
-
Install via composer:
composer require buzkall/future-letters
-
Publish files
php artisan vendor:publish --provider='Buzkall\FutureLetters\FutureLettersServiceProvider'
-
After configuring your local database in the .env file, run
php artisan make:auth php artisan migrate
-
Add the command call to the Kernel.php file in app/Console In function schedule add:
$schedule->command('send:future-letters')->everyMinute();
-
Register a user, log in and navigate to /future-letters
You can seed the database with faker data running:
php artisan db:seed --class=Buzkall\\FutureLetters\\FutureLetterSee
You can modify the views which have been copied to the views directory then publishing
Demo
You can use the demo in https://futureletters.aliciarodriguez.me/future-letters