Download the PHP package aichadigital/lara-content without Composer

On this page you can find all versions of the php package aichadigital/lara-content. 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 lara-content

Lara Content

ALPHA VERSION: This package is in early development. The API may change without notice. Not recommended for production use yet.

Latest Version Total Downloads Pipeline Coverage PHPStan level 6 PHP Version Laravel Version License

Development happens on gitlab.castris.com. The GitHub repository is a read-only distribution mirror: issues and pull requests opened there are not seen.

Content management package for Laravel with pages, posts, blocks and menus. Supports Blade templates with optional Livewire components for interactivity. Includes multilingual support via Spatie Translatable.

Features

Requirements

Installation

Install via composer:

Publish and run migrations:

Publish the config file:

Optionally publish views for customization:

Configuration

Key configuration options in config/content.php:

Usage

Pages

Pages support flexible layouts with multiple content zones:

Posts

Blog posts with author attribution and the publishing workflow:

Publishing workflow, taxonomies and SEO

Posts and pages carry a 5-state editorial lifecycle via the publish_status column: draft, review, ready, published, archived (PublishStatus enum). The published_at timestamp schedules publication: a published post with a future date stays out of Post::published().

Taxonomies are many-to-many with translatable names:

SEO fields on posts: meta_title, meta_description, featured_image_alt (translatable), plus internal-only editorial fields (focus_keyword, secondary_keywords, internal_notes). Internal fields are declared in Post::INTERNAL_ATTRIBUTES and excluded from Post::publicAttributes(); they must never be rendered or exposed by public API surfaces.

Importing markdown posts

The command reads *.md files with YAML frontmatter and upserts posts by slug (idempotent; files without a slug key are skipped). Markdown bodies are converted to sanitized HTML at import time (content_type = html).

Frontmatter keys are consumer data, mapped through config/content.php:

The command exits non-zero when any file fails validation; --dry-run validates and reports without writing.

Menus

Hierarchical menus with nested items:

Blocks

Render blocks in your views:

Available Layouts

Slug Name Zones
single Single Column main
sidebar-left Sidebar Left main, sidebar
sidebar-right Sidebar Right main, sidebar
two-column Two Column left, right
three-column Three Column left, center, right

Available Blocks

Slug Name Interactive Description
html HTML Block No Raw HTML content
recent-posts Recent Posts No List of recent posts
menu Menu Block No Render a menu
contact-form Contact Form Yes Livewire contact form

Extending

Custom Layouts

Register custom layouts in your service provider:

Custom Blocks

Register custom blocks:

Testing

Changelog

Please see CHANGELOG for recent changes.

License

AGPL-3.0-or-later. See License File for details.


Lara Content (Español)

VERSION ALPHA: Este paquete está en desarrollo inicial. La API puede cambiar sin previo aviso. No recomendado para producción todavía.

Paquete de gestión de contenido para Laravel con páginas, posts, bloques y menús. Soporta plantillas Blade con componentes Livewire opcionales para interactividad. Incluye soporte multilingüe via Spatie Translatable.

Características

Requisitos

Instalación

Instalar via composer:

Publicar y ejecutar migraciones:

Publicar archivo de configuración:

Opcionalmente publicar vistas para personalización:

Uso

Páginas

Posts

Menús

Layouts Disponibles

Slug Nombre Zonas
single Una Columna main
sidebar-left Sidebar Izquierda main, sidebar
sidebar-right Sidebar Derecha main, sidebar
two-column Dos Columnas left, right
three-column Tres Columnas left, center, right

Bloques Disponibles

Slug Nombre Interactivo Descripción
html Bloque HTML No Contenido HTML
recent-posts Posts Recientes No Lista de posts recientes
menu Bloque Menú No Renderiza un menú
contact-form Formulario Contacto Sí Formulario Livewire

Extensión

Layouts Personalizados

Bloques Personalizados

Tests

Licencia

AGPL-3.0-or-later. Ver archivo de licencia para detalles.


All versions of lara-content with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^12.0||^13.0
spatie/laravel-package-tools Version ^1.16
spatie/laravel-translatable Version ^6.13
stevebauman/purify Version ^6.2
league/commonmark Version ^2.5
symfony/yaml Version ^6.4||^7.0||^8.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 aichadigital/lara-content contains the following files

Loading the files please wait ...