承接 abstract/core 相关项目开发

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

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

abstract/core

最新稳定版本:v0.0.3

Composer 安装命令:

composer require abstract/core

包简介

Componential language using HTML-based syntax to access PHP class and method

README 文档

README

Abstract is a powerful PHP library that introduces a componential markup language with an XML-based syntax to access PHP classes and methods. This library includes a Processor, which is responsible for compiling AML (Abstract Markup Language) code.

Features

  • Componential markup language with XML-based syntax
  • Access PHP classes and methods
  • AML (Abstract Markup Language) compilation using the provided Processor

Installation

To use Abstract in your PHP project, you need to have Composer installed. Then, run the following command:

composer require abstracts/abstract

This library also requires symfony/polyfill to work correctly. If you haven't installed it already, you can add it to your project using Composer:

composer require symfony/polyfill

Usage

To use Abstract in your PHP project, you need to import the library's namespace, which is "X". You can do this by adding the following line at the beginning of your PHP file:

<?php
require 'vendor/autoload.php';

use Abstract\Processor;

// Get AML content from resource
$amlContent = Resource::get('src/resources/abstract/app/index.html');

// Load AML content into Processor
$processor = new Processor($amlContent, false);

Contributing

Contributions are welcome! If you would like to contribute to Abstract, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request to the main branch of the original repository.
  6. Please ensure that your code follows the existing coding style and includes appropriate tests.

Credits

Abstract is developed and maintained by Patiparnne Vongchompue (Armes).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-05-11