RU

← Расширения движка JumPHP

Externals

v0.5.79 jumphp/externals · MIT · Загрузок: 9

Big game data streamed from the playground: browse, search, read files by blocks, cached

Работает с JumPHP ^0.5

Что она даёт

  • list / search / stat the folders the administrator shares with the game
  • open a file and read any part of it: only its 64 KB blocks are downloaded (HTTP Range)
  • memory cache + persistent cache (IndexedDB in the browser): read once, not downloaded again
  • readAll() with progress for a whole file
  • local folders instead of the server on desktop and in tests

Добавить в игру

bin/jumphp extension:add <game> jumphp/externals

Или через Composer:

bin/jumphp composer <game> require jumphp/externals

Сервисы: JumPHP\Externals\Externals
Ключи project.yaml: externals

Пример игры Руководство Документация Исходный код Packagist

Отзывы об этом расширении

Войти Войдите через Git, чтобы оценить это расширение.

Отзывов пока нет: будьте первым.