Download the PHP package egeatech/app-updater without Composer
On this page you can find all versions of the php package egeatech/app-updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download egeatech/app-updater
More information about egeatech/app-updater
Files in egeatech/app-updater
Package app-updater
Short Description A package to handle mobile applications self-update
License MIT
Homepage https://github.com/EgeatechSRL/app-updater
Informations about the package app-updater
AppUpdater
A package to handle updates distribution of mobile applications which are not published in the official stores.
Installation
This package supports Laravel 7 and 8.
Via Composer
Usage
Route registration
To use this package you simply have to register its routes. An example would be in your app RouteServiceProvider
:
just paste this in the boot()
method
and you will be ready to go.
Optionally, you can define custom per-route middlewares or change the prefix of the routes defined by the package:
simply pass to the routes()
function a EgeaTech\AppUpdater\Http\Routing\RoutingOptions
object defining your settings
of choice. An example usage is this:
Configuration publishing
The package comes with a small configuration file which configures some little aspects. To publish it, run
Migrations publishing
The package will add an extra table to your database, to save all available applications. Publish its migration to get started by running
NOTE: The published file can be modified but be aware that updating the structure will require to update the dependency injection defined by the package (more on this later).
Dependency injection
The package is highly configurable, as most of its components are handled via interfaces wired by Laravel DI mechanism
to concrete classes. In order to override the components of the package (Form Requests, JSON resources, Eloquent Model,
Service and Repository classes) you'll have to create a new ServiceProvider
class to bind package own interface to
your own custom class. In this example we'll reassign the Application
model to another entity.
After defining the new ServiceProvider
class, don't forget to add it to your config/app.php
file, in the providers
array.
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
- Egea Tecnologie Informatiche
- Marco Guidolin
License
The software is licensed under MIT. Please see the license file for more information.
All versions of app-updater with dependencies
ext-fileinfo Version *
ext-json Version *
illuminate/support Version ~6|~7|~8|~9|~10
bensampo/laravel-enum Version ^v6.7.0