Download the PHP package pixlmint/pixl-cms without Composer

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

pixl-cms

A lightweight CMS API powered by Markdown and Nachos

Installation

Option 1 (recommended): Composer

The best way to add this to your project is by installing it through composer: composer require pixlmint/pixl-cms

Option 2

It's also possible to manually include the cms' source code in your project For that to work you'll still need to have composer working on your site. In your composer.json, under autoload > psr-4 add "PixlMint\\CMS\\": "path/to/cms/src" -The important part being the part before the colon, as otherwise the CMS code won't work

Once you're ready to get to work you'll have to execute composer dump-autoload

Finally (either way)

Then create a index.php file at the root of your website:

Here is a basic .htaccess configuration for hosting your site using Apache

And that's it! You now have a powerful CMS API at your fingertips.

API Documentation

View the full API documentation here: PixlCms Documentation

Plugins

Plugins are a great way to extend the functionality of the base CMS to your specific needs.

First Party Plugins

pixl-wiki

PixlMint Wiki GitHub Page

pixl-journal

PixlMint Journal GitHub Page

pixl-media

A powerful Plugin that adds routes for media upload (images and videos) and automatically scales them

PixlMint Media Plugin GitHub Page

Configuration

name

The Name of the plugin. If install_method is set to sourcecode, this needs to be the folder name within the plugins directory.

*install_method

A string which defines the method in which the plugin was installed. The available options are:

enabled

Whether the plugin is enabled. Defaults to true. If it's set to false, the cms won't load anything from the plugin.

config

The Plugin configuration - the best practice is to just require_once the plugins config.php file.

Example Configuration

Plugin Development

The best way to start developing plugins is to take a look at one of my first-party plugins.

CMS Configuration

Since PixlCMS is built with the Nacho Framework so for full configuration info look at the Nacho Wiki

Setting a custom Frontend Controller

The Frontend Controller is the Controller that handles all routes that don't point to an actual file (like an image/ video), and that don't start with /api.

Enable debug mode

Debug mode makes it easier to develop plugins by printing out full PHP errors


All versions of pixl-cms with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
pixlmint/nacho Version *
ext-zip Version *
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 pixlmint/pixl-cms contains the following files

Loading the files please wait ....