定制 atayahmet/glad 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

atayahmet/glad

Composer 安装命令:

composer require atayahmet/glad

包简介

Authentication package for php

README 文档

README

Documentation Status Build Status Scrutinizer Code Quality Total Downloads License Code Climate

It is an authentication package for your project you can quickly and simply integrated. Whether composer supported the use of any framework or use native PHP projects, establishing the Composer.

Below you will find links on how to use a few framework.

Features

  • Simple and permanent method names in mind.
  • It can be used quickly with a few small configuration.
  • Customizable usage.
  • The flexible structure can create their own provider you can encode several classes again on this occasion.
  • Cache flexibility in the structure and to provide a quick start with the hosting service in the current cache.
  • All classes with attentive and intelligent testing scenarios to be written.

Install

Glad Auth package you need to add to your project with the composer. If you have not used before, composer or composer is not installed, you can start from the following link: Composer

add to section require in composer.json:

"atayahmet/glad" : "1.0.*@dev"

after run the:

$ composer update

login:

use Glad\Glad;

Glad::login(['email' => 'ali.yildiz@example.com', 'password' => '1234123']);

if(Glad::status() === true) {
	
	// do something...

}

register

use Glad\Glad;

Glad::register([
	'firstname' => 'Can',
	'lastname'	=> 'ÖZTÜRK',
	'email'		=> 'can.ozturk@example.com',
	'password'	=> '123412'
]);

if(Glad::status() === true) {
	
	// do something...

}

#Documentation Documentation is written in readthedocs.org.

- Click for Documentation

#Use in Frameworks (Demos)

In terms of the integration it is made by way of example below with a few framework.

We hope that is helpful.

- Laravel 5.1

- CodeIgniter 3

- FuelPHP 1.7

Gitter:

Gitter

统计信息

  • 总下载量: 41
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-02