承接 ofthewildfire/relaticle-mods 相关项目开发

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

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

ofthewildfire/relaticle-mods

Composer 安装命令:

composer require ofthewildfire/relaticle-mods

包简介

Events and Projects modules for Relaticle CRM

README 文档

README

This is a modification to Relaticle CRM - an open source Laravel/Filament CRM tool.

Relaticle links: https://relaticle.com/

I am not affiliated with Relaticle and I make no claims to be.

This is a written guide to installing the Plugin relaticle-mods - setting it out because there is a few steps to take before its working as it should be. 😄 I will do my best to be clear and concise in my instruction.

Prep

First thing is you need an active install of Relaticle, I cannot be sure about the installation in question, but the steps I give will all be as if you are installing this on a regular cPanel, with all its limitations and quirks. (I also suck at writing, so I am just doing this as if I am speaking, will clean up afterwards).

So again things you need to make sure are set:

  • Have Relaticle installed.
  • Your cPanel has PHP 8.4 (there is a little share here, so don't worry if your server says 8.2, you are fine, as long as the domain you are installing this to can be managed via MultiPHP its fine.)
  • Filament installed and working - again, if you have Relaticle this is a given, but fair to just mention it.
  • Access to a terminal, unfortunately this is the way I am doing it. I believe this can be done with SSH as well? I am not certain and don't bet on my assumption about it, terminal is what I know. Of this I can assure you its 100%.

Now that you have made sure of those little things step are:

  • In terminal cd to the domain with your Relaticle installation.
  • Once you have done that, double check if you need the "hack" or not, the hack being Relaticle/Filament require PHP 8.3+ - but from my reading most cPanels have PHP 8.2 :) sucks, I know, but fear not if you run php -v in your terminal and you are lucky enough to have 8.3+ congrats, you can run the commands fine, if you see 8.2.9 - sorry - I see it too, but its alright, we have a fix.
    • If you have 8.2.9 or less than 8.3 then you will need to directly run the commands with the PHP Binary for 8.4, its not a big deal, nothing weird, just can't easy mode with php artisan migrate it now becomes /opt/cpanel/ea-php84/root/usr/bin/php artisan migrate the first part is you directly telling the terminal "Hey, I need you to use PHP 8.4 to run this, not the one you detect here, but this one."
    • Because the environment I installed this in is 8.2 for the server I will be running the explicit binary for 8.4 if you don't need to just use the truncated version.

Installation steps.

I will list the terminal commands step by step and the actions you need to take:

cd into the domain as mentioned above, now make sure you're there then proceed with the commands:

  1. Install the plugin composer require ofthewildfire/relaticle-mods
    1. If there are deprecation errors you are fine, many packages for Relaticle itself out a little out of date, but its fine. It will not affect the installed product.
  2. Navigate to the "File Manager" in cPanel and find your installation folder public_html/installation_folder.com
  3. Once inside your installation folder, navigate to bootstrap/providers and edit providers and the following line to the bottom of the array:
Ofthewildfire\RelaticleModsPlugin\RelaticleModsServiceProvider::class,
  1. This will tell the App "Hey, this thing provides stuff for us to use". Important stuff.
  2. Now you need to Register your plugin (same as OctoberCMS actually if you have used that) - go to app/Providers/Filament/AppPanelProvider and edit the AppPanelProvider without this registration the Panel (what you see) won't know what you're talking about with regards to the addition of new resources, to register add this to the plugins array:
\Ofthewildfire\RelaticleModsPlugin\RelaticleModsPlugin::make(),

Relaticle has their own plugin there, the Custom Fields, add it below, keep the trailing comma its fine in PHP.

  1. Now for the putting the pieces together, you need to add relationships to a few models, the models we are using in the Plugin, namely:
  • Task
  • Note
  • People

Events and Projects are our own so we control those, but the relationships above are Relaticle core, we do not, so we have to add our relationships there, not hard just copy from here will give it all below:

app/Models/Task

First one is the task model, you need to add the following, these add relationships either to existing to our own or our own to existing.

public function projects(): MorphToMany

{

    return $this->morphToMany(Projects::class, 'taskable');

}

  

public function events(): MorphToMany

{

    return $this->morphToMany(Events::class, 'taskable');

}

  

public function ideas(): MorphToMany

{

    return $this->morphToMany(Ideas::class, 'taskable');

}

app/Models/Note

public function projects(): MorphToMany

{

    return $this->morphToMany(Projects::class, 'noteable');

}

  

public function events(): MorphToMany

{

    return $this->morphToMany(Events::class, 'noteable');

}

  

public function ideas(): MorphToMany

{

    return $this->morphToMany(Ideas::class, 'noteable');

}

and finally to:

app/Models/People

public function ideas()

{

    return $this->belongsToMany(

        \Ofthewildfire\RelaticleModsPlugin\Models\Ideas::class,

        'idea_people',

        'people_id',

        'idea_id'

    );

}

  



public function projects()

{

    return $this->belongsToMany(

        \Ofthewildfire\RelaticleModsPlugin\Models\Projects::class,

        'project_team_members',

        'people_id',

        'projects_id'

    );

}

  

public function events()

{

    return $this->belongsToMany(

        \Ofthewildfire\RelaticleModsPlugin\Models\Events::class,

        'event_people',

        'people_id',

        'event_id'

    );

}

These add our relationships to Relaticle. Making sure everything works together, not against each other.

After that, php artisan migrate and everything should be running smoothly. 🙏

Notes: I am always eager to learn and readily admit I am learning still, so if you see something that could be done better don't hesitate to let me know. Its how I learn. 🌟🌟

Enjoy and have a good day.

ofthewildfire/relaticle-mods 适用场景与选型建议

ofthewildfire/relaticle-mods 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 ofthewildfire/relaticle-mods 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-03