0xWDG/PHPFramework
A Swift framework to use the most common PHP functions (Based on PHP7)
Requirements
- Swift 5.9+ (Xcode 15+)
- iOS 13+, macOS 10.15+
Installation (Pakage.swift)
dependencies: [
.package(url: "https://github.com/0xWDG/PHPFramework.git", branch: "main"),
],
targets: [
.target(name: "MyTarget", dependencies: [
.product(name: "PHPFramework", package: "PHPFramework"),
]),
]Installation (Xcode)
- In Xcode, open your project and navigate to File → Swift Packages → Add Package Dependency...
- Paste the repository URL (
https://github.com/0xWDG/PHPFramework) and click Next. - Click Finish.
Supported PHP Functions
<table> <tr><td>Status</td><td>TODO</td><td>Item</td></tr> <tr><td><ul><li>[x] 3924 of 3924</li></ul></td><td>0</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/3'>Predefined Constants</a></td></tr> <tr><td><ul><li>[x] 57 of 57</li></ul></td><td>0</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/2'>Supported PHP Options/info functions</a></td></tr> <tr><td><ul><li>[ ] 90 of 98</li></ul></td><td>8</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/1'>Supported string functions</a></td></tr> <tr><td><ul><li>[ ] 3 of 79</li></ul></td><td>76</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/4'>Supported Array Functions</a></td></tr> <tr><td><ul><li>[x] 34 of 34</li></ul></td><td>0</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/5'>Supported Variable Functions</a></td></tr> <tr><td><ul><li>[ ] 0 of 51</li></ul></td><td>51</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/6'>Supported DateTime Functions</a></td></tr> <tr><td><ul><li>[x] 9 of 9</li></ul></td><td>0</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/7'>Supported Directory Functions</a></td></tr> <tr><td><ul><li>[ ] 0 of 81</li></ul></td><td>81</td><td><a target='_blank' href='https://github.com/0xWDG/PHPFramework/issues/8'>Supported FileSystem Functions</a></td></tr> <tr><td><hr></td><td><hr></td><td><hr></td></tr> <tr><td><ul><li>[ ] 193 of 409</li></ul></td><td>216</td><td>Functions total build (± 44%)</td></tr> </table>
<i>Please note: this list will be updated once upon a time, this list may not be the most recent, please go to the specific item for the latest info</i>
<b>Last update: 02-JAN-2025 GMT+1 (Europe/Amsterdam)</b>
Contact
🦋 @0xWDG 🐘 mastodon.social/@0xWDG 🐦 @0xWDG 🧵 @0xWDG 🌐 wesleydegroot.nl 🤖 Discord
Interested learning more about Swift? Check out my blog.
Package Metadata
Repository: 0xWDG/PHPFramework
Homepage: http://0xwdg.github.io/PHPFramework/
Stars: 3
Forks: 2
Open issues: 12
Default branch: main
Primary language: swift
License: MIT
Topics: 0xwdg, php, php-framework, swift, swift-library, swiftlang
README: README.md