This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

Custom Fresh

Create exceptions for tables that do not need to be dropped

This release adds `--database`, `--keep`, and `--explain` options, publishable configuration support, lifecycle events, glob-pattern table retention, and safer migration handling. It also fixes migration discovery, improves alter migration detection, avoids unnecessary database bootstrapping on every Artisan call, and greatly improves overall reliability and performance. πŸ’š

Top comment

πŸš€ New Custom Fresh Release

This release introduces safer database refresh workflows, improved migration handling, lifecycle events, configurable retention rules, and major internal stability improvements.

✨ Added

  • Added the --database= option and forwards it directly to the underlying migrate command.

  • Added the --keep= flag as an alias for the positional argument with glob pattern support, like:

    • oauth_*

    • cache_*

  • Added the --explain dry-run mode to preview actions without modifying the database.

  • Added a publishable custom-fresh.php configuration file supporting:

    • always_keep

    • patterns

    • confirm_in

  • Added lifecycle events:

    • RefreshingDatabase

    • TablesDropped

    • DatabaseRefreshed

  • Wrapped migrations table resets inside a foreign-key-disabled block for safer execution.

  • Replaced substr() usage with pathinfo() for more reliable migration name extraction.

  • Updated command responses to use:

    • Command::SUCCESS

    • Command::FAILURE

  • Improved and clarified the command argument descriptions.

πŸ›  Fixed

  • Deferred database and filesystem bootstrapping from __construct() to handle() so the package no longer connects to the database during every Artisan command execution.

  • Fixed migration discovery by replacing fragile filename heuristics with real Schema::* parsing.

  • Improved alter migration detection to capture all matching migrations correctly.

  • Added support for scanning nested and registered migration paths during migration discovery.

πŸ’š This release makes Custom Fresh safer, more configurable, and significantly more reliable for complex Laravel database workflows.

About Custom Fresh on Product Hunt

β€œCreate exceptions for tables that do not need to be dropped”

Custom Fresh was submitted on Product Hunt and earned 4 upvotes and 1 comments, placing #62 on the daily leaderboard. This release adds `--database`, `--keep`, and `--explain` options, publishable configuration support, lifecycle events, glob-pattern table retention, and safer migration handling. It also fixes migration discovery, improves alter migration detection, avoids unnecessary database bootstrapping on every Artisan call, and greatly improves overall reliability and performance. πŸ’š

On the analytics side, Custom Fresh competes within Open Source, GitHub and Database β€” topics that collectively have 111.8k followers on Product Hunt. The dashboard above tracks how Custom Fresh performed against the three products that launched closest to it on the same day.

Who hunted Custom Fresh?

Custom Fresh was hunted by Mahmoud Ramadan. A β€œhunter” on Product Hunt is the community member who submits a product to the platform β€” uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

For a complete overview of Custom Fresh including community comment highlights and product details, visit the product overview.