Download the PHP package access-manager/access-manager without Composer

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

Access Manager - Subscriber Manager for ISPs

Access Manager is a centralised radius based subscriber management system for WiFI Hotspot operators and Small/Medium ISPs. It supports Mikrotik as a NAC. It includes most of the features related to subscriber management. Including subscriber account, free/paid subscriptions, prepaid voucher generation and limiting subscription services based on data/time limit among others.

Supported NAC/Router Vendors:

Installation

Access Manager is written in PHP (Laravel Framework) and uses MySQL for database storage. Thus requires one time setup process to be followed. And this is going to be a lengthy one. And with that in mind, lets get started.

Prerequisite

Though Access Manager can be installed on any linux flavor, however in this example we'll be using Ubuntu Server 16.04 LTS. And I assume you have configured network interface with IP address of 192.168.1.10/24.

This is considered good practice to update your system packages time to time, so run following command to check & install available updates.

Next install the required packages:

NOTE: During the installation you'll be asked to set root password for MySQL server, choose a strong password and make a note of it, you'll need it later.

Access Manager manages its dependencies & updates using composer. So, before we can download Access Manager, we need to download composer by following instructions from official composer website: https://getcomposer.org/download/

After downloading composer you'll end up with composer.phar in current directory. After that, issue following commands:

The above mentioned commands will add executable bit to the composer file and move it to /usr/bin to make it globally accessible.

After having composer in place, we're ready to download Access Manager. In this example we'll download the project in current user's home directory. In case you're already not in the home directory type cd to change to home directory and pwd will output the path to current working directory, if you want to verify.

Now, to download Access Manager project issue following command:

Above mentioned command will download Access Manager 3.0-BETA & its dependencies. We'll also need to create a database we want to use for Access Manager. Use following commands to create a new databased called acmanager, you can choose whatever you want to name it:

when prompted enter the password for MySQL root user, you set during MySQL installation.

Press ctrl+d to get out of MySQL prompt.

Still being in the home directory issue following commands to get into project directory & make the storage directory writeable:

Since this is a fresh install, run following command for configuration setup.

This command will ask for a few inputs including MySQL username/password. For testing you can provide root username & password, but it is strongly recommended to create a new user with less privileges for production server.

Access Manager setup is complete but we need to configure apache web server to serve our project. If you want to host other projects/websites on this server multiple virtual servers can be created. But for this example I'll edit the default virtual server. Use following command to open virtualserver config file using vim text editor:

In this file we need to make two modifications:

  1. change document root to /home/{Your_User_Name}/access-manager/html
  2. add following code block somewhere within .... block.

Next step is to enable rewrite mode for apache.

Now, for the changes to take effect, restart apache server with following command:

At this point, you should be able to access the project by pointing your browser to IP address of the server, which in this case is 192.168.1.10. Login using admin credentials & create new accouts, subscriptions, routers and all other features of Access Manager. But one more thing left to be configured is freeradius. Installing & configuring Freeradius is same as earlier versions of Access Manager ie. 2.*.

MIND YOUR CREDENTIALS WHEN FOLLOWING OLDER EXAMPLES

To install & configure Freeradius server, refer to: http://accessmanager.in/userguide/install_and_configure_freeradius .

And to integrate Access Manager & Freeradius to complete the setup, follow:

http://accessmanager.in/userguide/integrate_access_manager_with_freeradius

Use following code for exec modules:

Hope you enjoy the project. :)


All versions of access-manager with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
access-manager/base Version 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 access-manager/access-manager contains the following files

Loading the files please wait ....