定制 zdrojowa/rodo-module 二次开发

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

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

zdrojowa/rodo-module

Composer 安装命令:

composer require zdrojowa/rodo-module

包简介

Rodo

README 文档

README

Latest Version on Packagist Total Downloads Build Status StyleCI

Rodo service

Installation

Via Composer

$ composer require zdrojowa/rodo-module

NPM required:

"intl-tel-input": "^17.0.13",

Usage

  • Add in webpack.mix.js
mix.module('RodoModule', 'vendor/zdrojowa/rodo-module');
  • Add module RodoModule in config/selene.php
'modules' => [
    RodoModule::class,
],

'rodo' => [
        'email' => email,
        'username' => user name for RODO service,
        'password' => password for RODO service,
        'url' => url to RODO service,
        'source' => source in RODO service,
        'mail_title' => Title for email,
        'consents' => [
            'phone' => [id of consent in RODO service],
            'email' => [id of consent in RODO service]
        ]
    ],
  • Add provider RodoModule in config/app.php
'providers' => [
    RodoModuleServiceProvider::class,
],
  • Add translations RodoModule for popup in resources/lang/{lang}/rodo.php
<?php

return [
    'A problem occured' => 'A problem occured',
    'address' => 'Comapny address',
    'after' => 'after',
    'before' => 'before',
    'Choose' => 'Choose',
    'Choose the contact form' => 'Choose the contact form',
    'Correct the field' => 'Correct the field',
    'email' => 'email',
    'Email contact' => 'E-mail contact',
    'message' => 'Message',
    'Message sent successfully' => 'Message sent successfully',
    'Name and Surname' => 'Name & Surname',
    'Our advisor will contact you' => 'Our advisor will contact you',
    'Phone' => 'Phone',
    'phone' => 'phone',
    'Phone contact' => 'Phone contact',
    'Phone in hours' => 'Phone in hours',
    'Phone number' => 'Phone number',
    'phone_link' => 'link to phone',
    'Please try again later or directly' => 'Please try again later or directly',
    'required' => 'Required',
    'send message' => 'Send message',
    'We will contact you' => 'We will contact you',
    'phone_consent' => 'Phone consent',
    'email_consent' => 'Email consent',
];
  • Add in base view to show popup
<link rel="stylesheet" href="{{ asset('vendor/css/RodoModule.css') }}">
@include('RodoModule::popup', ['key' => 'GoogleEnterpriseKey'])
<script src="{{ mix('vendor/js/RodoModule.js') }}"></script>

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固