vybekiit 0.7.4 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +10483 -1704
- package/dist/global-skills/aws-cdk/SKILL.md +2 -1
- package/dist/global-skills/aws-cloudformation/SKILL.md +2 -1
- package/dist/global-skills/aws-serverless/SKILL.md +45 -44
- package/dist/global-skills/aws-serverless/assets/powertools-handler.py +2 -1
- package/dist/global-skills/aws-serverless/references/api-gateway.md +50 -470
- package/dist/global-skills/aws-serverless/references/architecture.md +47 -186
- package/dist/global-skills/aws-serverless/references/concurrency.md +44 -158
- package/dist/global-skills/aws-serverless/references/deployment.md +1 -1
- package/dist/global-skills/aws-serverless/references/event-sources.md +72 -391
- package/dist/global-skills/aws-serverless/references/lambda.md +69 -428
- package/dist/global-skills/aws-serverless/references/orchestration.md +65 -384
- package/dist/global-skills/aws-serverless/references/production.md +78 -415
- package/dist/global-skills/aws-serverless/references/troubleshooting.md +92 -619
- package/dist/global-skills/claimable-postgres/SKILL.md +60 -49
- package/dist/global-skills/design-my-data/SKILL.md +2 -0
- package/dist/global-skills/eas-app-stores/SKILL.md +8 -0
- package/dist/global-skills/eas-app-stores/references/play-store.md +2 -0
- package/dist/global-skills/eas-hosting/SKILL.md +8 -0
- package/dist/global-skills/eas-observe/SKILL.md +30 -8
- package/dist/global-skills/eas-observe/agents/openai.yaml +1 -1
- package/dist/global-skills/eas-observe/references/metrics.md +54 -3
- package/dist/global-skills/eas-observe/references/queries.md +78 -17
- package/dist/global-skills/eas-observe/references/setup.md +164 -5
- package/dist/global-skills/eas-observe/references/third-party.md +136 -0
- package/dist/global-skills/eas-simulator/SKILL.md +63 -11
- package/dist/global-skills/eas-simulator/references/controllers.md +21 -2
- package/dist/global-skills/eas-simulator/references/run-your-app.md +16 -11
- package/dist/global-skills/eas-simulator/references/troubleshooting.md +8 -5
- package/dist/global-skills/eas-update-insights/SKILL.md +8 -0
- package/dist/global-skills/eas-workflows/SKILL.md +15 -10
- package/dist/global-skills/eas-workflows/scripts/package.json +2 -7
- package/dist/global-skills/email-best-practices/.github/workflows/sync-skills.yml +30 -0
- package/dist/global-skills/email-best-practices/README.md +63 -0
- package/dist/global-skills/email-best-practices/references/accessibility.md +189 -0
- package/dist/global-skills/email-best-practices/references/compliance.md +125 -0
- package/dist/global-skills/email-best-practices/references/deliverability.md +121 -0
- package/dist/global-skills/email-best-practices/references/email-capture.md +129 -0
- package/dist/global-skills/email-best-practices/references/email-types.md +173 -0
- package/dist/global-skills/email-best-practices/references/list-management.md +157 -0
- package/dist/global-skills/email-best-practices/references/marketing-emails.md +115 -0
- package/dist/global-skills/email-best-practices/references/sending-reliability.md +155 -0
- package/dist/global-skills/email-best-practices/references/transactional-email-catalog.md +418 -0
- package/dist/global-skills/email-best-practices/references/transactional-emails.md +92 -0
- package/dist/global-skills/email-best-practices/references/webhooks-events.md +167 -0
- package/dist/global-skills/email-best-practices/tests/README.md +35 -0
- package/dist/global-skills/email-best-practices/tests/scenarios/01-spam-deliverability.md +46 -0
- package/dist/global-skills/email-best-practices/tests/scenarios/02-multi-region-compliance.md +48 -0
- package/dist/global-skills/email-best-practices/tests/scenarios/03-retry-idempotency.md +36 -0
- package/dist/global-skills/email-best-practices/tests/scenarios/04-webhook-bounce-handling.md +52 -0
- package/dist/global-skills/email-best-practices/tests/scenarios/05-new-saas-email-plan.md +51 -0
- package/dist/global-skills/expo-animation/LICENSE +21 -0
- package/dist/global-skills/expo-animation/RECIPES.md +385 -0
- package/dist/global-skills/expo-animation/SKILL.md +267 -0
- package/dist/global-skills/expo-animation/agents/openai.yaml +4 -0
- package/dist/global-skills/expo-app-clip/SKILL.md +8 -0
- package/dist/global-skills/expo-brownfield/SKILL.md +8 -0
- package/dist/global-skills/expo-brownfield/references/brownfield-isolated.md +53 -4
- package/dist/global-skills/expo-data-fetching/SKILL.md +8 -0
- package/dist/global-skills/expo-design-system/SKILL.md +356 -0
- package/dist/global-skills/expo-design-system/agents/openai.yaml +4 -0
- package/dist/global-skills/expo-design-system/references/audit.md +185 -0
- package/dist/global-skills/expo-dev-client/SKILL.md +8 -0
- package/dist/global-skills/expo-dom/SKILL.md +8 -0
- package/dist/global-skills/expo-examples/SKILL.md +8 -0
- package/dist/global-skills/expo-migrate-module/SKILL.md +113 -0
- package/dist/global-skills/expo-migrate-module/agents/openai.yaml +4 -0
- package/dist/global-skills/expo-migrate-module/references/compatibility.md +73 -0
- package/dist/global-skills/expo-migrate-module/references/example.md +212 -0
- package/dist/global-skills/expo-migrate-module/references/migration-map.md +306 -0
- package/dist/global-skills/expo-module/SKILL.md +11 -1
- package/dist/global-skills/expo-native-ui/SKILL.md +8 -0
- package/dist/global-skills/expo-project-structure/SKILL.md +114 -0
- package/dist/global-skills/expo-project-structure/agents/openai.yaml +4 -0
- package/dist/global-skills/expo-router/SKILL.md +8 -0
- package/dist/global-skills/expo-skill-feedback/SKILL.md +66 -33
- package/dist/global-skills/expo-skill-feedback/agents/openai.yaml +2 -2
- package/dist/global-skills/expo-tailwind-setup/SKILL.md +8 -0
- package/dist/global-skills/expo-ui/SKILL.md +8 -0
- package/dist/global-skills/expo-upgrade/SKILL.md +15 -1
- package/dist/global-skills/expo-web-to-native/SKILL.md +8 -0
- package/dist/global-skills/extension-to-functions-codebase/SKILL.md +129 -0
- package/dist/global-skills/extension-to-functions-codebase/references/configuration-migration.md +161 -0
- package/dist/global-skills/extension-to-functions-codebase/references/destructuring-shim.md +122 -0
- package/dist/global-skills/extension-to-functions-codebase/references/signature-mapping.md +84 -0
- package/dist/global-skills/firebase-ai-logic-basics/SKILL.md +61 -19
- package/dist/global-skills/firebase-ai-logic-basics/references/flutter_setup.md +6 -3
- package/dist/global-skills/firebase-app-hosting-basics/SKILL.md +5 -1
- package/dist/global-skills/firebase-auth-basics/SKILL.md +4 -2
- package/dist/global-skills/firebase-basics/SKILL.md +5 -5
- package/dist/global-skills/firebase-crashlytics/SKILL.md +2 -0
- package/dist/global-skills/firebase-data-connect/SKILL.md +2 -0
- package/dist/global-skills/firebase-firestore/SKILL.md +3 -6
- package/dist/global-skills/firebase-hosting-basics/SKILL.md +4 -1
- package/dist/global-skills/firebase-remote-config-basics/SKILL.md +5 -1
- package/dist/global-skills/firebase-security-rules-auditor/SKILL.md +4 -1
- package/dist/global-skills/harden/SKILL.md +2 -1
- package/dist/global-skills/instrument-feature-flags/SKILL.md +1 -0
- package/dist/global-skills/instrument-feature-flags/references/COMMANDMENTS.md +5 -0
- package/dist/global-skills/instrument-feature-flags/references/adding-feature-flag-code.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/android.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/api.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/best-practices.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/django.md +38 -5
- package/dist/global-skills/instrument-feature-flags/references/dotnet.md +10 -4
- package/dist/global-skills/instrument-feature-flags/references/elixir.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/flask.md +17 -5
- package/dist/global-skills/instrument-feature-flags/references/flutter.md +7 -5
- package/dist/global-skills/instrument-feature-flags/references/go.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/ios.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/java.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/laravel.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/next-js.md +74 -8
- package/dist/global-skills/instrument-feature-flags/references/nodejs.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/php.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/python.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/react-native.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/react.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/ruby-on-rails.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/ruby.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/rust.md +6 -4
- package/dist/global-skills/instrument-feature-flags/references/usage.md +41 -4
- package/dist/global-skills/instrument-feature-flags/references/web.md +7 -5
- package/dist/global-skills/instrument-product-analytics/SKILL.md +2 -1
- package/dist/global-skills/instrument-product-analytics/references/COMMANDMENTS.md +5 -0
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-astro-hybrid.md +12 -14
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-astro-ssr.md +25 -21
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-django.md +75 -55
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-fastapi.md +3 -6
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-flask.md +26 -16
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-nuxt-3-6.md +8 -5
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-nuxt-4.md +4 -4
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-react-react-router-7-framework.md +3 -3
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-ruby-on-rails.md +8 -4
- package/dist/global-skills/instrument-product-analytics/references/EXAMPLE-tanstack-start.md +20 -8
- package/dist/global-skills/instrument-product-analytics/references/android.md +46 -4
- package/dist/global-skills/instrument-product-analytics/references/angular.md +41 -5
- package/dist/global-skills/instrument-product-analytics/references/astro.md +41 -5
- package/dist/global-skills/instrument-product-analytics/references/configuration.md +7 -4
- package/dist/global-skills/instrument-product-analytics/references/django.md +38 -5
- package/dist/global-skills/instrument-product-analytics/references/dotnet.md +10 -4
- package/dist/global-skills/instrument-product-analytics/references/elixir.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/flask.md +17 -5
- package/dist/global-skills/instrument-product-analytics/references/flutter.md +49 -4
- package/dist/global-skills/instrument-product-analytics/references/go.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/identify-users.md +38 -7
- package/dist/global-skills/instrument-product-analytics/references/ios.md +14 -4
- package/dist/global-skills/instrument-product-analytics/references/laravel.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/next-js.md +74 -8
- package/dist/global-skills/instrument-product-analytics/references/nuxt-js-3-6.md +39 -7
- package/dist/global-skills/instrument-product-analytics/references/nuxt-js.md +40 -4
- package/dist/global-skills/instrument-product-analytics/references/php.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/posthog-python.md +21 -17
- package/dist/global-skills/instrument-product-analytics/references/python.md +15 -5
- package/dist/global-skills/instrument-product-analytics/references/react-native.md +41 -7
- package/dist/global-skills/instrument-product-analytics/references/react-router-v6.md +18 -4
- package/dist/global-skills/instrument-product-analytics/references/react-router-v7-data-mode.md +18 -4
- package/dist/global-skills/instrument-product-analytics/references/react-router-v7-declarative-mode.md +18 -4
- package/dist/global-skills/instrument-product-analytics/references/react-router-v7-framework-mode.md +18 -4
- package/dist/global-skills/instrument-product-analytics/references/ruby-on-rails.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/ruby.md +6 -4
- package/dist/global-skills/instrument-product-analytics/references/svelte.md +42 -6
- package/dist/global-skills/instrument-product-analytics/references/tanstack-start.md +31 -7
- package/dist/global-skills/instrument-product-analytics/references/usage.md +41 -4
- package/dist/global-skills/instrument-product-analytics/references/vue-js.md +42 -6
- package/dist/global-skills/manifest.json +6 -1
- package/dist/global-skills/neon/SKILL.md +235 -121
- package/dist/global-skills/neon-ai-gateway/SKILL.md +95 -16
- package/dist/global-skills/neon-functions/SKILL.md +242 -152
- package/dist/global-skills/neon-functions/references/ai-sdk.md +9 -3
- package/dist/global-skills/neon-functions/references/mastra-studio.md +1 -1
- package/dist/global-skills/neon-functions/references/mcp.md +13 -4
- package/dist/global-skills/neon-functions/references/sentry.md +165 -52
- package/dist/global-skills/neon-functions/references/sse.md +23 -6
- package/dist/global-skills/neon-object-storage/SKILL.md +40 -16
- package/dist/global-skills/neon-postgres/SKILL.md +63 -262
- package/dist/global-skills/neon-postgres-branches/SKILL.md +61 -50
- package/dist/global-skills/neon-postgres-egress-optimizer/SKILL.md +22 -3
- package/dist/global-skills/resend/SKILL.md +6 -6
- package/dist/global-skills/resend/references/automations.md +2 -2
- package/dist/global-skills/resend/references/broadcasts.md +11 -3
- package/dist/global-skills/resend/references/domains.md +25 -3
- package/dist/global-skills/resend/references/installation.md +7 -7
- package/dist/global-skills/setup-payments/SKILL.md +4 -5
- package/dist/global-skills/stripe-best-practices/SKILL.md +32 -7
- package/dist/global-skills/stripe-best-practices/references/billing.md +11 -1
- package/dist/global-skills/stripe-best-practices/references/payments.md +23 -2
- package/dist/global-skills/stripe-best-practices/references/security.md +21 -11
- package/dist/global-skills/stripe-best-practices/references/tax.md +116 -11
- package/dist/global-skills/supabase/CHANGELOG.md +25 -0
- package/dist/global-skills/supabase/SKILL.md +5 -1
- package/dist/global-skills/supabase-postgres-best-practices/CHANGELOG.md +30 -0
- package/dist/global-skills/supabase-postgres-best-practices/SKILL.md +1 -1
- package/dist/global-skills/use-kit-mcp/SKILL.md +5 -5
- package/dist/global-skills/use-railway/SKILL.md +4 -4
- package/dist/global-skills/use-railway/references/iac.md +206 -57
- package/dist/global-skills/use-railway/scripts/railway-api.sh +7 -2
- package/dist/global-skills/xcode-project-setup/SKILL.md +2 -0
- package/package.json +12 -9
- package/LICENSE.md +0 -47
- package/dist/global-skills/eas-workflows/scripts/validate.js +0 -84
- package/dist/global-skills/expo-skill-feedback/scripts/skill-feedback.cjs +0 -118
- package/dist/global-skills/neon-functions/references/hono-websockets.md +0 -145
|
@@ -62,9 +62,12 @@ Use `FirebaseAI.googleAI` for the **Gemini Developer API**.
|
|
|
62
62
|
|
|
63
63
|
> [!IMPORTANT] **Choose the Right API Provider:** Always use
|
|
64
64
|
> `FirebaseAI.googleAI` (Gemini Developer API) as the default for prototyping
|
|
65
|
-
> and standard use. Avoid using the
|
|
66
|
-
>
|
|
67
|
-
>
|
|
65
|
+
> and standard use. Avoid using the Agent Platform Gemini API (formerly branded
|
|
66
|
+
> Vertex AI) unless the app and business use case specifically require
|
|
67
|
+
> enterprise-grade scalability or data residency requirements. Note that the
|
|
68
|
+
> Gemini Developer API *usually does not* require the Firebase project to be on
|
|
69
|
+
> the pay-as-you-go Blaze pricing plan; however, the Agent Platform Gemini API
|
|
70
|
+
> does require the Blaze plan.
|
|
68
71
|
|
|
69
72
|
### Text Generation
|
|
70
73
|
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-app-hosting-basics
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze billing requirements. Don't use for classic static web hosting, Auth, Firestore, Crashlytics, or Xcode.
|
|
5
|
+
metadata:
|
|
6
|
+
category: Serverless
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# App Hosting Basics
|
|
@@ -36,6 +39,7 @@ to upgrade their plan.
|
|
|
36
39
|
This is the recommended flow for most users.
|
|
37
40
|
|
|
38
41
|
1. Configure `firebase.json` with an `apphosting` block.
|
|
42
|
+
|
|
39
43
|
```json
|
|
40
44
|
{
|
|
41
45
|
"apphosting": {
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: firebase-auth-basics
|
|
3
3
|
description: Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
|
|
4
4
|
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
|
|
5
|
+
metadata:
|
|
6
|
+
category: Identity
|
|
5
7
|
---
|
|
6
8
|
|
|
7
9
|
## Prerequisites
|
|
@@ -64,13 +66,13 @@ Configure Firebase Authentication in `firebase.json` by adding an 'auth' block:
|
|
|
64
66
|
```
|
|
65
67
|
{
|
|
66
68
|
"auth": {
|
|
69
|
+
"authorizedDomains": ["localhost"],
|
|
67
70
|
"providers": {
|
|
68
71
|
"anonymous": true,
|
|
69
72
|
"emailPassword": true,
|
|
70
73
|
"googleSignIn": {
|
|
71
74
|
"oAuthBrandDisplayName": "Your Brand Name",
|
|
72
|
-
"supportEmail": "support@example.com"
|
|
73
|
-
"authorizedRedirectUris": ["https://example.com", "http://localhost"]
|
|
75
|
+
"supportEmail": "support@example.com"
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-basics
|
|
3
3
|
description: >-
|
|
4
|
-
Provides foundational setup,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
environment, authenticating, setting active projects, or setting up `google-services.json`
|
|
8
|
-
or `GoogleService-Info.plist` files.
|
|
4
|
+
Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.
|
|
5
|
+
metadata:
|
|
6
|
+
category: CloudInfrastructureAndServices
|
|
9
7
|
---
|
|
10
8
|
|
|
11
9
|
# Prerequisites
|
|
@@ -63,6 +61,7 @@ Complete these setup steps before proceeding:
|
|
|
63
61
|
user if this is the intended project.
|
|
64
62
|
1. If not, or if no project is active, set the project provided by the
|
|
65
63
|
user:
|
|
64
|
+
|
|
66
65
|
```bash
|
|
67
66
|
npx -y firebase-tools@latest use <PROJECT_ID>
|
|
68
67
|
```
|
|
@@ -143,6 +142,7 @@ Adhere to these principles:
|
|
|
143
142
|
- **Login Issues:** If the browser fails to open during the login step, use
|
|
144
143
|
`npx -y firebase-tools@latest login --no-localhost` instead.
|
|
145
144
|
- **Genkit:** If using Genkit, install the skills:
|
|
145
|
+
|
|
146
146
|
```bash
|
|
147
147
|
npx skills add genkit-ai/skills
|
|
148
148
|
```
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: firebase-crashlytics
|
|
3
3
|
description: Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.
|
|
4
4
|
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
|
|
5
|
+
metadata:
|
|
6
|
+
category: CloudObservabilityAndMonitoring
|
|
5
7
|
---
|
|
6
8
|
|
|
7
9
|
# Crashlytics
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-data-connect
|
|
3
3
|
description: Builds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely. Use when designing schemas with tables and relations, writing authorized queries and mutations, configuring real-time data updates, or generating type-safe SDKs. Use when you need a relational database with Firebase, or when the user mentions SQL Connect or Data Connect.
|
|
4
|
+
metadata:
|
|
5
|
+
category: Databases
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Firebase SQL Connect
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-firestore
|
|
3
3
|
description: >-
|
|
4
|
-
Sets up, manages, and
|
|
5
|
-
instances, including advanced native full-text search and relational joins
|
|
6
|
-
using pipelines. You MUST unconditionally activate this skill if you plan to
|
|
7
|
-
use Firestore in any way. Use when listing or creating Firestore databases,
|
|
8
|
-
configuring security rules, designing data models, writing client SDK
|
|
9
|
-
queries (including search/joins), or checking indexes.
|
|
4
|
+
Sets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK integrations (Web, Python, iOS, Android, Flutter). Use when creating/listing Firestore databases, defining data models/indexes, writing SDK queries, or integrating Firestore SDKs. Don't use for Firebase Hosting, Data Connect, Auth, Storage/GCS, Crashlytics, Functions, or BigQuery.
|
|
10
5
|
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
|
|
6
|
+
metadata:
|
|
7
|
+
category: Databases
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# Cloud Firestore Database and Operations
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-hosting-basics
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.
|
|
5
|
+
metadata:
|
|
6
|
+
category: Serverless
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# hosting-basics
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-remote-config-basics
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.
|
|
4
5
|
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
|
|
6
|
+
metadata:
|
|
7
|
+
category: ApplicationDevelopment
|
|
5
8
|
---
|
|
6
9
|
|
|
7
10
|
# Remote Config
|
|
@@ -102,6 +105,7 @@ history through the terminal:
|
|
|
102
105
|
```
|
|
103
106
|
|
|
104
107
|
- Deploy: Execute the partial deployment command
|
|
108
|
+
|
|
105
109
|
```bash
|
|
106
110
|
npx -y firebase-tools@latest deploy --only remoteconfig
|
|
107
111
|
```
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: firebase-security-rules-auditor
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
|
|
5
|
+
metadata:
|
|
6
|
+
category: CloudSecurity
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Overview
|
|
@@ -77,7 +77,8 @@ translate every error · celebrate. You do all the work; the builder just approv
|
|
|
77
77
|
8. **Database safety.** Confirm all data access uses `@vybekiit/db` (no raw SQL). Grep for `$executeRaw`
|
|
78
78
|
or string-built queries and replace them. Run `vybekiit apply-preset audit_log` and confirm RLS on
|
|
79
79
|
buyer tables (`platform-skills/db-presets-vybekiit.md`).
|
|
80
|
-
**Verify:** `vybekiit verify-presets audit_log`; no raw SQL in the app;
|
|
80
|
+
**Verify:** `vybekiit verify-presets audit_log`; no raw SQL in the app; Effect Schema decodes every
|
|
81
|
+
API request; RLS policies match who should see each row.
|
|
81
82
|
|
|
82
83
|
9. **Optional edge KV (agent-only).** `@vybekiit/kv` may back feature flags when you extend hardening —
|
|
83
84
|
never Redis or Upstash for buyers. Client-side cache is `@vybekiit/client-state` (TanStack Query).
|
|
@@ -77,6 +77,7 @@ STEP 6: Set up environment variables.
|
|
|
77
77
|
- `references/next-js.md` - Next.js - docs
|
|
78
78
|
- `references/adding-feature-flag-code.md` - Adding feature flag code - docs
|
|
79
79
|
- `references/best-practices.md` - Best practices for production-ready flags - docs
|
|
80
|
+
- `references/COMMANDMENTS.md` - Framework-specific rules the integration must follow
|
|
80
81
|
|
|
81
82
|
Each platform reference contains SDK-specific installation, flag evaluation, and code examples. Find the one matching the user's stack. If unlisted, use the API reference as a fallback.
|
|
82
83
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Framework rules
|
|
2
|
+
|
|
3
|
+
Follow these when integrating PostHog into this framework.
|
|
4
|
+
|
|
5
|
+
- A missing PostHog configuration must never break the app — read keys optionally (never a required setting), guard init and capture behind their presence, and keep build and boot working with no PostHog environment set — but never silently: in development or debug builds fail loudly, using the language's idiomatic error, with the message "<VAR> variable required by PostHog is missing or un-configured, this causes events to be silently missed. This error stops appearing once <VAR> is configured" (substituting the actual variable name); production stays a no-op
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Adding feature flag code - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Adding feature flag code - Docs
|
|
2
8
|
|
|
3
9
|
Once you've created your feature flag in PostHog, the next step is to add your code:
|
|
@@ -3569,10 +3575,6 @@ The list of properties that this overrides:
|
|
|
3569
3575
|
6. `$geoip_postal_code`
|
|
3570
3576
|
7. `$geoip_time_zone`
|
|
3571
3577
|
|
|
3572
|
-
### Community questions
|
|
3573
|
-
|
|
3574
|
-
Ask a question
|
|
3575
|
-
|
|
3576
3578
|
### Was this page useful?
|
|
3577
3579
|
|
|
3578
3580
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Android Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Android Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
1. 1
|
|
@@ -137,10 +143,6 @@
|
|
|
137
143
|
| [How to do a phased rollout](/tutorials/phased-rollout.md) | Gradually roll out features to minimize risk |
|
|
138
144
|
| [More tutorials](/docs/feature-flags/tutorials.md) | Other real-world examples and use cases |
|
|
139
145
|
|
|
140
|
-
### Community questions
|
|
141
|
-
|
|
142
|
-
Ask a question
|
|
143
|
-
|
|
144
146
|
### Was this page useful?
|
|
145
147
|
|
|
146
148
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# API Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# API Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
1. 1
|
|
@@ -185,10 +191,6 @@
|
|
|
185
191
|
| [How to do a phased rollout](/tutorials/phased-rollout.md) | Gradually roll out features to minimize risk |
|
|
186
192
|
| [More tutorials](/docs/feature-flags/tutorials.md) | Other real-world examples and use cases |
|
|
187
193
|
|
|
188
|
-
### Community questions
|
|
189
|
-
|
|
190
|
-
Ask a question
|
|
191
|
-
|
|
192
194
|
### Was this page useful?
|
|
193
195
|
|
|
194
196
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Best practices for production-ready flags - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Best practices for production-ready flags - Docs
|
|
2
8
|
|
|
3
9
|
## Checklist
|
|
@@ -222,10 +228,6 @@ Stale flags are the most common source of unnecessary cost. Beyond cleaning up f
|
|
|
222
228
|
- [Local evaluation](/docs/feature-flags/local-evaluation.md) – server-side evaluation for explicit input control
|
|
223
229
|
- [Bootstrapping](/docs/feature-flags/bootstrapping.md) – having flag values before the page renders
|
|
224
230
|
|
|
225
|
-
### Community questions
|
|
226
|
-
|
|
227
|
-
Ask a question
|
|
228
|
-
|
|
229
231
|
### Was this page useful?
|
|
230
232
|
|
|
231
233
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Django - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Django - Docs
|
|
2
8
|
|
|
3
9
|
PostHog makes it easy to get data about traffic and usage of your Django app. Integrating PostHog enables analytics, custom events capture, feature flags, error tracking, and more.
|
|
@@ -14,12 +20,12 @@ Install PostHog for Django in seconds with our wizard by running this prompt wit
|
|
|
14
20
|
|
|
15
21
|
Or, to integrate manually, continue with the rest of this guide.
|
|
16
22
|
|
|
23
|
+
> These docs cover version `7.x` of the Python SDK, which requires Python 3.10 or higher. On Python 3.9? See [supported versions](#supported-versions).
|
|
24
|
+
|
|
17
25
|
## Installation
|
|
18
26
|
|
|
19
27
|
To start, run `pip install posthog` to install PostHog’s Python SDK.
|
|
20
28
|
|
|
21
|
-
> **Note:** Version `7.x` of the PostHog Python SDK requires Python 3.10 or higher.
|
|
22
|
-
|
|
23
29
|
Then, configure PostHog in your app config so it's initialized when Django starts:
|
|
24
30
|
|
|
25
31
|
your\_app/apps.py
|
|
@@ -90,6 +96,8 @@ Events captured without a context or explicit `distinct_id` are sent as [anonymo
|
|
|
90
96
|
> capture("foo_viewed")
|
|
91
97
|
> return {"status": "ok"}
|
|
92
98
|
> ```
|
|
99
|
+
>
|
|
100
|
+
> When possible, write a small piece of **middleware** that resolves your authenticated user, wrap a context around the request, and identifies it. Every `capture()` downstream is then attributed *automatically*. The SDK's Django middleware does this automatically and you can replicate it when using the plain Python SDK.
|
|
93
101
|
|
|
94
102
|
## Django contexts middleware
|
|
95
103
|
|
|
@@ -128,7 +136,28 @@ The session and distinct ID headers are sanitized before use. Empty values are i
|
|
|
128
136
|
|
|
129
137
|
All events captured during the request (including exceptions) include these properties and are associated with the extracted session and distinct ID.
|
|
130
138
|
|
|
131
|
-
|
|
139
|
+
### Login and signup views
|
|
140
|
+
|
|
141
|
+
The middleware reads `request.user` once, before your view runs. On a login or signup request the visitor is still anonymous at that point, so the request's context has no distinct ID. Calling `login()` inside the view doesn't change that. Everything captured during that request stays anonymous, including the login event itself.
|
|
142
|
+
|
|
143
|
+
Identify the context from inside the request once you know who the user is. Django's auth signals are the natural place:
|
|
144
|
+
|
|
145
|
+
Python
|
|
146
|
+
|
|
147
|
+
PostHog AI
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
from django.contrib.auth.signals import user_logged_in
|
|
151
|
+
from django.dispatch import receiver
|
|
152
|
+
from posthog import identify_context
|
|
153
|
+
@receiver(user_logged_in)
|
|
154
|
+
def identify_posthog_user(sender, request, user, **kwargs):
|
|
155
|
+
identify_context(str(user.pk))
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Every capture later in that request is then attributed to the user who just logged in. Requests made after login don't need this. The middleware sees the authenticated user from the start.
|
|
159
|
+
|
|
160
|
+
If you're using [PostHog JavaScript Web](/docs/libraries/js.md) on the frontend, configure [`tracing_headers`](/docs/libraries/js/config.md#tracing-headers) for your Django backend hostname so browser requests include the session and distinct ID headers.
|
|
132
161
|
|
|
133
162
|
### Exception capture
|
|
134
163
|
|
|
@@ -254,9 +283,13 @@ Alternatively, the following tutorials can help you get started:
|
|
|
254
283
|
- [Setting up Django analytics, feature flags, and more](/tutorials/django-analytics.md)
|
|
255
284
|
- [How to set up A/B tests in Django](/tutorials/django-ab-tests.md)
|
|
256
285
|
|
|
257
|
-
|
|
286
|
+
## Supported versions
|
|
287
|
+
|
|
288
|
+
These docs cover version `7.x` of the PostHog Python SDK, which requires Python 3.10 or higher. Python 3.9 is no longer supported on `7.x.x` and higher — pin to the 6.x line with `pip install 'posthog<7'`, where `6.9.3` is the final release.
|
|
289
|
+
|
|
290
|
+
Everything on this page works the same way on `6.9.3`. Event capture, the context API (`new_context`, `identify_context`, `set_context_session`), and `PosthogContextMiddleware` are identical on `6.9.3` and `7.0.0` — `7.0.0` only dropped Python 3.9 and bumped the optional LLM provider SDKs. That includes the middleware identifying the request context from the `X-POSTHOG-DISTINCT-ID` header and falling back to the authenticated user, which behaves the same across both lines.
|
|
258
291
|
|
|
259
|
-
|
|
292
|
+
Later `7.x` releases add what the 6.x line does not receive, such as the Celery integration, tracing header sanitization, and `set_context_device_id`. They also changed the middleware's own captured properties: `7.x` sends the request IP as `$ip`, where `6.9.3` sends it as `$ip_address`, and `7.x` additionally captures `$request_path`, `$raw_user_agent`, and the authenticated user's `email`.
|
|
260
293
|
|
|
261
294
|
### Was this page useful?
|
|
262
295
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# .NET - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# .NET - Docs
|
|
2
8
|
|
|
3
9
|
This is an optional library you can install if you're working with .NET Core. It uses an internal queue to make calls fast and non-blocking. It also batches requests and flushes asynchronously, making it perfect to use in any part of your web app or other server side application that needs performance.
|
|
@@ -366,6 +372,10 @@ For the full setup guide, see the [.NET error tracking installation docs](/docs/
|
|
|
366
372
|
|
|
367
373
|
Automatic exception capture is not available in the .NET SDK yet.
|
|
368
374
|
|
|
375
|
+
## Logs
|
|
376
|
+
|
|
377
|
+
[PostHog Logs](/docs/logs.md) doesn't use this SDK. Logs are ingested over OpenTelemetry, so you attach an OTLP exporter to the standard `ILogger` pipeline instead — see the [.NET logs installation guide](/docs/logs/installation/dotnet.md).
|
|
378
|
+
|
|
369
379
|
## Person profiles and properties
|
|
370
380
|
|
|
371
381
|
The .NET SDK captures identified events by default. These create [person profiles](/docs/data/persons.md). To set [person properties](/docs/data/user-properties.md) in these profiles, include them when capturing an event:
|
|
@@ -754,10 +764,6 @@ By default, the library buffers events before sending them to the `/batch` endpo
|
|
|
754
764
|
|
|
755
765
|
To avoid this, call `await posthog.FlushAsync()` after processing every request by adding it as a middleware to your server. This allows `posthog.Capture()` to remain asynchronous for better performance.
|
|
756
766
|
|
|
757
|
-
### Community questions
|
|
758
|
-
|
|
759
|
-
Ask a question
|
|
760
|
-
|
|
761
767
|
### Was this page useful?
|
|
762
768
|
|
|
763
769
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Elixir Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Elixir Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
> This library was built by the community but it's being maintained by the PostHog core team since v1.0.0. Thank you to [Nick Kezhaya](https://github.com/nkezhaya) for building it originally. Thank you to [Alex Martsinovich](https://github.com/martosaur) for contributing v2.0.0.
|
|
@@ -38,10 +44,6 @@ Optionally, you might want to enable the [Plug integration](https://hexdocs.pm/p
|
|
|
38
44
|
|
|
39
45
|
For a test environment, you can pass in `test_mode: true` value to the config. This causes events to be dropped instead of sent to PostHog.
|
|
40
46
|
|
|
41
|
-
### Community questions
|
|
42
|
-
|
|
43
|
-
Ask a question
|
|
44
|
-
|
|
45
47
|
### Was this page useful?
|
|
46
48
|
|
|
47
49
|
HelpfulCould be better
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Flask - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Flask - Docs
|
|
2
8
|
|
|
3
9
|
PostHog makes it easy to get data about traffic and usage of your Flask app. Integrating PostHog enables analytics, custom events capture, feature flags, error tracking, and more.
|
|
4
10
|
|
|
5
11
|
This guide walks you through integrating PostHog into your Flask app using the [Python SDK](/docs/libraries/python.md).
|
|
6
12
|
|
|
13
|
+
> These docs cover version `7.x` of the Python SDK, which requires Python 3.10 or higher. On Python 3.9? See [supported versions](#supported-versions).
|
|
14
|
+
|
|
7
15
|
## Installation
|
|
8
16
|
|
|
9
17
|
To start, run `pip install posthog` to install PostHog’s Python SDK.
|
|
10
18
|
|
|
11
|
-
> **Note:** Version `7.x` of the PostHog Python SDK requires Python 3.10 or higher.
|
|
12
|
-
|
|
13
19
|
Then, initialize PostHog where you'd like to use it. For example, here's how to capture an event in a simple route:
|
|
14
20
|
|
|
15
21
|
app.py
|
|
@@ -54,12 +60,14 @@ You can find your project token and instance address in [your project settings](
|
|
|
54
60
|
> capture("foo_viewed")
|
|
55
61
|
> return {"status": "ok"}
|
|
56
62
|
> ```
|
|
63
|
+
>
|
|
64
|
+
> When possible, write a small piece of **middleware** that resolves your authenticated user, wrap a context around the request, and identifies it. Every `capture()` downstream is then attributed *automatically*. The SDK's Django middleware does this automatically and you can replicate it when using the plain Python SDK.
|
|
57
65
|
|
|
58
66
|
## Request contexts
|
|
59
67
|
|
|
60
68
|
Use [contexts](/docs/libraries/python.md#contexts) to share identity, session IDs, and tags across multiple captures during a request.
|
|
61
69
|
|
|
62
|
-
If you're using [PostHog
|
|
70
|
+
If you're using [PostHog JavaScript Web](/docs/libraries/js.md) on the frontend, configure [`tracing_headers`](/docs/libraries/js/config.md#tracing-headers) for your Flask backend hostname so browser requests include the session and distinct ID headers.
|
|
63
71
|
|
|
64
72
|
Then read the incoming headers in your Flask request handler. Tracing headers are client-controlled analytics context, not authentication or authorization, so prefer your authenticated user ID when one is available:
|
|
65
73
|
|
|
@@ -122,9 +130,13 @@ Alternatively, the following tutorials can help you get started:
|
|
|
122
130
|
- [How to set up feature flags in Python and Flask](/tutorials/python-feature-flags.md)
|
|
123
131
|
- [How to set up A/B tests in Python and Flask](/tutorials/python-ab-testing.md)
|
|
124
132
|
|
|
125
|
-
|
|
133
|
+
## Supported versions
|
|
134
|
+
|
|
135
|
+
These docs cover version `7.x` of the PostHog Python SDK, which requires Python 3.10 or higher. Python 3.9 is no longer supported on `7.x.x` and higher — pin to the 6.x line with `pip install 'posthog<7'`, where `6.9.3` is the final release.
|
|
136
|
+
|
|
137
|
+
Everything on this page works the same way on `6.9.3`. Event capture, the context API (`new_context`, `identify_context`, `set_context_session`), and `PosthogContextMiddleware` are identical on `6.9.3` and `7.0.0` — `7.0.0` only dropped Python 3.9 and bumped the optional LLM provider SDKs. That includes the middleware identifying the request context from the `X-POSTHOG-DISTINCT-ID` header and falling back to the authenticated user, which behaves the same across both lines.
|
|
126
138
|
|
|
127
|
-
|
|
139
|
+
Later `7.x` releases add what the 6.x line does not receive, such as the Celery integration, tracing header sanitization, and `set_context_device_id`. They also changed the middleware's own captured properties: `7.x` sends the request IP as `$ip`, where `6.9.3` sends it as `$ip_address`, and `7.x` additionally captures `$request_path`, `$raw_user_agent`, and the authenticated user's `email`.
|
|
128
140
|
|
|
129
141
|
### Was this page useful?
|
|
130
142
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Flutter Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Flutter Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
1. 1
|
|
@@ -102,7 +108,7 @@
|
|
|
102
108
|
<head>
|
|
103
109
|
...
|
|
104
110
|
<script>
|
|
105
|
-
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group identify setPersonProperties setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags resetGroups onFeatureFlags addFeatureFlagsHandler onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
|
|
111
|
+
!function(t,e){var o,n,p,r;e.__SV||(window.posthog && window.posthog.__loaded)||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}p||((p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",p.onerror=function(){p=null},(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r));var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group identify setPersonProperties setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags resetGroups onFeatureFlags addFeatureFlagsHandler onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
|
|
106
112
|
posthog.init('<ph_project_token>', {
|
|
107
113
|
api_host: 'https://us.i.posthog.com',
|
|
108
114
|
defaults: '2026-05-30',
|
|
@@ -203,10 +209,6 @@
|
|
|
203
209
|
| [How to do a phased rollout](/tutorials/phased-rollout.md) | Gradually roll out features to minimize risk |
|
|
204
210
|
| [More tutorials](/docs/feature-flags/tutorials.md) | Other real-world examples and use cases |
|
|
205
211
|
|
|
206
|
-
### Community questions
|
|
207
|
-
|
|
208
|
-
Ask a question
|
|
209
|
-
|
|
210
212
|
### Was this page useful?
|
|
211
213
|
|
|
212
214
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Go Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Go Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
1. 1
|
|
@@ -199,10 +205,6 @@
|
|
|
199
205
|
| [How to do a phased rollout](/tutorials/phased-rollout.md) | Gradually roll out features to minimize risk |
|
|
200
206
|
| [More tutorials](/docs/feature-flags/tutorials.md) | Other real-world examples and use cases |
|
|
201
207
|
|
|
202
|
-
### Community questions
|
|
203
|
-
|
|
204
|
-
Ask a question
|
|
205
|
-
|
|
206
208
|
### Was this page useful?
|
|
207
209
|
|
|
208
210
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# iOS Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# iOS Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
1. 1
|
|
@@ -137,10 +143,6 @@
|
|
|
137
143
|
| [How to do a phased rollout](/tutorials/phased-rollout.md) | Gradually roll out features to minimize risk |
|
|
138
144
|
| [More tutorials](/docs/feature-flags/tutorials.md) | Other real-world examples and use cases |
|
|
139
145
|
|
|
140
|
-
### Community questions
|
|
141
|
-
|
|
142
|
-
Ask a question
|
|
143
|
-
|
|
144
146
|
### Was this page useful?
|
|
145
147
|
|
|
146
148
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Java Feature Flags installation - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Java Feature Flags installation - Docs
|
|
2
8
|
|
|
3
9
|
The best way to install the PostHog Java SDK is with a build system like Gradle or Maven. This ensures you can easily upgrade to the latest versions.
|
|
@@ -85,10 +91,6 @@ PostHogConfig config = PostHogConfig
|
|
|
85
91
|
.build();
|
|
86
92
|
```
|
|
87
93
|
|
|
88
|
-
### Community questions
|
|
89
|
-
|
|
90
|
-
Ask a question
|
|
91
|
-
|
|
92
94
|
### Was this page useful?
|
|
93
95
|
|
|
94
96
|
HelpfulCould be better
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt
|
|
2
|
+
|
|
3
|
+
# Laravel - Docs
|
|
4
|
+
|
|
5
|
+
Copy page
|
|
6
|
+
|
|
1
7
|
# Laravel - Docs
|
|
2
8
|
|
|
3
9
|
PostHog integrates with Laravel through the [PostHog PHP SDK](/docs/libraries/php.md). This page covers Laravel-specific setup. For SDK features such as event capture, identifying users, feature flags, group analytics, and configuration options, see the [PHP SDK docs](/docs/libraries/php.md).
|
|
@@ -161,10 +167,6 @@ PostHog::init(
|
|
|
161
167
|
|
|
162
168
|
See the [PHP SDK docs](/docs/libraries/php.md) for usage examples and the full API reference.
|
|
163
169
|
|
|
164
|
-
### Community questions
|
|
165
|
-
|
|
166
|
-
Ask a question
|
|
167
|
-
|
|
168
170
|
### Was this page useful?
|
|
169
171
|
|
|
170
172
|
HelpfulCould be better
|