Download the PHP package otas/dynamic-pages without Composer

On this page you can find all versions of the php package otas/dynamic-pages. 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 dynamic-pages

Otas Dynamic Pages

A comprehensive Laravel dynamic pages package that provides a robust content management system with pages, sections, items, custom attributes, and keywords support. Built with multilingual capabilities and media management integration.

Features

Requirements

Installation

Install the package via Composer:

Quick Setup

Run the setup command to install and configure the package:

This command will:

Manual Installation

If you prefer manual setup:

  1. Publish the configuration file:

  2. Run the migrations:

  3. Cache the configuration:

Configuration

After installation, you can find the configuration file at config/dynamic_pages.php. Customize the package settings according to your needs.

Usage

Models

The package provides several core models:

Admin Controllers

Access the admin functionality through the provided controllers:

API Resources

The package includes API resources for all entities, suitable for frontend frameworks or mobile applications.

Multilingual Support

All content models support Arabic and English translations out of the box. The package uses the otas/translatable package for translation management.

Filtering

Advanced filtering is available for all models using the otas/filterable package. Filter classes are organized in:

Dependencies

This package depends on:

API Endpoints

The package provides three types of API endpoints with different access levels:

Admin Routes (Admin Interface)

Base prefix: Configurable via dynamic_pages.package_admin_routes_prefix

Support Routes (Support Interface)

Base prefix: Configurable via dynamic_pages.package_support_routes_prefix

Full CRUD operations available for all resources:

Website Routes (Public Interface)

Base prefix: Configurable via dynamic_pages.package_website_routes_prefix

Configuration

The package can be configured via the config/dynamic_pages.php file:

Route Configuration

Middleware Configuration

Configuration Keys Usage

Content Seeding

The package provides a comprehensive content seeding system to help you populate your dynamic pages with initial content.

Using the Content Seeder

  1. Publish the Content Seeder:

  2. Locate the Seeder: Find the published seeder at database/seeders/DynamicPagesContentSeeder.php

  3. Configure Content: Edit the seeder file to define your content structure:

  4. Run the Seeder:

Content Structure

The seeder supports the following structure:

Seeder Features

Database Structure

The package creates the following tables:

License

This package is open-sourced software licensed under the MIT license.


All versions of dynamic-pages with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version >=11.0
otas/translatable Version >=1.0
otas/filterable Version >=1.0
otas/mediable Version >=1.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 otas/dynamic-pages contains the following files

Loading the files please wait ...