Download the PHP package oi-lab/oi-laravel-publish without Composer

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

Latest Version on Packagist Total Downloads Tests

OI Laravel Publish

Recursive CMS pages with ordered blocks, code-defined templates, spatie/laravel-data typed props, and oi-lab/oi-laravel-attachments media.

The package ships the data layer only — models, data, form requests, migrations, config and a template registry. It does not ship controllers, routes or views; your application wires the UI.

Requirements

Installation

Publish and run the migrations:

Optionally publish the configuration (to customise templates, models, renderers):

Seed the renderer settings into your settings backend:

Settings are read and written through a pluggable SettingStore. Install the recommended oi-lab/oi-laravel-settings (listed under suggest) and it is wired automatically — no config needed. Without it, the package falls back to a generic key/value Setting model (config('oi-laravel-publish.settings')) or no-ops gracefully. See Advanced → Settings.

Concepts

Concept What it is
PublishPage A recursive page (parent_idchildren) owning ordered blocks and a cover.
PublishBlock An ordered block belonging to one page, owning cover + slides.
PublishTemplate A code-defined descriptor (key, type, default props, typed propsClass). Not a DB table.
PublishTemplateRegistry The catalogue of templates, from config + runtime registration.
PropsData / PropsCast Typed, spatie-data props for the JSON props column, ts-compatible.

Usage

Attachments

Resolving collaborators

Always go through the static resolver so config overrides apply:

Customizing models & templates

Override the models and templates config entries, or register templates at runtime from a service provider:

Testing

AI Assistant Skills

This package ships an AI assistant skill. Install it into a host app with:

Testing

License

The MIT License (MIT). Please see the License File for more information.

Credits

Olivier Lacombe - Creator and maintainer

Olivier is a Product & Technology Director based in Montpellier, France, with over 20 years of experience innovating in UX/UI and emerging technologies. He specializes in guiding enterprises toward cutting-edge digital solutions, combining user-centered design with continuous optimization and artificial intelligence integration.

Projects & Resources:

Support

For support, please open an issue on the GitHub repository.


All versions of oi-laravel-publish with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
oi-lab/oi-laravel-attachments Version ^1.0
spatie/laravel-data Version ^4.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 oi-lab/oi-laravel-publish contains the following files

Loading the files please wait ...