Download the PHP package dsoares/lastlogin without Composer

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

Roundcube plugin lastlogin

Roundcube plugin to save and show user login information (user login history).

When a user logs in into Roundcube, this plugin:

  1. shows the user's last login information in a small box for N configurable seconds;
  2. saves the information to a database table for history purposes.

The login history may be consulted in its own Settings tab.

If using the geolocation plugin (config option lastlogin_geolocation is true) and you have some organization internal networks configured there, that information will be shown. Also, if using the geolocation plugin with the system method, don't forget to enable the PHP GeoIP extension. For more information, see the geolocation plugin configuration.

The plugin provides a section in settings for the user to configure for how long (number of seconds) to show a notification with last access information on login.

Stable versions of this plugin are available from the Roundcube plugin repository or the releases section of the GitHub repository.

Requirements

Installation

Install with composer

Add the plugin to your composer.json file:

"require": {
    (...)
    "dsoares/lastlogin": "*"
}

Run:

$ composer update [--your-options]`

Copy config.inc.php.dist to config.inc.php and modify it as necessary.

Manual installation

Place this directory under your Rouncdube plugins/ folder, copy config.inc.php.dist to config.inc.php and modify it as necessary. Then, you need to import the database script:

mysql -your_mysql_connection_options your_roundcube_database_name < SQL/mysql.initial.sql

NOTE: The plugin ships only with a MySQL/MariaDB script SQL/mysql.initial.sql; you are welcome to contribute with other database drivers.

Don't forget to enable the lastlogin plugin within the main Roundcube configuration file config/config.inc.php.

Configuration

See the config.inc.php.dist for more information.

If you don't want the lastlogin_timeout setting to be overriden by the user, you can add it to your Roundcube dont_override.

License

This plugin is released under the GNU General Public License Version 3+.

Contact

Comments and suggestions are welcome!

Email: Diana Soares


All versions of lastlogin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
roundcube/plugin-installer Version >=0.1.2
dsoares/geolocation Version >=0.1
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 dsoares/lastlogin contains the following files

Loading the files please wait ....