Download the PHP package mucan54/tauri-php without Composer

On this page you can find all versions of the php package mucan54/tauri-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tauri-php

Tauri-PHP

Latest Version on Packagist Total Downloads License

Transform your Laravel applications into beautiful, fast, and secure cross-platform desktop and mobile applications using Tauri and FrankenPHP.

✨ Features

📋 Prerequisites

Before using Tauri-PHP, ensure you have the following installed:

📦 Installation

Install the package via Composer:

Publish the configuration file (optional):

🚀 Quick Start

1. Initialize Tauri in Your Laravel Project

This command will:

2. Start Development Server

This opens your Laravel app in a native desktop window with hot reload support.

3. Build for Production

Your distributable application will be in src-tauri/target/release/bundle/.

📖 Documentation

For detailed documentation, visit our documentation directory:

🎯 Available Commands

Desktop Commands

Command Description
php artisan tauri:init Initialize Tauri in your Laravel project
php artisan tauri:dev Start development server with hot reload
php artisan tauri:build Build the application for production
php artisan tauri:package Create distribution packages
php artisan tauri:clean Clean build artifacts and temporary files

Mobile Commands

Command Description
php artisan tauri:mobile-init {platform} Initialize mobile platform (android/ios/both)
php artisan tauri:mobile-dev {platform} Run app on mobile device/emulator
php artisan tauri:build --platform=android Build Android application (APK/AAB)
php artisan tauri:build --platform=ios Build iOS application

⚙️ Configuration

The package uses a .env.tauri file for configuration. Here are the key settings:

🏗️ How It Works

  1. FrankenPHP Embedding: Your Laravel application is embedded with a standalone FrankenPHP binary
  2. Tauri Wrapper: A lightweight Rust/Tauri application wraps your Laravel app in a native window
  3. No External Dependencies: Users don't need PHP, a web server, or any dependencies installed
  4. Native Performance: Leverages native webviews for optimal performance and small bundle sizes

🌍 Supported Platforms

Desktop Platforms

Platform Target Triple Status
Linux x64 x86_64-unknown-linux-gnu ✅ Supported
Linux ARM64 aarch64-unknown-linux-gnu ✅ Supported
macOS x64 x86_64-apple-darwin ✅ Supported
macOS ARM64 (M1/M2) aarch64-apple-darwin ✅ Supported
Windows x64 x86_64-pc-windows-msvc ✅ Supported

Mobile Platforms

Platform Target Triple Status
Android (ARM64) aarch64-linux-android ✅ Supported
Android (ARMv7) armv7-linux-androideabi ✅ Supported
Android (x86_64) x86_64-linux-android ✅ Supported
iOS (ARM64) aarch64-apple-ios ✅ Supported
iOS Simulator aarch64-apple-ios-sim ✅ Supported

🔒 Code Obfuscation

Protect your source code when distributing:

This uses YakPro-Po by default to obfuscate your PHP code before embedding.

🐳 Cross-Platform Building

Build for multiple platforms using Docker:

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

The MIT License (MIT). Please see License File for more information.

🙏 Credits

📧 Support

🌟 Show Your Support

If this package helped you, please give it a ⭐️ on GitHub!


Made with ❤️ for the Laravel community


All versions of tauri-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1|^8.2|^8.3
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^9.0|^10.0|^11.0|^12.0
symfony/process Version ^5.4|^6.0|^7.0
symfony/filesystem Version ^5.4|^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mucan54/tauri-php contains the following files

Loading the files please wait ...