veskodigital/lara-app
最新稳定版本:v4.0.3
Composer 安装命令:
composer require veskodigital/lara-app
包简介
LaraApp for Laravel, manage your Laravel project on the move. Available on IOS and Android.
README 文档
README
Link your smartphone to your Laravel project with LaraApp. Our package enables you to manage your project on the go, some features include:
- Notifications for users signed up
- View storage logs
- Routes
- Charts for users signed up
- Run artisan commands
Mobile Apps
Download the IOS/Android app for free and link your Laravel project, follow the installation below once you have the app.
Installation
First, install the package via composer:
composer require veskodigital/lara-app
The package will automatically register itself.
Configuration
Publish the LaraApp configuration:
php artisan laraapp:install
It will also ask if you want to run the migrations for LaraApp which adds 3 new tables to your project. When the installation has finished, by default your login details for your user will as follows:
Email: me@lara.app
Password: app123
You can change the login details by running php artisan laraapp:updateuser
Config
Once you run the php artisan laraapp:install command, it will copy the config to config/laraapp.php where you can edit it.
Authorization
If your Laravel site's environment is set to production, you'll need to add users who you want to be able to access the /lara-app/link route inside your LaraAppServiceProvider.php.
app/Providers/LaraAppServiceProvider.php
In this file, you should see the following:
protected function gate() { Gate::define('viewLaraApp', function ($user) { return in_array($user->email, [ 'taylorotwell@laravel.com', // e.g. above... ]); }); }
Testing
Try and access https://mysite.com/lara-app/link If you can access this, then the setup is ready for the mobile app to connect too.
If you can't access the route (seeing 404/403 error), try running the following.
php artisan optimize:clear
Changelog
Please see CHANGELOG for more information about what has changed recently.
Security
If you discover any security related issues, please email hello@veskodigital.com instead of using the issue tracker.
Support us
VeskoDigital is a development team based in the UK, we do mobile and web applications on our website.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 164
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-12
