定制 theodorejb/dev-thoughts 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

theodorejb/dev-thoughts

最新稳定版本:v2.0.1

Composer 安装命令:

composer require theodorejb/dev-thoughts

包简介

Feature poignant quotes and funny sayings related to programming

README 文档

README

A collection of poignant quotes and funny sayings related to programming.

Installation

composer require theodorejb/dev-thoughts

Or you can simply copy the JSON file into your project and use it with the language of your choice.

Note: thoughts may contain <em> tags indicating italicized words.

Usage

Create a new theodorejb\DevThoughts\DevThoughts instance. Then use one of the following methods:

getAllThoughts()

Parses dev_thoughts.json and returns the quotes as a list of Thought objects.

getThought(int $index)

Returns the Thought object at the specified index. If $index is greater than the length of the array, it will wrap around to the beginning rather than causing an error.

getDailyThought()

Returns a different Thought object each day of the year.

The Thought object has the following public properties:

Type Property
string text
string author
string reference

Author

Theodore Brown
https://theodorejb.me

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固