jeffersongoncalves/mobilekit
Composer 安装命令:
composer create-project jeffersongoncalves/mobilekit
包简介
MobileKit starter kit built on Laravel 12.x, Filament 3.x and NativePHP for native mobile applications.
关键字:
README 文档
README
MobileKit Start Kit NativePHP 1.x, Filament 3.x and Laravel 12.x
About MobileKit
MobileKit is a robust starter kit built on Laravel 12.x, Filament 3.x and NativePHP 1.x, designed to accelerate the development of modern native desktop and mobile applications with a ready-to-use multi-panel structure. Build native iOS and Android applications using PHP, alongside desktop applications for Windows, macOS, and Linux.
Features
- Laravel 12.x - The latest version of the most elegant PHP framework
- Filament 3.x - Powerful and flexible admin framework
- NativePHP 1.x - Build native desktop and mobile applications with PHP
- Mobile Development - Native iOS and Android app development with NativePHP Mobile
- Desktop Development - Native Windows, macOS, and Linux applications with NativePHP Electron
- Multi-Panel Structure - Includes three pre-configured panels:
- Admin Panel (
/admin) - For system administrators - App Panel (
/app) - For authenticated application users - Guest Panel (frontend interface) - For visitors
- Admin Panel (
- Mobile Configuration - Comprehensive mobile app settings including app ID, version management, deep linking, and platform-specific configurations
- Cross-Platform Support - Single codebase for iOS, Android, Windows, macOS, and Linux
- Environment Configuration - Centralized configuration through the
config/mobilekit.phpfile - Testing Framework - Pest PHP for elegant testing
- Code Quality Tools - Laravel Pint for code formatting and Larastan for static analysis
- Development Tools - IDE Helper, Laravel Pail for log monitoring
System Requirements
General Requirements
- PHP 8.2 or higher
- Composer
- Node.js and PNPM
Desktop Development
- No additional requirements
Mobile Development
- Android Development:
- Android SDK
- Android Studio (recommended)
- Java Development Kit (JDK) 11 or higher
- iOS Development (macOS only):
- Xcode 14 or higher
- iOS Simulator
- Apple Developer Account (for device testing and App Store distribution)
Installation
Clone the repository
laravel new my-app --using=jeffersongoncalves/mobilekit
Using FilaKit CLI
Or use FilaKit CLI for a simplified setup:
filakit new my-app --kit=jeffersongoncalves/mobilekit
Install FilaKit CLI:
composer global require jeffersongoncalves/filakit-cli
Easy Installation
Mobilekit can be easily installed using the following command:
php install.php
This command automates the installation process by:
- Installing Composer dependencies
- Setting up the environment file
- Generating application key
- Setting up the database
- Running migrations
- Installing Node.js dependencies
- Building assets
Manual Installation
Install JavaScript dependencies
pnpm install
Install Composer dependencies
composer install
Set up environment
cp .env.example .env php artisan key:generate
Configure your database in the .env file
Run migrations
php artisan native:migrate
Run the server
php artisan native:serve
Authentication Structure
MobileKit comes pre-configured with a custom authentication system that supports different types of users:
Admin- For administrative panel accessUser- For application panel access
Development
Desktop Development
# Run the development server with logs, queues and asset compilation composer native:dev # Or run each component separately php artisan native:serve pnpm run dev
Mobile Development
For mobile application development, NativePHP Mobile provides additional commands:
# Build for Android php artisan native:android # Build for iOS (macOS only) php artisan native:ios # Run mobile development server php artisan native:serve --mobile
Mobile Development Requirements:
- Android: Android Studio and Android SDK
- iOS: Xcode (macOS only) and iOS SDK
- Both: Java Development Kit (JDK) 11 or higher
Customization
Panel Configuration
Panels can be customized through their respective providers:
app/Providers/Filament/AdminPanelProvider.phpapp/Providers/Filament/AppPanelProvider.phpapp/Providers/Filament/GuestPanelProvider.php
Alternatively, these settings are also consolidated in the config/mobilekit.php file for easier management.
Themes and Colors
Each panel can have its own color scheme, which can be easily modified in the corresponding Provider files or in the
mobilekit.php configuration file.
Configuration File
The config/mobilekit.php file centralizes the configuration of the starter kit, including:
- Panel routes
- Middleware for each panel
- Branding options (logo, colors)
- Authentication guards
Resources
MobileKit includes comprehensive support for:
- User Management - User and admin management with multi-guard authentication
- UI Framework - Tailwind CSS integration with Filament components
- Queue System - Database queue configuration for background processing
- Panel System - Customizable panel routing and branding
- Desktop Development - Native desktop application development with NativePHP
- Mobile Development - Native mobile application support
- Cross-Platform - Full compatibility across Windows, macOS, Linux, iOS, and Android
- Testing Suite - Pest PHP testing framework with Laravel integration
- Code Quality - Laravel Pint formatting and Larastan static analysis
- Development Tools - IDE helpers, log monitoring with Laravel Pail
- Asset Management - Vite integration for modern asset compilation
License
This project is licensed under the MIT License.
Credits
Developed by Jefferson Gonçalves.
jeffersongoncalves/mobilekit 适用场景与选型建议
jeffersongoncalves/mobilekit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 5, 最近一次更新时间为 2025 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「cross-platform」 「starter-kit」 「tailwindcss」 「mobile-app」 「livewire」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jeffersongoncalves/mobilekit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jeffersongoncalves/mobilekit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jeffersongoncalves/mobilekit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Hprose asynchronous client & standalone server based on swoole
Build cross-platform desktop applications with Laravel and Tauri. Embed your Laravel app into native desktop apps for Windows, macOS, and Linux using FrankenPHP.
It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed a
Hprose Server for Symfony
Alfabank REST API integration
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-18
