定制 amalricbzh/tools-bundle 二次开发

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

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

amalricbzh/tools-bundle

最新稳定版本:0.0.3

Composer 安装命令:

composer require amalricbzh/tools-bundle

包简介

Common tools for Symfony website

README 文档

README

Ce bundle embarque plusieurs outils ou réglages communs aux sites que je développe. Il n'a pas pour but d'embarquer de fonctionnalités. Je le complèterais au fur et à mesure de mes besoins.

Sécurité

Protection contre le ClickJacking

Ajout d'un header "X-Frame-Options: Deny".

Protection contre la lecture du cache du navigateur après la déconnection

Ecoute de l'évènement de déconnexion, et ajout d'un header Clear-Site-Data: cache

DEV : How to use a local version of this bundle

To work locally with this bundle:

  1. Create a lib subdirectory in your main project:

     mkdir lib
     cd lib
    
  2. Go in this lib directory and git clone the project:

    git clone https://gitlab.com/amalricbzh/tools-bundle.git
    
  3. Open your main project composer.json

  4. Replace amalricbzh/tools-bundle version with *@dev:
  "require": {
    ...
    "amalricbzh/tools-bundle": "*@dev",
    ...
   },
  1. Add the local path in the repositories section:
"repositories" : [
    {
      "type": "path",
      "url": "lib/ToolsBundle",
      "options": {
        "symlink": true
      }
    }
  ]
  1. Save the file and ask composer to use the local bundle. Open your application docker terminal and type:
     composer update amalricbzh/tools-bundle
    

NB : never commit these composer.json modifications !

That's all, your project now use the local bundle.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固