Download the PHP package mobikul/mobikul_loader without Composer

On this page you can find all versions of the php package mobikul/mobikul_loader. 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 mobikul_loader

Mobikul Loader for NativePHP Mobile

Show and hide loader state in NativePHP Mobile apps, with optional Blade and web view support.

To find out more, visit: https://mobikul.com/

What this plugin does

mobikul_loader provides two NativePHP bridge methods:

These methods return loader state that your app can use while processing actions such as login, sync, or API requests.

The package also includes an optional HTML, CSS, and JavaScript helper for Blade-based screens or hybrid web views where you want a ready-made overlay spinner.

Requirements

Installation

Install the package:

Register the plugin with NativePHP:

If this is your first time installing the plugin, or if you later change native bridge files, rebuild the native layer:

If you install from the NativePHP marketplace, configure the NativePHP Composer repository and credentials first:

Optional Asset Publishing

If you want to use the included Blade or web view loader UI, publish the package assets:

This publishes the loader files to:

Quick Start

Example login flow using the bridge methods from a NativePHP web view:

JavaScript Usage

You can call the bridge endpoint directly:

Or use the included helper module from mobikulLoader.js:

The helper is intended for bundled frontend code in your app. The import path above is an example and may need to be adjusted to match your app's frontend build setup. If you are not using a bundler, call the bridge endpoint directly.

Bridge Methods

MobikulLoader.Show

Marks the loader as visible and returns the resolved loader state.

Parameters:

Returns:

MobikulLoader.Hide

Marks the loader as hidden and returns the resolved loader state.

Returns:

Blade and Web View Helper

If your NativePHP app renders Blade or hybrid web views, you can use the included helper to render a loader overlay after publishing assets:

Important Behavior

This plugin currently provides loader state bridge responses and optional web-based loader UI helpers. The native bridge implementations return a success payload that your app can use to coordinate loading behavior on Android and iOS.

If your app needs a fully rendered platform-native overlay component, extend the native bridge implementations in:

Permissions

This plugin does not require any special permissions.

Events

This plugin does not dispatch any custom NativePHP events in the current version.

Validation

Run validation from your NativePHP app root:

If you change native bridge code or the plugin manifest, rebuild the native layer:

Versioning

This plugin follows semantic versioning.

Preview

Loader UI example inside a NativePHP Mobile login screen:

Mobikul Loader Preview

All versions of mobikul_loader with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13
nativephp/mobile Version ^3.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 mobikul/mobikul_loader contains the following files

Loading the files please wait ...