jonathanmaron/fortune 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jonathanmaron/fortune

Composer 安装命令:

composer create-project jonathanmaron/fortune

包简介

Unix-style fortune program that displays a random quotation.

README 文档

README

fortune is a command line script that displays a random quotation.

Motivate

It is similar to the BSD fortune program, originally written by Ken Arnold. Unlike Arnold's program, however, this version is written in PHP, using Symfony components.

Installation

Use Composer to install the application:

composer create-project jonathanmaron/fortune ~/app/fortune

Usage

$ ~/app/fortune/bin/fortune

"A strong passion for any object will ensure success, for the desire of the end
will point out the means."
    -- Henry Hazlitt

By default, fortune wraps lines at terminal window width. You can change this by specifying the --wordwrap option:

$ ~/app/fortune/bin/fortune -wordwrap=25

"Success listens only to
applause. To all else it
is deaf."
    -- Elias Canetti

To disable word wrapping specify --wordwrap=0.

It is recommended to add fortune to your path:

$ cd ~/bin

$ ln -s ~/app/fortune/bin/fortune fortune

<log out> <log in>

$ fortune

"Be cool to people. Be nice to as many people as you can. Smile to as many people
as you can, and have them smile back at you."
    -- Joe Rogan

References

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固