Development with Laravel Herd
Herd can supply the local PHP runtime and web server. Select PHP 8.4+ compatible with this release, and install Composer, Node.js 24+ and pnpm. Use a local database supported by the application.
Create the workspace
git clone --branch 2.4.6 --depth 1 https://github.com/InvoiceShelf/InvoiceShelf.git invoiceshelf-v2
cd invoiceshelf-v2
cp .env.example .env
composer install
corepack enable
pnpm install --frozen-lockfile
php artisan key:generate
pnpm build
Register the checkout as a site in Herd using its site manager. Confirm the detected Laravel document root is public/, then set APP_URL to the site’s actual URL. Use the same hostname consistently so session cookies and CSRF checks match.
Database and setup
Configure a dedicated database in .env. For SQLite, create a writable file and provide its absolute path. Open the site and complete the browser installer. Do not run destructive reset commands on a database shared with another local project.
Frontend work
Run pnpm dev while changing Vue files, or run pnpm build to inspect compiled output. If the page references a stopped Vite server, stop development mode cleanly and rebuild the production assets.
The application setup and dependency commands match the pinned source release; Herd’s platform-specific installation is managed by Herd. Check the PHP binary used by your terminal as well as the one selected for the site when Composer reports a runtime mismatch.