Download the PHP package rabarvp1/self-updater without Composer

On this page you can find all versions of the php package rabarvp1/self-updater. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package self-updater

Snawbar Self-Updater

A complete Laravel package for handling system auto-updates, license verification, and update progress UI for Snawbar applications.

Features

Installation

To use this package in any new project (like your Restaurant system), you should host the package on a private Git repository (like GitHub or GitLab).

Step 1: Add the Repository

Add the repository to your new project's composer.json file:

(If you are developing locally and the package folder is next to your project, you can use "type": "path" and "url": "../self-updater" instead).

Step 2: Download the Package

Once the repository is defined, you can download and install the package via composer:

Setup & Requirements

1. Database Requirements

Your application must have a system_updates table to keep track of versions. A basic migration should look like this:

2. Configuration Keys

The package provides its own configuration file which you can publish to your application:

This will create a config/self-updater.php file in your project. You must define your endpoints here. This allows you to use the package for completely different projects (e.g. Cashier vs Restaurant) by just pointing them to different servers:

config/self-updater.php:

(Note: If you don't publish the config, it will gracefully fallback to your config('system.xxx') and config('license.xxx') variables).

Usage

Integrating the UI Components

To show the update panel in your dashboard, simply include the package's views in your Blade templates.

For example, in your dashboard.blade.php:

How to trigger the UI

The UI components depend on an $updateData array, which you can retrieve from the UpdateCheckService:

Routes

The package automatically registers the following routes under the web and auth middlewares:

License

The MIT License (MIT). Please see License File for more information.


All versions of self-updater with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rabarvp1/self-updater contains the following files

Loading the files please wait ...