thinkphp-auth

 by   liliuwei PHP Version: v2.0.0 License: No License

kandi X-RAY | thinkphp-auth Summary

kandi X-RAY | thinkphp-auth Summary

thinkphp-auth is a PHP library. thinkphp-auth has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

thinkphp-auth
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              thinkphp-auth has a low active ecosystem.
              It has 21 star(s) with 7 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of thinkphp-auth is v2.0.0

            kandi-Quality Quality

              thinkphp-auth has 0 bugs and 0 code smells.

            kandi-Security Security

              thinkphp-auth has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              thinkphp-auth code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              thinkphp-auth does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              thinkphp-auth releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed thinkphp-auth and discovered the below as its top functions. This is intended to give you an instant insight into thinkphp-auth implemented functionality, and help decide if they suit your requirements.
            • get auth list
            • check auth list
            • Get the groups for a user
            • Get user info
            Get all kandi verified functions for this library.

            thinkphp-auth Key Features

            No Key Features are available at this moment for thinkphp-auth.

            thinkphp-auth Examples and Code Snippets

            thinkphp-auth,用法示例
            PHPdot img1Lines of Code : 112dot img1no licencesLicense : No License
            copy iconCopy
            
            /**
             * 权限认证类
             * 功能特性:
             * 1,是对规则进行认证,不是对节点进行认证。用户可以把节点当作规则名称实现对节点进行认证。
             *      $auth = new \liliuwei\think\Auth();  $auth->check('规则名称','用户id')
             * 2,可以同时对多条规则进行认证,并设置多条规则的关系(or或者and)
             *      $auth = new \liliuwei\think\Auth();  $auth->check('规则  
            thinkphp-auth,导入数据表
            PHPdot img2Lines of Code : 67dot img2no licencesLicense : No License
            copy iconCopy
            /*
            -- ----------------------------
            -- tp_admin,用户表,
            -- id:主键,is_admin:是否是管理员
            -- ----------------------------
             DROP TABLE IF EXISTS `tp_admin`;
            CREATE TABLE `tp_admin` (
              `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
              `is_admin` tin  
            thinkphp-auth,配置
            PHPdot img3Lines of Code : 12dot img3no licencesLicense : No License
            copy iconCopy
            // 安装之后会在config目录里生成auth.php配置文件
            return[
                // 权限设置
                'auth_config'            => [
                    'auth_on'            => true,                      // 认证开关
                    'auth_type'          => 1,                         // 认证方式,1为实时认证;2为登录认证。
                   

            Community Discussions

            No Community Discussions are available at this moment for thinkphp-auth.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install thinkphp-auth

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/liliuwei/thinkphp-auth.git

          • CLI

            gh repo clone liliuwei/thinkphp-auth

          • sshUrl

            git@github.com:liliuwei/thinkphp-auth.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link