friendsofmautic/bundle-skeleton
Composer 安装命令:
composer require friendsofmautic/bundle-skeleton
包简介
Mautic files available via composer for easier develop of a new bundle
README 文档
README
<?php namespace MauticPlugin\VocativeBundle; use Mautic\PluginBundle\Bundle\PluginBundleBase; class VocativeBundle extends PluginBundleBase { }
Try that in your IDE without the PluginBundleBase class available. Pain in the %body_part%.
Purpose
By fetching this skeleton to your code, the problem is solved. Your IDE will finally get access to all those classes you are inheriting from.
Usage
composer require-dev friendsofmautic/bundle-skeleton- copy & paste whole MauticBundleSkeleton under name of your bundle name to a place you want
- replace in the copied MauticBundleSkeleton the Skeleton word in every place by your bundle name
- get inspired by EventListener\WhyMeSubscriber and remove it, or rewrite
Troubleshooting
If any error happens, check the logs for what happened.
- they are placed in app/logs dir in your Mautic, like
/var/www/mautic/app/logs/mautic_prod-2016-02-19.phpfor example - or, if they are more fatal or just Mautic does not catch them (error 500), see your web-server logs, like
/var/log/apache2/error.log
Technical details
This library provides Mautic code by composer (packagist.org respectively),
Hint for mautic Twig plugin
If you are going to create a Mautic plugin for Twig, a good start can be mautic-twig-plugin-skeleton.
friendsofmautic/bundle-skeleton 适用场景与选型建议
friendsofmautic/bundle-skeleton 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 133 次下载、GitHub Stars 达 3, 最近一次更新时间为 2016 年 02 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 friendsofmautic/bundle-skeleton 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 friendsofmautic/bundle-skeleton 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 133
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-17