Download the PHP package flobbos/laravel-pagebuilder without Composer

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

Laravel-Pagebuilder

Docs

Installation

Install the package

Install pagebuilder

Laravel 5.7+

This will run all migrations and trigger the seeder for the initial elements and a language entry

Configuration

The only thing in the config file is the classes you wish to use with Pagebuilder.

You need to generate a model class first using the built in generator.

Set additional classes that are supposed to run in a Pagebuilder controller. You can generate multiple controllers for multiple resources using the Pagebuilder.

This setting in the generated controller will tell it which resource it needs to use for generating content.

Generators

You can generate the controller and views for creating pagebuilder based resources using the following generator commands:

This will generate a complete resource controller named PageController where the routes and view calls are replaced with the values above. The views will always be prefixed with vendor.

Use the corresponding routes that you set with the controller and it will all work magically.

This will generate a Page model that extends the BasePage model that comes with the package so all necessary relationships and translation options are included. This step is necessary to be able to generate content because the BasePage model should not be used as a resource directly.

Slugs

The pagebuilder is capable of generating translated URL slugs for you. All you need to do is uncomment the following line from your generated model:

This will tell the pagebuilder which field in the translations is supposed to generate the URL slug. The slug will automatically be regenerated when you change the named field.

Fields

There are some basic fields in the settings area for an resource but you are free to add as many additional fields as needed. These fields will be automatically saved in the database without further modifications to the DB structure.

JS Components

To use the pagebuilder you need to install its VueJS counterpart by running:

All the needed documentation can be found here: Vue Pagebuilder

Laravel compatibility

Laravel Crudable
9.x >2.0.0
8.x >1.0.10
7.x >1.0.10
6.x >1.0.3
5.8 >1.0.0
5.7 >1.0.0

All versions of laravel-pagebuilder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1
illuminate/support Version 9.*|10.*
flobbos/laravel-translatable-db Version ^1.4
cocur/slugify Version ^4.0
livewire/livewire Version ^2.4
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 flobbos/laravel-pagebuilder contains the following files

Loading the files please wait ....