PHP code example of wprigollopes / laravel-tombstone
1. Go to this page and download the library: Download wprigollopes/laravel-tombstone library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wprigollopes / laravel-tombstone example snippets
class LegacyExportController extends Controller
{
public function export(Request $request)
{
tombstone('2025-03-01');
// ... old export logic
}
}
class SyncInventoryJob implements ShouldQueue
{
public function handle()
{
tombstone('2025-03-01');
// ... was this job ever dispatched after the migration?
}
}
class GenerateMonthlyReport extends Command
{
public function handle()
{
tombstone('2025-03-01');
// ... is this command still in any cron schedule?
}
}