Download the PHP package dcodegroup/page-builder without Composer

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

Page Builder

This package provides functionality for a CMS like page builder in Laravel. This includes managing pages and their content.

The package is extendable on per-project basis: new components, templates and page layouts can be defined.

Installation

You can install the package via composer:

Then run the install command.

This will publish the configuration file and the migrations.

Then run the migrations:

Add as NPM dependency:

Install vite-plugin-static-copy

Install TinyMCE

Add to vite.config.js within plugins array after importing vite-plugin-static-copy:

Add as resolve alias:

Working config, if you'd like to put the routes into web.php:

Add these to the bottom of routes/web.php, these will publish the routes:

Configuration

Most of configuration has been set the fair defaults. However you can review the configuration file at config/page-builder.php and adjust as needed.

The configuration values are mostly used for adding middleware, prefixes and groups for the routes used by the admin and the site functionality.

Routes

The following routes are exposed by the package

Admin side:

Frontend side:

Extending

Components

Components can be added or changed using the DI container in Laravel. These examples should be added to one of your ServiceProvider (AppServiceProvider will do).

New components can be registered with the following method:

Existing components can be overwritten with the following method:

Component templates

The available templates for a component can be defined in the component's PHP class by overwriting the availableTemplates() method on the Module class. After this, the UI will show a select input where you can select which template do you want to use when rendering the page. The templates must be available as a view with the name of (e.g. for a Heading module): page-builder::modules.heading.my-template. For example, in a specific project, this is located at: {$projectRoot}/resources/views/vendor/page-builder/modules/heading/my-template.blade.php

Layout templates

The layout templates are managed from the /admin/templates page. First you have to create a new record with each added template. The key field of the template will be used when searching for the Blade view. The templates must be available as a view with the name of page-builder::templates.{$key}. E.g. in a specific project this can be at {$projectRoot}/resources/views/vendor/page-builder/templates/my-template.blade.php. In this case the template key will be my-template.


All versions of page-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravelcollective/html Version ^6.3
spatie/laravel-medialibrary Version ^10.0.0
dcodegroup/seo Version ^0.1.1
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 dcodegroup/page-builder contains the following files

Loading the files please wait ....