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
Download the IOS/Android app for free and link your Laravel project, follow the installation below once you have the app.
First, install the package via composer:
composer require veskodigital/lara-app
The package will automatically register itself.
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: [email protected]
Password: app123
You can change the login details by running php artisan laraapp:updateuser
Once you run the php artisan laraapp:install
command, it will copy the config to config/laraapp.php where you can edit it.
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, [
'[email protected]',
// e.g. above...
]);
});
}
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
Please see CHANGELOG for more information about what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
VeskoDigital is a development team based in the UK, we do mobile and web applications on our website.
The MIT License (MIT). Please see License File for more information.