glitchr/acme-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

glitchr/acme-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require glitchr/acme-bundle

包简介

ACME Skeleton Bundle for Symfony5

README 文档

README

ACME Skeleton for the integration of third-party bundles

Installation

This bundle is setup to provide a ready-to-use skeleton. It includes some alternatives in the configuration and some basic features. You can install this bundle using the command:

composer require glitchr/acme-bundle # Use this line for the stable release
composer require --dev glitchr/acme-bundle:dev-admin # Use this line to get thee current work-in-progress branch

Bundle information

The configuration of the bundle is automatic, if you configured the autoconfiguration/autowire options in your symfony project.

The bundle contains:

  • A service class called "AcmeService", this one can be autowire to any Symfony class
  • A controller class pointing to route "http://yourdomain.com/acme"
  • A model entity named "Anvil"
  • A configuration file should be located in ./config/packages/acme_bundle.yaml (https://github.com/symfony/recipes-contrib, it depends on symfony flex package..)
  • A public directory installed in ./public/bundles/acme/ that contains a 'dummy' directory named assets

How to setup a controller?

The class are only loaded if required in one class of your Symfony project For instance an example class would be display the welcome page of the bundle.

// ./src/Controller/AcmeController.php
<?php

namespace Base\Controller;

use Twig\Environment;
use Acme\Bundle\Service\AcmeService;

class AcmeController extends \Acme\Bundle\Controller\AcmeController
{
    public function __construct(Environment $twig, AcmeService $service)
    {
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固