Skip to content

Network ​

php
interface Zairakai\LaravelDevTools\Update\Network

The requests that are not GitLab: Packagist, and the push notification.

Source: src/Update/Network.php

Methods ​

download() ​

php
public function download(string $url, $context = null): string|false

A request that can fail: the failure is the value false, never a warning.

notify() ​

php
public function notify(string $title, string $message): void

A push notification through ntfy, when NTFY_URL is set. A failure never stops the audit.

onPackagist() ​

php
public function onPackagist(string $name, string $version): bool

packagistReleases() ​

php
public function packagistReleases(string $name): array

The releases of a package on Packagist (metadata p2, as listed), or an empty list.

Returns list<array<string, mixed>>

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.