Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philsturgeon/phptherightway-book
The official eBook version of phptherightway.com. Download in PDF/mobi/epub formats from LeanPub.
https://github.com/philsturgeon/phptherightway-book
Last synced: 3 months ago
JSON representation
The official eBook version of phptherightway.com. Download in PDF/mobi/epub formats from LeanPub.
- Host: GitHub
- URL: https://github.com/philsturgeon/phptherightway-book
- Owner: philsturgeon
- Created: 2013-12-09T20:48:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T15:12:22.000Z (over 2 years ago)
- Last Synced: 2024-10-18T11:57:01.516Z (3 months ago)
- Language: PHP
- Homepage: https://leanpub.com/phptherightway
- Size: 343 KB
- Stars: 128
- Watchers: 12
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-starz - philsturgeon/phptherightway-book - The official eBook version of phptherightway.com. Download in PDF/mobi/epub formats from LeanPub. (PHP)
README
# PHP The Right Way: eBook
[PHP The Right Way](http://www.phptherightway.com/) is an easy-to-read, quick
reference for PHP popular coding standards, links to authoritative tutorials
around the Web and what the contributors consider to be best practices at the
present time.The website was created originally by [Josh Lockhart], and [Phil Sturgeon] later
joined in to write a bunch of content, and help keep on top of pull requests. He
also wrote this conversion script to turn phptherightway.com content into the
[LeanPub book], which is available entirely for free, or an optional donation,
100% of which goes to PHP Women. Josh and Phil get nothing.Josh approves of this book.
## How it works
This is not meant to be a tool you use to make the ebook yourself. This tool
converts the Jekyll website in its file format and Jekyll flavor of Markdown,
to LeanPub Markdown (Markua) and a file format that will let LeanPub read this
as a book.```
$ git clone --recursive https://github.com/philsturgeon/phptherightway-book.git
$ cd phptherightway-book
$ php convert.php
```This will populate - or override - the contents of `manuscript/`. The only real
way to test if it worked is to shove it into LeanPub and run a preview, which is
something Phil usually does as he's the one who created the LeanPub app.Give Phil a [poke on Twitter] if you think this book is due an update. Send a PR
to this repo if you notice a bug in the conversion process.[Josh Lockhart]: http://www.joshlockhart.com/
[Phil Sturgeon]: https://philsturgeon.uk/
[LeanPub book]: https://leanpub.com/phptherightway
[poke on Twitter]: https://twitter.com/philsturgeon