Download the PHP package sjorsvanleeuwen/webmixx without Composer

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

Webmixx

This package allows to build a website quick and simple within a laravel application. Build your templates, create your Pages and put them in a Menu.

Installation

Install it as usual:

It should work out of the box in a local environment after you publish the assets for the backend:

Usage

Pages and PageTemplates

Log in as any user and go to: /webmixx/dashboard and create a PageTemplate and add some PageAttributeTemplates.

Next, create a Page and select your newly created PageTemplate and fill the form.

Afterwards create your PageTemplate blade file. If you did not change the config file, this should be created in your project resources folder in resources/views/webmixx_templates/Page.

Use the name of your PageTemplate as name of your blade template.

Check your PageTemplates show url for a quick start of your PageTemplate.

When you are done with building your template file, visit /preview/Page/{id of your Page}, or simply click it from the Page list in the backend.

Menus

Create your Menu in the admin interface and add Pages to it.

For more advanced usage, you can add other Models to your Menu by creating a config setting in. Look for the Page settings for an example.

After that create a menu template file in: resources/views/webmixx_templates/menu. It should be named as a slug representation of your Menu name.

In your Menu template you will have a $menuItems available which is a collection of MenuItems that are on top level.

Next include it in your views with our Blade Component:

PageModuleSet and PageModuleItem

Imagine having already build a nice news module, or a slideshow module.

It would be really nice to somehow include them in your Pages.

This can be done easily with PageModuleSets and PageModuleItems.

PageModuleSet

Sticking with the news example, we want to list the 3 most recent news articles in a component on one or more Pages.

First create a new class, it can be located anywhere and let it implement \SjorsvanLeeuwen\Webmixx\Contracts\ModuleSetFieldType\ModuleSetFieldType.

Implement the functions in the interface:

This could look something like this:

Next register it in your AppServiceProvider boot method:

Now, when building a PageTemplate and adding a ModuleSet it will provide you with another field called Data Provider.

Select your freshly build ModuleSet (it will show up with the name given in the getModuleDisplayName function).

When you build a Page with your new PageTemplate, the module will not be visible since there is no data to be configured for this attribute.

PageModuleItem

PageModuleItems work quite the same, with one small difference: when building a Page you get an option to choose which of the items provided you want to embed in your Page.

Let's stick with the slideshow example. We want a slideshow on every Page, just not the same on every Page.

As before, create a new class but this time implement ModuleItemFieldType.

Implement the functions in the interface:

This could look something like this:

As before, now register it in your AppServiceProvider

Now, when building a PageTemplate and adding a ModuleItem it will provide you with another field called Data Provider.

Select your freshly build ModuleItem (it will show up with the name given in the getModuleDisplayName function).

When you build a Page with your new PageTemplate, you will see a select element containing all the available slideshows.


All versions of webmixx with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/collections Version ^8.0
illuminate/database Version ^8.0
illuminate/support Version ^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 sjorsvanleeuwen/webmixx contains the following files

Loading the files please wait ....