承接 bolt/bolt-extension-starter-extended 相关项目开发

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

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

bolt/bolt-extension-starter-extended

最新稳定版本:v3.0.2

Composer 安装命令:

composer require bolt/bolt-extension-starter-extended

包简介

A description about your extension should go here.

关键字:

README 文档

README

An extended starter skeleton for a Bolt Extension

Installation

To get going run the following command, replacing the last argument with the name of your extension:

composer create-project --no-install 'bolt/bolt-extension-starter-extended:^3.0' <newextname>

Extension Content

This extension includes examples for the following features:

  • Routes

    • Handling inside extension class
    • Handling inside a controller class
    • Twig response
    • JSON response
    • URL parameter
    • GET and POST parameter
  • Accessing config

    • Extension config
    • Global config
  • Own Twig functions

  • Own Fieldtypes

  • Event listeners

    • Handling inside extension class
    • Handling inside a listener class
  • Own Menu Options

Routes

This extension adds several example routes to the system to show you how to define them inline in your Extension class or in a separate controller.

/example/url returns "Hello, Bolt!" as plain text.

/example/url/in/controller returns "Hello, World!" as plain text but will be handled in a controller class.

/example/url/json returns a key value pair in JSON.

/example/url/parameter/{id} returns the given url parameter as JSON.

/example/url/get-parameter?foo=bar&baz=foo&id=7 returns the given GET parameter as JSON.

/example/url/template returns content from a Twig template.

Own Menu Options

This extension adds /bolt/my-custom-backend-page as Custom Page to the menu in the admin backend. It appears under Extras.

You are not limited to just backend sites or sites served by Bolt. You can add any URL to the menu in the admin backend.

For more information, see this page in the Bolt documentation: https://docs.bolt.cm/extensions/config

统计信息

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

GitHub 信息

  • Stars: 15
  • Watchers: 5
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固