mariojgt/onix
Composer 安装命令:
composer require mariojgt/onix
包简介
A laravel page buidler out of the box
README 文档
README
Onix is a powerful page builder that integrates seamlessly with Laravel. It provides a flexible and efficient way to create reusable blocks and manage pages.
Getting Started
To get started with Onix, you need to install it via composer:
composer require mariojgt/onix
After installation, run the Onix installation command:
php artisan install:onix
Add the following line to your .env file to avoid unwanted requests to the API:
VITE_ONIX_API_KEY=any_value
Creating Reusable Blocks
To create a new block, run the following command and follow the instructions:
php artisan onix:block
This will create a new block class and blade template in the resources/onix/blocks folder. The PHP class will be located in the app/Onix/Blocks folder.
Accessing the Page Builder Settings
To access the page builder, navigate to the path onix/settings in your application.
You can protect the acess using the config onix.middleware by default its web(public)
Commands
Onix provides several commands to help manage your application:
- Republish:
Mariojgt\Onix\Commands\Republish - Install:
Mariojgt\Onix\Commands\Install - CreateOnixBlock:
Mariojgt\Onix\Commands\CreateOnixBlock
Controllers
Onix includes several controllers for handling various aspects of your application:
- OnixApiController:
Mariojgt\Onix\Controllers\OnixApiController - OnixApiDeployController:
Mariojgt\Onix\Controllers\OnixApiDeployController - OnixBlockController:
Mariojgt\Onix\Controllers\OnixBlockController - OnixController:
Mariojgt\Onix\Controllers\OnixController - OnixDeployController:
Mariojgt\Onix\Controllers\OnixDeployController - OnixPageController:
Mariojgt\Onix\Controllers\OnixPageController - OnixSettingsController:
Mariojgt\Onix\Controllers\OnixSettingsController - OnixSitePageController:
Mariojgt\Onix\Controllers\OnixSitePageController
Contributing
Contributions are welcome!
License
This project is licensed under the terms of the MIT License.
mariojgt/onix 适用场景与选型建议
mariojgt/onix 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 1.19k 次下载、GitHub Stars 达 42, 最近一次更新时间为 2020 年 09 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「builder」 「laravel」 「page builder」 「grapejs」 「Laravel Page builder」 「grape js」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mariojgt/onix 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mariojgt/onix 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mariojgt/onix 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.
Plug-ins for DataTables
This package helps you use bitwise enums in PHP and Laravel.
A Sphinx Query Builder extension for the Laravel Database package
Anax Database Active Record module for model classes.
A simple package to create tables in Discord messages.
统计信息
- 总下载量: 1.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 42
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-17