承接 kurl/silex-security-profiler-provider 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kurl/silex-security-profiler-provider

最新稳定版本:0.0.1

Composer 安装命令:

composer create-project kurl/silex-security-profiler-provider

包简介

Another URL shortener

README 文档

README

For some reason the security profiler component is absent from the standard Silex web profiler. This provider enables it.

Installation

Add the composer require:

{
    "require": {
        "kurl/silex-security-profiler-provider": "*"
    }
}

And then run:

$ composer update

Usage

This provider inherits the same configuration as the standard web profiler. Quite a few default providers are required to get the provider up and running...

<?php

$app = new Silex\Application();

$app->register(new Silex\Provider\TwigServiceProvider());
$app->register(new Silex\Provider\UrlGeneratorServiceProvider());
$app->register(new Silex\Provider\SecurityServiceProvider());
$app->register(
    new Silex\Provider\ServiceControllerServiceProvider(),
    array(
        // Inject your security configuration here 
        'security.firewalls'    => array()
    )
);

$app->register(
    new Kurl\Silex\Provider\WebProfilerServiceProvider(),
    array(
        'profiler.cache_dir' => '/path/to/cache/'
    )
);

Notes

The coverage tests take forever to run for a reason which evades me. The straight up tests are fine so I hope it is not causing an issue.

That was it!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固