Download the PHP package mamuz/mamuz-blog without Composer

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

MamuzBlog

Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight HHVM Status Dependency Status

Latest Stable Version Latest Unstable Version Total Downloads License

Features

Screenshot
MamuzBlog

Installation

The recommended way to install mamuz/mamuz-blog is through composer by adding dependency to your composer.json:

After that run composer update and enable this module for ZF2 by adding MamuzBlog to modules in ./config/application.config.php:

This module is based on DoctrineORMModule and be sure that you have already configured database connection.

Create database tables with command line tool provided by DoctrineORMModule:

Configuration

Post identity encryption for hyperlinks

Encryption is supported by hashids/hashids and have to be configured by copy ./vendor/mamuz-blog/config/crypt.local.php.dist to ./config/autoload/crypt.local.php. Be sure that this file is not under version control. The only thing you have to do is changing salt value to any complex string.

Default configuration

Besides configuration for identity encryption this module is usable out of the box, but you can overwrite default configuration by adding a config file in ./config/autoload directory. For default configuration see module.config.php

Pagination

Listings of posts and tags includes a pagination feature, which seperates views to a default range. Default range is overwritable by adding a config file in ./config/autoload directory.

Posts

Post listing is provided by route blogPublishedPosts and default range is two items.

Tags

Tag listing is provided by route blogTags and default range is 10 items.

Creating a new Post

Create an entity in MamuzBlogPost repository and tag it in related MamuzBlogTag.

Admin Module to provide an interface for that is planned.

Workflow

If routing to a dedicated post found by published flag and encrypted identity is successful, post content will be responsed in a new view model rendered as markdown, otherwise it will set a 404 status code to the http response object.

Events

For the sake of simplicity Event is used for FQN MamuzBlog\EventManager\Event.

The following events are triggered by Event::IDENTIFIER mamuz-blog:

Name Constant Description
createPaginator.pre Event::PRE_PAGINATION_CREATE Before pagination creation for posts/tags listing
createPaginator.post Event::POST_PAGINATION_CREATE After pagination creation for posts/tags listing
findPublishedPost.pre Event::PRE_FIND_PUBLISHED_POST Before dedicated post retrieval
findPublishedPost.post Event::POST_FIND_PUBLISHED_POST After dedicated post retrieval

Terminology


All versions of mamuz-blog with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
ext-intl Version *
zendframework/zend-mvc Version ~2.3
zendframework/zend-servicemanager Version ~2.3
zendframework/zend-eventmanager Version ~2.3
zendframework/zend-modulemanager Version ~2.3
zendframework/zend-loader Version ~2.3
zendframework/zend-view Version ~2.3
zendframework/zend-http Version ~2.3
zendframework/zend-form Version ~2.3
zendframework/zend-i18n Version ~2.3
doctrine/doctrine-orm-module Version ~0.8
maglnet/magl-markdown Version ~1.3
neilime/zf2-twb-bundle Version ~2.4
hashids/hashids Version ~1.0.5
cocur/slugify Version ~1.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 mamuz/mamuz-blog contains the following files

Loading the files please wait ....