i am working on laravel dates and i want laravel to give notification a day before or the same selected day in database how can i do that here is a part of my code : here is my controller i save remember_date in phonebook model
public function index()
{
$current_time = Verta::now();
$phonebooks = Phonebook::with('client')->get();
return view('admin.phonebooks.index', compact('phonebooks'))->with('current_time',$current_time);
}
and here is the migration of my phonebooks table
public function up()
{
Schema::create('phonebooks', function (Blueprint $table) {
$table->increments('id');
$table->text('title');
$table->longText('description');
$table->integer('client_id');
$table->dateTime('calldate');
$table->dateTime('rememberdate');
$table->timestamps();
});
}
now i want to give notification to call the client 1 day before or the day which is stored in rememberdate .