Download the PHP package gianlucagiacometti/alias without Composer

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

DEPRECATED

NOTE
THIS PLUGIN DOES NOT WORK IN RC 1.4.x AND ITS DEVELOPMENT IS DICONTINUED
all functionalities will be migrated into the new plugin roundcube-toolbox

AUTHOR

Gianluca Giacometti ([email protected])

VERSION

1.3.6

RELEASE DATE

10-05-2018

INSTALL

Requirements :

To install this plugin, copy all files into /plugin/aliases folder and add it to the plugin array in config/main.inc.php:

// List of active plugins (in plugins/ directory)

$rcmail_config['plugins'] = array('aliases');

CONFIGURATION

Copy 'config.inc.php.dist' to 'config.inc.php'.

Edit the plugin configuration file 'config.inc.php' and choose the appropriate options:

$rcmail_config['alias_driver'] = 'sql';

so far only sql is available

$rcmail_config['alias_sql_dsn'] = value;

example value: 'pgsql://username:password@host/database'
example value: 'mysql://username:password@host/database'

$rcmail_config['alias_sql_aliases'] = query;

query used to select all mailbox aliases
default mailbox alias to itself is excluded and managed by forward plugin
the query depends upon your postfixadmin database structure
placeholders %goto and %address must be kept unchanged

default query: 'SELECT * FROM alias WHERE goto = %goto AND domain = %domain AND address != %goto ORDER BY address'
example query: 'SELECT * FROM aliases WHERE forwardto = %goto AND domain = %domain AND address != %goto ORDER BY address'

$rcmail_config['alias_sql_allaliases'] = query;

query used to select all domain aliases but user's
need to avoid alias duplicates in the domain
the query depends upon your postfixadmin database structure
placeholders %domain, %goto and %address must be kept unchanged

default query: 'SELECT * FROM alias WHERE domain = %domain AND goto != %goto ORDER BY address'
example query: 'SELECT * FROM aliases WHERE domain = %domain AND forwardto != %goto ORDER BY address'

$rcmail_config['alias_sql_read'] = query;

query used to select an alias
the query depends upon your postfixadmin database structure
placeholders $goto and %address must be kept unchanged

default query: 'SELECT * FROM alias WHERE goto = %goto AND address = %address'
example query: 'SELECT * FROM aliases WHERE forwardto = %goto AND address = %address'

$rcmail_config['alias_sql_update'] = query;

query used to update an alias
the query depends upon your postfixadmin database structure
placeholders %newalias, %goto, %address and %active must be kept unchanged

default query: 'UPDATE alias SET address = %newalias, modified = %modified, active = %active WHERE goto = %goto AND address = %address'
example query: 'UPDATE aliases SET address = %newalias, active = %active WHERE forwardto = %goto AND address = %address'

$rcmail_config['alias_sql_delete'] = query;

query used to delete an alias
the query depends upon your postfixadmin database structure
placeholders %goto and %address must be kept unchanged

default query: 'DELETE FROM alias WHERE address = %address AND goto = %goto'
example query: 'DELETE FROM aliases WHERE address = %address AND forwardto = %goto'

$rcmail_config['alias_sql_create'] = query;

query used to create a new an alias
the query depends upon your postfixadmin database structure
placeholders %goto, %address, %domain, %created, %modified and %active must be kept unchanged

default query: 'INSERT INTO alias (address, goto, domain, created, modified, active) VALUES (%address, %goto, %domain, %created, %modified, %active)'
example query: 'INSERT INTO aliases (address, forwardto, domain, created, updated, active) VALUES (%address, %goto, %domain, %created, %modified, %active)'

LICENCE

Licensed under GNU GPL2 licence.

NOTE

The code is based on SieveRules plugin (sieverules) by Philip Weir. Thank you Philip.


All versions of alias with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.1
roundcube/plugin-installer Version >=0.1.2
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 gianlucagiacometti/alias contains the following files

Loading the files please wait ....