open-southeners/laravel-companion-apps

Extend your Laravel applications with companions apps (Android, iOS, PWA...)

2.0.1 2024-05-14 23:22 UTC

This package is auto-updated.

Last update: 2024-11-15 00:25:31 UTC


README

Extend your Laravel applications with companions apps (Android, Apple, Progressive Web Applications...).

Key features

  • Allow app links (also called deep links) on Android apps:
    • Generates the .well-known/assetlinks.json file for app links verification
    • Redirects to app links (redirect()->toApp(Companion::android('com.my_company.my_app'), 'products/1') or Companion::android('com.my_company.my_app')->redirect('products/1'))
    • Generates app links (Companion::android('com.my_company.my_app')->link('products/1'))
  • Allow app links (also called universal links) on iOS apps:
    • Generates the apple-app-site-association file for app links verification
    • Redirects to app links (redirect()->toApp(Companion::ios('com.my_company.my_app')) or Companion::ios('com.my_company.my_app')->redirect('products/1'))
    • Generates app links (Companion::ios('com.my_company.my_app')->link('products/1')->fallbackToStore())
  • Add smart banner (Apple only for now) using Blade directive @companionMetaTags or facade's method app('companion')->metaTags()

Getting started

composer require open-southeners/laravel-companion-apps

Documentation

To learn how to use everything you should check the official documentation.

Partners

skore logo

License

This package is open-sourced software licensed under the MIT license.