承接 jascha030/xerox 相关项目开发

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

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

jascha030/xerox

Composer 安装命令:

composer require jascha030/xerox

包简介

Framework, heavily inspired by Symfony, Laravel and roots/bedrock, aiming to help relieve your "Word-Pression".

README 文档

README

"PHP Framework to help relieve your WordPression."

This is the main composer library used in various related OOP WordPress projects. The name Xerographer is partially a cheeky play on WordPress' Gutenberg editor. Basically stating; It is like WordPress, only using modern techniques. It is also a nod to Smalltalk the first class based OOP programming language, which was developed at Xerox's Palo Alto Research Center, or PARC.

The only project using this so far is jascha030/wp-environment (W.I.P.), a WordPress starter environment, heavily inspired by/based on roots/bedrock.

Other plans include:

A small plugin development library as spiritual successor to jascha030/wp-plugin-lib, based around a set of interfaces and a class, aiming to make WordPress' actions and filters faster by implementing the lazy-loading of class-methods with help of a psr-11 compatible DI container and hook definitions provided by their classes statically.

And eventually a small starter theme based around twig/twig to improve templating, and a configuration system comparable to that of libraries like Symfony or Laravel. Preferably based a round Symfony components.

All these projects are based on problems and annoyances I personally encounter regularly, when developing for WordPress.

Prerequisites

  • PHP 8.0
  • Composer 2+
  • WordPress 5+

To use this to it's full potential, the following is also required:

  • laravel/valet

Installation

Require as global dependency with composer.

composer global require jascha030/xerographer

Unit testing

To run the full testsuite, one setup step is required, together with an installed version of laravel/valet. Create a new .env file in tests/.env by copying the .env.example file inside the test directory.

Fill in your mysql user password and root pass (looking for another solution for that last one).

This will make sure the Jascha030\Xerox\Tests\Console\Command\InitCommandTest class test the execution of the xerographer init console command.

When you have taken these steps, you can run the full testsuite through the composer script command:

composer run phpunit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固