Download the PHP package nexus-cms/laravel without Composer

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

nexus-cms/laravel

Headless Laravel content store for Nexus CMS.

It is the content store, the REST API the Next.js client talks to, the edit-mode token mint, and it manages versions and force-update.

Visual editing happens in the in-context overlay on the frontend. This package has no Filament dependency — drop it into any Laravel app and wire your own auth for token minting.

Docs: https://nexus.mkiteg.com/docs/laravel
Frontend packages: npm install nexus-cms

Migration: nexus-cms/filament is deprecated. Use nexus-cms/laravel.

Install

The service provider auto-registers. Import the schema produced by nexus generate:

REST API

Mounted at config('nexus-cms.route_prefix') (default api/nexus):

Method Path Auth Purpose
GET /schema public The cms-schema.json
GET /content/{page} public (published) / token (draft) Content document
POST /tokens host-app auth (token_middleware) Mint edit-mode token (+ optional redirect)
PUT /content/{page}/override Nexus token Save one region override
DELETE /content/{page}/override Nexus token Revert one region (?regionId=)
PUT /content/{page}/overrides Nexus token Replace full override map
PUT /content/{page}/seo Nexus token Save draft SEO
POST /content/{page}/publish Nexus token Publish draft, create version, force-update
GET /content/{page}/versions public Version history
GET /content/{page}/versions/{id} public A version snapshot
POST /content/{page}/versions/{id}/restore Nexus token Roll back (?publish=0 = draft only)
POST /media Nexus token Upload an image
GET /media public Media library

{page} is the encoded route: / → _root, /a/b → a~b (matches the Next.js client).

Mint an edit token

Response:

Pass "redirect": true to redirect the browser into editUrl instead of JSON. Configure mint auth with NEXUS_TOKEN_MIDDLEWARE (default auth:sanctum).

Handshake + force update

Key env

Development


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/contracts Version ^10.0 || ^11.0
illuminate/support Version ^10.0 || ^11.0
spatie/laravel-package-tools Version ^1.16
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 nexus-cms/laravel contains the following files

Loading the files please wait ...