Skip to content

Manage your Laravel project on the go! The LaraApp allows you to connect your Laravel project to your phone and monitor changes. It's free to get started and link your project.

License

Notifications You must be signed in to change notification settings

veskodigital/lara-app

Repository files navigation

LaraApp for Laravel, a pocket friendly IOS & Android companion app.

Official LaraApp package

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

IOS App

Android App

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.

About

Manage your Laravel project on the go! The LaraApp allows you to connect your Laravel project to your phone and monitor changes. It's free to get started and link your project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published