承接 tedmoyses/glomr 相关项目开发

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

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

tedmoyses/glomr

Composer 安装命令:

composer require tedmoyses/glomr

包简介

Cli application for Glomr static site builder

README 文档

README

A simple static site builder in pure PHP7

  • Light weight, few dependencies
  • Fast, simple, extendable
  • Uses Blade templates
  • Asset pipeline

Easy to use simple command line interface designed to be installed using composer:

$ composer require tedmoyses/glomr

usage:

$ ./vendor/bin/glomr init
$ ./vendor/bin/glomr watch

Commands

Init command will generate a config file and offer a choice of templated sites, then run a build. Source files will be available to edit ./src and all ouput lives in ./build Most paths are configurable. Be warned, this command is destructive, it will wipe out all existing files in ./src and ./build

Watch will start the built in PHP server with configurable options, you built site will be served and file changes will cause a new build on each save.

Build triggers a one off build of the source files

Options

Commands support the following options:

  • -h --help see help text on each command and options
  • -d --debug see debug messages
  • -e --env allows you to switch from development (default) to production environments. Production will produce single files for CSS and JS with cache busted file names per build
  • -c --compression none (default) only applies in producion env, leaves all CSS and JS as is, low will strip comments, high will strip comments, whitespace and perform other minification tasks

Disclaimer

This was built as a personal project, feedback is welcome but use at your own risk

Todo

Possibly build support for markdown with frontmatter Build and publish docker image that can be used if you have docker but don't want to install a PHP runtime Might build on the md/frontmatter to implement some kind of paginated template content like a blog

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固