-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Akayashuu edited this page Jun 12, 2026
·
2 revisions
Minimal, self-contained example apps for Takt — a privacy-friendly, self-hosted analytics SDK — one per framework, for both JavaScript and PHP. Each app consumes the real published package and builds in CI.
Copy any folder, run it, and adapt.
| Folder | Package | Stack |
|---|---|---|
vanilla |
@vskstudio/takt-core |
Vite + TypeScript, no framework |
react |
@vskstudio/takt-react |
Vite + React |
vue |
@vskstudio/takt-vue |
Vite + Vue 3 |
svelte |
@vskstudio/takt-svelte |
Vite + Svelte 5 |
solid |
@vskstudio/takt-solid |
Vite + SolidJS |
angular |
@vskstudio/takt-angular |
Angular 20 standalone |
astro |
@vskstudio/takt-astro |
Astro 5 integration |
cd react # or any JS folder
npm install
npm run dev # local dev
npm run build # type-check + production build| Folder | Package | Stack |
|---|---|---|
php |
vskstudio/takt-core-php |
Plain PHP 8.1+, no framework |
laravel |
vskstudio/takt-laravel |
Laravel 11/12 |
symfony |
vskstudio/takt-symfony |
Symfony 6.4/7 bundle |
cd laravel # or php / symfony
composer install
composer run build # resolves the published package and renders the snippetThe PHP examples render the browser snippet server-side; see each folder's track.php / controller for sending server-to-server events.
Each example sets excludeLocalhost: false so events fire during local development (Takt's privacy default is true). Point endpoint at your own Takt instance to collect them.
JavaScript
-
vanilla·react·vue -
svelte·solid·angular·astro
PHP
-
php·laravel·symfony
Packages