harkalygergo / symfony-platform
Symfony Platform 是一个多站点和多语言的兼容性业务管理系统,作为 Symfony PHP 框架的供应商包。它非常适合任何业务的增长。它是免费和开源的,并且永远都会是。
v2024.07.12.12
2024-07-12 12:53 UTC
Requires
- php: >=8.3
Requires (Dev)
- phpunit/phpunit: ^11.2
- symfony/debug-bundle: ^7.1
- symfony/dependency-injection: ^7.1
- symfony/framework-bundle: ^7.1
- symfony/http-kernel: ^7.1
- symfony/profiler-pack: ^1.0
This package is auto-updated.
Last update: 2024-09-05 15:12:41 UTC
README
Symfony Platform 是一个多站点和多语言的兼容性业务管理系统,作为 Symfony PHP 框架的供应商包。它非常适合任何业务的增长。它是免费和开源的,并且永远都会是。
服务
- 个人资料
- 系统结构
- 通知
- 内容管理系统(CMS)
- 网站
- 帖子
- 分类
- 页面
- 显示
- 菜单项
- 弹出窗口
- 画廊/幻灯片
- 媒体库
- 块
- 评论
- 客户关系管理(CRM)
- 客户名单
- 表单
- 邮件
- 自动化
- 网页按钮
- 聊天
- 企业资源计划(ERP)
- 系统用户
- 任务管理器
- 分析
- 预约
- 房地产数据库
- 账单
- 会计
- 仓库
- 采购
- 销售
- CRM
- HRM
- 项目管理
- 文档管理
- 运输
- 服务
- 制造
- 质量保证
- 规范
- 供应商关系
- 客户关系
- 财务
- 系统(SYS)
- 实例名称,创建时间,主账户
- 账单账户
- 当前服务
- 应付款项
- 集成
- 导出/导入
- URL 重定向
- 链接缩短
- 账户
- 个人数据
- 出勤记录
- 笔记
- 日历
- 网络邮件
- 主机
- 更改密码
- 登出
- 支持
- 工单
- 名片
- 帮助
- 用户文档
安装
Composer
composer require harkalygergo/symfony-platform
用法
- 在您的 Symfony 项目中创建一个默认控制器。
- 将以下代码添加到
namespace App\Controller; use HarkalyGergo\SymfonyPlatform\Controller\PopupController; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; class PlatformController extends AbstractController { #[Route('/{_locale?}/{path}', name: 'proxy', requirements: ['path' => '.+'], defaults: ['path' => ''])] public function index2(Request $request, $path) { // Extract the path to determine the target controller and action $pathParts = explode('/', $path); $controllerName = !empty($pathParts[0]) ? ucfirst($pathParts[0]) . 'Controller' : 'DefaultController'; $actionName = !empty($pathParts[1]) ? $pathParts[1] . 'Action' : 'indexAction'; // Ensure the target controller and action exist $controllerClass = 'HarkalyGergo\\SymfonyPlatform\\Controller\\' . $controllerName; if (!class_exists($controllerClass)) { return new Response('Controller not found', 404); } $controller = new $controllerClass(); if (!method_exists($controller, $actionName)) { return new Response('Action not found', 404); } // Call the target action with the request return call_user_func_array([$controller, $actionName], [$request]); } }
文档
开发者手册
基于
- 最新的 Symfony PHP 框架 (https://symfony.com.cn)
- 最新的 Twig 模板引擎 (https://twig.symfony.com.cn/)
- 最新的 Bootstrap (https://bootstrap.ac.cn)
- 最新的 chart.js (https://chart.js.cn/)
Git 历史记录下的版本。
版权
在布达佩斯和卡尔查格(匈牙利)用💚制作,由 Harkály Gergő (https://www.harkalygergo.hu)。