veskodigital / lara-app
LaraApp for Laravel, manage your Laravel project on the move. Available on IOS and Android.
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Requires
- php: ^7.1|^7.3|^8.1
- chillerlan/php-qrcode: ^4.3.4
- illuminate/support: ~5.8.0|6.x|7.x|8.x|9.x|10.x|11.x
- laravel/sanctum: ^2.3|^3.0|^3.2
- nesbot/carbon: ^1.21|^2.0
Requires (Dev)
- phpunit/phpunit: ^10.0
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.
