Git Product home page Git Product logo

lara-app's Introduction

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: [email protected]

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, [
            '[email protected]',
            // 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 [email protected] 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.

lara-app's People

Contributors

agordn52 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sssompal

lara-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.