定制 pimcore/skeleton 二次开发

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

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

pimcore/skeleton

Composer 安装命令:

composer create-project pimcore/skeleton

包简介

README 文档

README

This skeleton should be used by experienced Pimcore developers for starting a new project from the ground up. If you are new to Pimcore, it's better to start with our demo package, listed below 😉

Getting started

COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/skeleton --no-scripts my-project
cd ./my-project
./vendor/bin/pimcore-install --install-profile='App\Installer\SkeletonProfile'

Docker

You can also use Docker to set up a new Pimcore Installation. You don't need to have a PHP environment with composer installed.

Prerequisites

  • Your user must be allowed to run docker commands (directly or via sudo).
  • You must have docker compose installed.
  • Your user must be allowed to change file permissions (directly or via sudo).

Follow these steps

  1. Initialize the skeleton project using the pimcore/pimcore image docker run -u `id -u`:`id -g` --rm -v `pwd`:/var/www/html pimcore/pimcore:php8.4-latest composer create-project pimcore/skeleton --no-scripts my-project

  2. Go to your new project cd my-project/

  3. Part of the new project is a docker compose file that already defines every required service (PHP, Nginx, MariaDB, Redis, RabbitMQ, OpenSearch, Mercure, and a Supervisord service that runs the messenger workers). You do not need to add any services yourself.

    • Run sed -i "s|user: '1000:1000'|user: '$(id -u):$(id -g)'|g" docker-compose.yaml to set the correct user id and group id.
    • Start the services with docker compose up -d
  4. Install pimcore and initialize the DB docker compose exec php vendor/bin/pimcore-install --install-profile='App\Installer\SkeletonProfile'

    • The committed .env already provides the database, OpenSearch, RabbitMQ, Mercure, and admin values, so the installer does not re-prompt for them. It only asks for the product key (product registration is mandatory — see https://license.pimcore.com/register).
    • The default admin login is admin / admin (from .env). Change the password after first login.
    • The installer also builds the search index automatically (a GenericDataIndex post-install command).
    • This can take a while.
  5. Run codeception tests:

    • docker compose run --user=root --rm test-php chown -R $(id -u):$(id -g) var/ public/var/
    • docker compose run --rm test-php vendor/bin/pimcore-install -n
    • docker compose run --rm test-php vendor/bin/codecept run -vv
  6. ✔️ DONE - You can now visit your pimcore instance:

Pimcore Platform Version

By default, Pimcore Platform Version is added as a dependency which ensures installation of compatible and in combination with each other tested versions of additional Pimcore modules. More information about the Platform Version can be found in the Platform Version docs.

It might be necessary to update a specific Pimcore module to a version that is not included in the Platform Version. In that case, you need to remove the platform-version dependency from your composer.json and update the module to the desired version. Be aware that this might lead to a theoretically compatible but untested combination of Pimcore modules.

Other demo/skeleton packages

pimcore/skeleton 适用场景与选型建议

pimcore/skeleton 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 200.99k 次下载、GitHub Stars 达 126, 最近一次更新时间为 2018 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 pimcore/skeleton 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 pimcore/skeleton 我们能提供哪些服务?
定制开发 / 二次开发

基于 pimcore/skeleton 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 126
  • Watchers: 20
  • Forks: 113
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-07-20