承接 ozi/ozi_script 相关项目开发

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

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

ozi/ozi_script

Composer 安装命令:

composer create-project ozi/ozi_script

包简介

Ozi script is an easy-to-use web development framework that handles both front-end and back-end web development. It uses a component-based concept, meaning that everything in Ozi script is a component, and a component is a method or function created to handle a specific task.

README 文档

README

oziScript is a modern, component-based PHP framework designed for building high-performance PWAs and Hybrid Apps with a "No-Script" philosophy. Build beautiful, functional experiences by simply composing reusable widgets—no deep PHP or CSS knowledge required.

✨ Key Features

  • 🧩 Function-Based Components: Build your UI using simple PHP functions (Widgets).
  • 🌐 Native PWA Support: Out-of-the-box service workers, manifest, and offline support.
  • 🛣️ Pretty URLs: Clean, path-based routing (e.g., /about/id/1) built-in.
  • 📦 Remote Ecosystem: Install widgets and plugins directly from the oziDependencies repository.
  • 🛠️ Powerful CLI: Manage your entire app life cycle with the ozi command-line tool.
  • 🎨 Premium UI Kit: Standardized, high-quality widgets with animations (Cyberpunk, Glassmorphism, Aurora).

📥 Installation

1. Requirements

  • PHP 8.1+
  • Apache with mod_rewrite enabled (XAMPP/cPanel)

2. Setup

Download and install oziScript via Composer:

composer create-project ozi/ozi_script projectName
cd projectName

3. Serve Locally

Use the built-in development server:

php ozi serve

Your app is now live at http://localhost:3000!

🛠 Command Line Tool (ozi CLI)

The ozi tool is your companion for building apps.

Manage Screens

  • Create: php ozi screen <name> create
  • Delete: php ozi screen <name> delete

Manage Widgets

  • List Available: php ozi widget list (Fetches from oziDependencies)
  • Search: php ozi widget search <query>
  • Install: php ozi widget <name> install
  • Remove: php ozi widget <name> remove

Manage Plugins

  • Install: php ozi plugin <name> install (e.g., php ozi plugin mailer install)
  • Remove: php ozi plugin <name> remove

📐 Building Your App

1. Functional Navigation

Use the linkTo() helper to generate clean, pretty URLs:

<a href="<?= linkTo("about&&productId=123"); ?>">View Product</a>
<!-- Generates: /about/productId/123 -->

2. Composition (No-Code Style)

In oziScript, you don't write complex HTML. You call widgets like Lego blocks in your components/ files:

// components/index.php
ozi_nav_simple("My Brand");

heroSection11(
    title: "The Future is Now",
    subTitle: "Composed entirely using Ozi Widgets.",
    btnText: "Join Now"
);

// 3. Using a Plugin (e.g., mailer)
// OziMailer("contact@example.com", "Subject");

ozi_footer_clean();

3. Accessing Data

Pretty URL parameters are automatically parsed into the $_GET superglobal:

// URL: /product/id/99
echo $_GET['id']; // Outputs: 99

📂 Project Structure

  • assets/: Media, icons, and local styles.
  • components/: Pure logic/UI functions for your pages.
  • screens/: Route entry points (automatically handled).
  • system_files/: Core libraries, plugins, and installed widgets.
  • view.php: Central registry for your screen functions.
  • system_config.php: Global configuration and auto-loading.
  • ui_config.php : this is the app entry poin configuration
  • index.php : this is the main page rendera that requires the system_config
  • main.js : the javascript for the users custome settings
  • offline.html : this is the offline page that is shown when a user is offline in the app
  • sw.js : this is the service worker configuration file for a PWA
  • create_bk_request.php : this is the file that handles the backend request made by users
  • 'call_bk_request.php` : this is the file tht handles that enables the request sent by create_bk_request
  • composer.json : this is the composer configuration file
  • `manifest.json : this is the manifest needed to make a good PWA
  • ozi : this is the file that handles the shell comands in system_files/labraries/ozi_comands/
  • `

🌟 Vision

oziScript aims to be the go-to framework for designers and creators. By abstracting complexity into a searchable marketplace of widgets and plugins, we empower anyone to build "App-Store ready" applications using just a few lines of functional code.

📝 License

MIT License. Free for personal and commercial use.

#OziScript #PHP #PWA #NoCode #WebDevelopment #HybridApps

🎥 Tutorials & Learning

Watch our video tutorials to master oziScript:

ozi/ozi_script 适用场景与选型建议

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

它主要适用于以下技术方向: 「framework」 「php」 「web」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-11