Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
ac6215b
Fixed typo in first-app.md
samsara-02 Sep 7, 2023
1c93d7c
Merge pull request #80 from samsara-02/patch-1
mychidarko Sep 26, 2023
31279cb
Update join.md
ibnsultan Mar 17, 2024
1a53d5c
Merge pull request #92 from ibnsultan/patch-1
mychidarko Jul 22, 2024
209893d
feat: update sandbox url
mychidarko Aug 25, 2024
aa00cc8
chore: initialized new docs
mychidarko Sep 1, 2024
5990a09
feat: add base setup
mychidarko Sep 5, 2024
9c63406
chore: not sure
mychidarko Sep 6, 2024
1110a4f
fix: patch up broken links
mychidarko Sep 6, 2024
fd74367
feat: update sidebar
mychidarko Sep 6, 2024
fe5d455
feat: update routes
mychidarko Sep 8, 2024
978ae52
feat: add request docs
mychidarko Sep 8, 2024
761c994
feat: add response docs
mychidarko Sep 9, 2024
a7bd258
feat: add cors & headers docs
mychidarko Sep 9, 2024
6da36fe
chore: add license
mychidarko Sep 10, 2024
bb4ffa7
feat: update tutorial
mychidarko Sep 18, 2024
29c3744
feat: update community & docs
mychidarko Sep 18, 2024
71f14fe
feat: update UI
mychidarko Sep 19, 2024
7b52c32
feat: add routing docs
mychidarko Sep 24, 2024
63a5d16
chore: fix broken links
mychidarko Sep 24, 2024
57170af
chore: update docs
mychidarko Sep 26, 2024
71094b6
chore: update first half of docs
mychidarko Sep 27, 2024
e0e2b57
chore: add readme
mychidarko Sep 27, 2024
bdbed59
feat: add leaf db docs
mychidarko Sep 27, 2024
556291c
fix: patch up broken link
mychidarko Sep 27, 2024
c990aa7
feat: add db docs
mychidarko Oct 2, 2024
ca40ea4
feat: update middleware
mychidarko Oct 3, 2024
12781bd
feat: add bareui docs
mychidarko Oct 3, 2024
6ebd569
feat: add csrf docs
mychidarko Oct 3, 2024
474ec81
feat: dynamic routing docs
mychidarko Oct 3, 2024
9d418e0
feat: update community page
mychidarko Oct 4, 2024
e4abd44
feat: add date documentation
mychidarko Oct 5, 2024
e7b8f6d
feat: add templating docs
mychidarko Oct 5, 2024
7590907
feat: add data fetching docs
mychidarko Oct 5, 2024
b2db693
feat: add redis docs
mychidarko Oct 5, 2024
3a8fcda
feat: add caching docs
mychidarko Oct 5, 2024
5aa84f1
feat: add mail docs
mychidarko Oct 5, 2024
15831bc
feat: add sidebar
mychidarko Oct 5, 2024
19e30b3
feat: update mvc middleware docs
mychidarko Oct 7, 2024
ccd1c00
feat: add filesystem docs
mychidarko Oct 7, 2024
23f7f2a
feat: add base auth docs
mychidarko Oct 7, 2024
dce438c
feat: add security docs
mychidarko Oct 9, 2024
3185cac
feat: update auth docs
mychidarko Oct 10, 2024
20985d9
feat: update alchemy docs
mychidarko Oct 10, 2024
5fb329f
feat: update alchemy docs
mychidarko Oct 12, 2024
06d15f8
feat: add file icons
mychidarko Oct 12, 2024
2b25f78
fix: remove broken link
mychidarko Oct 12, 2024
892db12
feat: update frontend docs
mychidarko Oct 13, 2024
63d857e
feat: update mvc documentation
mychidarko Oct 14, 2024
dda425e
feat: add migrations docs
mychidarko Oct 14, 2024
a8f8dc1
feat: add documentation for db files
mychidarko Oct 15, 2024
1f8d891
chore: update sidebar
mychidarko Oct 15, 2024
45162d8
feat: update docs to match packages
mychidarko Oct 18, 2024
2a08e43
feat: update auth & db docs
mychidarko Oct 20, 2024
cc033d9
fix: patch up broken links
mychidarko Oct 20, 2024
0803bd2
feat: update sign up docs
mychidarko Oct 21, 2024
a8259f4
feat: update auth docs
mychidarko Oct 27, 2024
f963e7a
feat: remove unused pages
mychidarko Oct 29, 2024
fda0d15
feat: update unclear items
mychidarko Oct 29, 2024
d60e5b1
feat: add validating direct data
mychidarko Oct 29, 2024
d4989bc
feat: update alchemy docs
mychidarko Oct 29, 2024
671488d
feat: update layout
mychidarko Oct 29, 2024
972c9d0
feat: update blog feed
mychidarko Oct 29, 2024
f178622
feat: add codelabs
mychidarko Oct 30, 2024
6ced977
feat: update documentation
mychidarko Oct 30, 2024
787e660
feat: update alchemy documentation
mychidarko Oct 30, 2024
2e777fa
feat: update getting started flow
mychidarko Oct 30, 2024
2e8404f
feat: update auth docs
mychidarko Oct 30, 2024
663fade
feat: update logout docs
mychidarko Oct 31, 2024
c3bb029
feat: finish up mvc commands docs
mychidarko Nov 7, 2024
81feabe
feat: add custom library docs
mychidarko Nov 7, 2024
9c3a75e
chore: disable banner
mychidarko Nov 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
quote_type = single

[*.md]
trim_trailing_whitespace = false
111 changes: 6 additions & 105 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,113 +1,14 @@
### OSX ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*
.vitepress/dist
.vitepress/cache

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
old/

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo
vendor/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# pnpm link folder
pnpm-global

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
logs/
*.log

# rollup.js default build output
dist/

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# Temporary folders
tmp/
temp/
TODOs.md
src/api/index.json
src/examples/data.json
src/tutorial/data.json
draft.md

.idea/
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

85 changes: 85 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
import { defineConfig } from 'vitepress';
import {
groupIconMdPlugin,
groupIconVitePlugin,
} from 'vitepress-plugin-group-icons';

import head from './config/head';
import nav from './config/navbar';
import sidebar from './config/sidebar';

export default defineConfig({
head,
lang: 'en-US',
srcDir: 'src',
scrollOffset: 'header',
srcExclude: ['tutorial/**/description.md'],

title: 'Leaf PHP',
description: 'Simple and elegant PHP',

themeConfig: {
nav,
sidebar,

logo: '/logo-circle.png',
siteTitle: 'Leaf PHP',

search: {
provider: 'local',
// provider: 'algolia',
// options: {
// appId: 'Q38TT8XUN9',
// indexName: 'leafphp',
// apiKey: '87b4b8d90960f7a326dfd4c8781a5a74',
// },
},

socialLinks: [
// { icon: 'languages', link: '/translations/' },
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' },
{ icon: 'twitter', link: 'https://x.com/leafphp' },
{ icon: 'discord', link: 'https://discord.gg/Pkrm9NJPE3' },
// {
// icon: 'youtube',
// link: 'https://www.youtube.com/channel/UCllE-GsYy10RkxBUK0HIffw'
// }
],

lastUpdated: {
text: 'Updated at',
formatOptions: {
dateStyle: 'full',
timeStyle: 'medium',
},
},

editLink: {
text: 'Edit this page on GitHub',
// pattern: 'https://github.com/leafsphp/docs/edit/next/src/:path',
pattern: ({ filePath }) => {
if (filePath.startsWith('packages/')) {
return `https://github.com/leafsphp/docs/edit/next/src/${filePath}`;
} else {
return `https://github.com/leafsphp/docs/edit/next/src/${filePath}`;
}
},
},

footer: {
message: `Released under the <a href="https://github.com/leafsphp/leaf/blob/v3.x/LICENSE">MIT License</a>.`,
copyright: `Copyright © 2019-${new Date().getFullYear()} Michael Darko-Duodu`,
},
},

markdown: {
lineNumbers: true,
config(md) {
md.use(groupIconMdPlugin);
},
},

vite: {
plugins: [groupIconVitePlugin()],
},
});
Loading