Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

leafpub

> 数据库
Open source

Simple, beautiful, open source publishing.

643 stars0 likes0 views
WebsiteGitHub

About

Simple, beautiful, open source publishing.

Simple, beautiful publishing.

Website   Documentation  

 

Created by Cory LaViska

Maintained by Marc Apfelbaum

Requirements

  • PHP 7.1+ with curl, gd lib, mbstring, openssl & pdo
  • MySQL 5.5.3+

Download

This is the development repo! You'll need to build Leafpub using the instructions below before running it.

Download the latest ready-to-use version from: https://leafpub.org/download

Contributing

Leafpub uses Composer and NPM to manage dependencies and Gulp as its task runner. To contribute to this project, you'll need to clone the repository and install the required development tools listed below.

  • Composer
  • Node
  • Gulp (Install using npm install -g gulp-cli)

Please read through our contributing guidelines.

Something is wrong with a translation? Your language isn't available? Please read through the language section

Building

Once you have the necessary development tools installed:

  1. Open a terminal
  2. Navigate to the root directory of your cloned repo
  3. Run the following command:
composer install

Composer will install its own dependencies and then run npm install. This may take a few minutes as packages are downloaded. Once complete, Composer will trigger gulp build which will generate all the assets you need to run Leafpub.

Important: You'll also need to add the default theme to content/themes/range/ manually. This will happen automatically once Leafpub is out of beta.

Using Gulp

From the root directory, you can use gulp help to see all available tasks:

…

For development, use gulp watch to automatically compile Sass/JavaScript as you work.

Testing

You can run Leafpub on PHP's built in web server using the following command:

php -S localhost:8080 -t app

Then open http://localhost:8080 in your browser.

Note: You might need to use 127.0.0.1 instead of localhost in your database config!

Versioning

Leafpub is maintained under the Semantic Versioning guidelines and we adhere to them as closely as possible.

Developers

Marc Apfelbaum

  • https://twitter.com/karsasmus
  • http://github.com/karsasmus

License

©2018 Marc

This software is copyrighted. You may use it under the terms of the GNU GPLv3 or later. See LICENSE.md for licensing details.

All code is copyright 2016-2018 by Marc except where noted. Third-party libraries are copyrighted and licensed by their respective owners.

Theme & Plugin Policy

We do not consider Leafpub themes and plugins to be derivative works, as they are used to extend and enhance the software's functionality strictly through its API and they do not in any way modify Leafpub's core codebase. Therefore, in our opinion, themes and plugins may be licensed completely at the author's discretion.

Support

Please visit leafpub.org/support for support.


“The starting point of all achievement is desire.” — Napoleon Hill

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPblog-enginebloggingcomposercontent-management

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库