Installation
Requirements
Section titled “Requirements”- PHP 8.4 or newer, and Composer
- Node.js 22 or newer, and npm
- SQLite (the default) or MySQL
Creating an app
Section titled “Creating an app”Use the Laravel installer:
laravel new my-app --using=monciego/tachi-kitOr Composer directly:
composer create-project monciego/tachi-kit my-appEither way, Composer runs the kit’s install scripts for you:
- Copies
.env.exampleto.env. - Generates
APP_KEY. - Creates
database/database.sqlite. - Runs the migrations.
- Seeds the roles and permissions (
RolePermissionSeeder). No demo users are created.
Then install the frontend, link storage (needed for avatars) and start the app:
cd my-appnpm installphp artisan storage:linkcomposer devcomposer dev runs php artisan dev, which starts the PHP server and Vite together. The app URL is APP_URL in .env (http://localhost:8000 by default).
Working from a clone
Section titled “Working from a clone”If you cloned the repository instead of using create-project, one command does everything:
composer setupIt runs composer install, creates .env, generates the key, migrates, links storage, and runs npm install and npm run build.
Demo data
Section titled “Demo data”To explore the kit with realistic data, seed the demo accounts:
php artisan db:seedThis creates the accounts below, plus 50 members spread over the past year so the dashboard chart has something to show. Every account’s password is password.
| Role | |
|---|---|
superadmin@tachikit.com |
superadmin |
superadmin2@tachikit.com |
superadmin |
administrator@tachikit.com |
admin |
admin@tachikit.com |
admin |
Using MySQL
Section titled “Using MySQL”SQLite works out of the box. To use MySQL, create a database, update .env, then migrate and seed the roles:
DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=tachikitDB_USERNAME=rootDB_PASSWORD=php artisan migratephp artisan db:seed --class=RolePermissionSeederNext steps
Section titled “Next steps”- Review the configuration options, especially whether anyone can sign up.
- Read the development workflow for the everyday commands and quality gates.