{"id":18255230,"url":"https://github.com/mxl/firebase-dynamic-link-php","last_synced_at":"2025-04-04T17:31:04.588Z","repository":{"id":57022511,"uuid":"281727840","full_name":"mxl/firebase-dynamic-link-php","owner":"mxl","description":"Firebase Dynamic Link URL builder for PHP","archived":false,"fork":false,"pushed_at":"2020-07-23T11:04:58.000Z","size":9,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T14:05:29.943Z","etag":null,"topics":["dynamic-links","firebase","php","url-builder"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mxl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-22T16:24:10.000Z","updated_at":"2023-03-13T21:51:43.000Z","dependencies_parsed_at":"2022-08-23T12:20:07.534Z","dependency_job_id":null,"html_url":"https://github.com/mxl/firebase-dynamic-link-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxl%2Ffirebase-dynamic-link-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxl%2Ffirebase-dynamic-link-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxl%2Ffirebase-dynamic-link-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mxl%2Ffirebase-dynamic-link-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mxl","download_url":"https://codeload.github.com/mxl/firebase-dynamic-link-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223150660,"owners_count":17095959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynamic-links","firebase","php","url-builder"],"created_at":"2024-11-05T10:15:11.124Z","updated_at":"2024-11-05T10:15:12.490Z","avatar_url":"https://github.com/mxl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# firebase-dynamic-link\n[![Current version](https://img.shields.io/packagist/v/mxl/firebase-dynamic-link.svg?logo=composer)](https://packagist.org/packages/mxl/firebase-dynamic-link)\n[![Monthly Downloads](https://img.shields.io/packagist/dm/mxl/firebase-dynamic-link.svg)](https://packagist.org/packages/mxl/firebase-dynamic-link/stats)\n[![Total Downloads](https://img.shields.io/packagist/dt/mxl/firebase-dynamic-link.svg)](https://packagist.org/packages/mxl/firebase-dynamic-link/stats)\n[![Build Status](https://travis-ci.org/mxl/firebase-dynamic-link-php.svg?branch=master)](https://travis-ci.org/mxl/firebase-dynamic-link-php)\n\nFirebase Dynamic Link URL builder for PHP.\n\nBuilds Dynamic Links as described [here](https://firebase.google.com/docs/dynamic-links/create-manually).\n\nFor creating Dynamic Links via Firebase API use [kreait/firebase-php](https://github.com/kreait/firebase-php).\n\n## Installation\n\n```bash\n$ composer require mxl/firebase-dynamic-link\n```\n\n## Usage\n\n```php\nuse MichaelLedin\\FirebaseDynamicLink\\Android;\nuse MichaelLedin\\FirebaseDynamicLink\\DynamicLink;\nuse MichaelLedin\\FirebaseDynamicLink\\GooglePlayAnalytics;\nuse MichaelLedin\\FirebaseDynamicLink\\IOS;\nuse MichaelLedin\\FirebaseDynamicLink\\ITunesConnectAnalytics;\nuse MichaelLedin\\FirebaseDynamicLink\\SocialMetaTag;\n\n$dynamicLink = DynamicLink::for('your_subdomain.page.link', 'https://your_domain.com/path/to/page')\n    -\u003ewithAndroid(\n        Android::new()\n            -\u003ewithPackageName('com.your_domain.app')\n            -\u003ewithMinimumVersionCode(123)\n            -\u003ewithFallbackLink('https://your_domain.com/fallback/android')\n    )\n    -\u003ewithIOS(\n        IOS::new()\n            -\u003ewithBundleID('com.your_domain.app')\n            -\u003ewithMinimumVersionNumber('1.2.3')\n            -\u003ewithFallbackLink('https://your_domain.com/fallback/ios')\n            -\u003ewithAppStoreID('app.store.id')\n            -\u003ewithUrlScheme('customUrlScheme')\n            -\u003ewithIPadBundleID('com.your_domain.iPadApp')\n            -\u003ewithIPadFallbackLink('https://your_domain.com/fallback/ipad')\n    )\n    -\u003ewithGooglePlayAnalytics(\n        GooglePlayAnalytics::new()\n            -\u003ewithGclid('gclid')\n            -\u003ewithUtmCampaign('utm_campaign')\n            -\u003ewithUtmContent('utm_content')\n            -\u003ewithUtmMedium('utm_medium')\n            -\u003ewithUtmSource('utm_source')\n            -\u003ewithUtmTerm('utm_term')\n    )\n    -\u003ewithITunesConnectAnalytics(\n        ITunesConnectAnalytics::new()\n            -\u003ewithAffiliateToken('affiliate_token')\n            -\u003ewithCampaignToken('campaign_token')\n            -\u003ewithMediaType('8')\n            -\u003ewithProviderToken('provider_token')\n    )\n    -\u003ewithOtherFallbackLink('https://your_domain.com/fallback/other')\n    -\u003ewithSocialMetaTag(\n        SocialMetaTag::new()\n            -\u003ewithTitle('title')\n            -\u003ewithImage('https://your_domain.com/img.jpeg')\n            -\u003ewithDescription('description')\n    )\n    -\u003ewithoutAppPreviewPage()\n    -\u003ebuild();\n```\n\n## Maintainers\n\n- [@mxl](https://github.com/mxl)\n\n## Other useful PHP libraries from the author\n\n- [mxl/laravel-queue-rate-limit](https://github.com/mxl/laravel-queue-rate-limit) - simple Laravel queue rate limiting;\n- [mxl/laravel-job](https://github.com/mxl/laravel-job) - dispatch a job from command line and more;\n- [mxl/laravel-api-key](https://github.com/mxl/laravel-api-key) - API Key Authorization for Laravel with replay attack prevention\n\n## License\n\nSee the [LICENSE](https://github.com/mxl/firebase-dynamic-link-php/blob/master/LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxl%2Ffirebase-dynamic-link-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmxl%2Ffirebase-dynamic-link-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmxl%2Ffirebase-dynamic-link-php/lists"}