Overview

I can't remember what my idea was behind this project, I think it may have been to quickly create docs with custom structure/styling, based on markdown

This page defined in resources/pages/posts/a-post.md

---
title: Example
route: /posts/a-post
---

### Hello!

```php
$thing = new Class();
$thing->doThing();
```

Will output as: Notice we define our route in the markdown also.

alt text

Features

  • We use torchlight to parse codeblocks and output them in a pretty format
  • We have a custom http router which allows for proper nested routes(doesn't handle dynamic args, but it could quite easily)
  • We realy on some laravel packages just to make life easier since this was a POC hack-together project

Note: To test it, you need a .env file in the root with a TORCHLIGHT_TOKEN key/value