dyrynda/founder
Laravel package for designating an application founder and keeping that account protected. It provides model traits and helpers to identify founders, prevent their deletion or demotion, and ensure your app always retains a founder user.
Founder is not a library you composer require into an existing app — it is a project skeleton (composer create-project dyrynda/founder my-app). You adopt it exactly once, at project birth, and from that moment it is your codebase.
Minimal steps:
composer create-project dyrynda/founder my-app
cd my-app
cp .env.example .env
php artisan key:generate
# configure DB + Redis (Horizon/Telescope assume Redis by default)
php artisan migrate --seed
npm ci && npm run dev
php artisan serve
Where to look first, in order:
composer.json — this is the real feature manifest. Read require and require-dev to see which opinionated extras (Horizon, Telescope, Sanctum, Debugbar, IDE Helper, Larastan, Pint/CS-Fixer, etc.) are pre-wired.README.md — setup caveats specific to the skeleton..env.example — the config surface you must actually fill in.app/Providers/ and config/ — where the starter's opinions live.routes/ and .github/workflows/ — routing shape and pre-baked CI.First use case: spin up a new API or SPA with auth, queues, and observability already configured, then delete everything you don't need before writing feature one.
git remote add upstream https://github.com/michaeldyrynda/founder.git
git fetch upstream
git cherry-pick <sha> # never a merge after your first feature commit
create-project, remove unused stacks (e.g. Horizon/Telescope if you're on sync/database, or the frontend build if the app is API-only). Dead starter code rots faster than code you wrote.local in their service providers and use them as your primary debugging surface instead of dd().config/services.php.config/horizon.php supervisors per environment (web vs. worker pools).TELESCOPE_ENABLED, APP_DEBUG, and Horizon's environments array as the first things you audit before any deploy.create-project from your fork.composer update dyrynda/founder. The package version is irrelevant after scaffolding. Framework upgrades are ordinary Laravel upgrades.composer update, bump PHP, and walk the Laravel upgrade guide — or use Founder purely as reference architecture instead of a starting point.database or sync, disable or remove them; otherwise you get confusing boot-time or dispatch failures.TelescopeServiceProvider / HorizonServiceProvider — if they register unconditionally, guard with $this->app->environment('local').require-dev, and that production builds run composer install --no-dev --optimize-autoloader.SANCTUM_STATEFUL_DOMAINS doesn't match your dev host and port (e.g. localhost:8000)..nvmrc and in CI.config/*, events, and your own app/ namespace. There is nothing Founder-specific to hook into.How can I help you explore Laravel packages today?