Download the PHP package buni/cms-core without Composer
On this page you can find all versions of the php package buni/cms-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download buni/cms-core
More information about buni/cms-core
Files in buni/cms-core
Package cms-core
Short Description Buni CMS - turns a Laravel app into a full CMS
License MIT
Informations about the package cms-core
Buni CMS
This package provides a CMS scaffold for Laravel. It includes an installer, themes and plugins scaffolding, basic models, migrations and stubs for dashboard features.
Install via composer (local path during development):
composer require buni/cms:dev-main
Updater
This package includes a built-in updater service (Buni\\Cms\\Services\\Updater) which can check a remote JSON endpoint (configured via buni.updates.endpoint) that must return at least:
bash php artisan buni:install --yes
- If
sha256is present the updater verifies the downloaded ZIP matches the checksum and will abort on mismatch. - If a release is signed the metadata can include a
signature(base64 of the signature) orsignature_urlto fetch the signature. The updater uses the configured public key atbuni.updates.public_keyto verify the release using SHA256+RSA (OpenSSL). The updater will abort if signature verification fails. - The updater extracts the ZIP to a temporary location and performs an atomic swap (rename) of the package directory, keeping a timestamped backup directory for rollback.
- The updater supports
dry(preview) andmigrateoptions when invoked via thebuni:updatecommand.
Security notes
- Provide signed releases or at minimum a checksum in the update metadata to detect tampering.
- The current implementation performs a best-effort atomic swap via filesystem renames; on some filesystems (network mounts) atomicity may not be guaranteed.
- Test updates in a safe environment before applying to production. Backups are kept under the package parent directory named
buni_update_backup_<ts>.
Usage
Via artisan:
Or call the service from code and provide a Guzzle client for testing:
All versions of cms-core with dependencies
composer-plugin-api Version ^2.0
nikic/php-parser Version ^4.15|^5.0
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ^10.0|^11.0|^12.0
laravel/sanctum Version ^3.3|^4.0
laravel/socialite Version ^5.24
pragmarx/google2fa Version ^9.0