Download the PHP package ptorn/bth-anax-user without Composer

On this page you can find all versions of the php package ptorn/bth-anax-user. 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 bth-anax-user

Anax user module Readme

Latest Stable Version Build Status CircleCI Scrutinizer Code Quality Code Coverage Build Status SensioLabsInsight

About

This is a user module for Anax. With this you can handle the users stored in your database. And validate a user and login the user.

You can also create new users, edit users and delete users.

Installation

This installation depends on a working db object loaded into DI. Which means you need to already have a configured database that is loaded into the DI-container.

You also need the session loaded into the DI-container.

With these dependencies taken care off you can continue by installing the module through composer by running the following command.

After the ptorn/user module is downloaded into your vendor-folder by running the command above we can start copying the needed files.

Router

The route file /vendor/ptorn/bth-anax-user/config/route/userController.php needs to be copied into /config/route/ This way the new routes will be automaticly loaded with all the other routes.

DI

Now we need to add the module to the DI-container. Copy /vendor/ptorn/bth-anax-user/config/di-user.php into /config/di/

Database

Now we need a table in the database to store the users. In /config/sql/setup.sql you will find the query needed to setup your database table. Don't forget to set your own database in the setup.sql

Views

The last step is to copy the views from /vendor/ptorn/user/bth-anax-user/view/user/ into /view/

Autoload Namespace

Add this to your composer.json "autoload": { "psr-4": { "Peto16\\": "src/", "testing\\": "test/src/" }

Usage

Once installation is done there will be some new routes available. /user/login /user/logout /user/create /user/delete/{Id}

License

This software carries a MIT license.


All versions of bth-anax-user with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
anax/htmlform Version ^1.0
anax/database Version ^1.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 ptorn/bth-anax-user contains the following files

Loading the files please wait ....