定制 samsonos/php_htaccess 二次开发

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

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

samsonos/php_htaccess

Composer 安装命令:

composer require samsonos/php_htaccess

包简介

SamsonPHP htaccess creating module

README 文档

README

#SamsonPHP module for automatic creating htaccess rules

##Using module in your project To use SamsonPHP framework in your project you must add its dependency in your composer.json:

    "require": {
        "samsonos/php_htaccess": "*"
    }, 

For parsing e404 rules from your .txt file you must create configuration and call method error404()

Example usage:

// Create configuration class
class HtaccessConfig extends \samson\core\Config
{
    public $__module = 'htaccesscreate';

    public $domain 	= 'example.com';
}

/*
*
*
*
*/

// Call parsing method
m('htaccesscreate')->error404('myfile.txt');

Developed by SamsonOS

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Open
  • 更新时间: 2014-12-10