laravel-companion-apps icon indicating copy to clipboard operation
laravel-companion-apps copied to clipboard

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

Laravel Companion Apps required php version codecov Edit on VSCode online

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.