Download the PHP package laradium/laradium-content without Composer

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

Content module for Laradium cms

Installation

For local use

  1. Add this to your project repositories list in composer.json file

Directory structure should look like this

For global use

  1. Configure config/laradium.php file with your preferences
  2. Add widgetConstructor field to you laradium.php field list

Usage

By default there comes Main channel with widget constructor, which allows you to create sortable widget blocks for your needs.

Creating new channels

  1. Run this command (It automatically creates model for you You can pass --t argument to also create translations model)

It will create new Channel under App\Laradium\Channels

It should look like this

You need to create model for Blog channel where you can specify all your needed columns and using morphsTo field type you can add them to you channel

Creating widgets

  1. Run this command php artisan laradium:widget (It automatically creates model for you You can pass --t argument to also create translations model)

It creates a widget under App\Laradium\Widgets

You can specify your fields under fields method.

Page resolver

To actually return created pages, you need to add the page resolver route at the end of your routes file, or to your RouteServiceProvider.php file.

To do this, you can simply use the helper method content()->pageRoute(), or you can create your own route, but as the resolver route is configurable, there shouldn't be a need for that.

The config file, provides you with some options, to change the behaviour of the page resolver, in case you need some customization.


All versions of laradium-content with dependencies

PHP Build Version
Package Version
No informations.
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 laradium/laradium-content contains the following files

Loading the files please wait ....