Download the PHP package johnyricio/presenter-factory without Composer

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

At this moment I don't have time, energy and money to maintain this project. But it's a shame so if you depend on this project and you want to become a sponsor or develop it further please don't hesitate to contact me. Otherwise, I am not able to guarantee bright future of this repo... :)

Enhanced presenter factory for Nette Framework

This package is fork of librette/presenter-factory. Unfortunately author of this package is not taking care of this package anymore. But it's very useful. So that's why. And now what:

Build Status

Nette Framework does have very simple presenter factory which helps you to map namespaces of presenters to the presenter name and vice versa. Unfortunately it's not possible to map two namespaces under one module section:

But with this package it is possible:

In this case Nette is going to look for presenters in two namespaces. This is extremely useful if you have a lot of bundles separated by functionality. For example you have API module with this mapping:

['Api' => 'Ant\ApiModule\Presenters\*Presenter']

Then you have Assets bundle. In this bundle you can setup mapping for presenters under Assets package but related to the API like this:

['Api' => 'Ant\Assets\ApiModule\Presenters\*Presenter']

I found this very useful.


All versions of presenter-factory with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
nette/application Version ^2.4
nette/bootstrap Version ^2.4
nette/component-model Version ^2.4
nette/di Version ^2.4
nette/http Version ^2.4
nette/robot-loader Version >=2.3
tracy/tracy Version ^2.3
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 johnyricio/presenter-factory contains the following files

Loading the files please wait ....