elephox/framework

Yet another PHP framework.

v0.5.0 2022-05-01 23:55 UTC

README

Elephox Logo

This is a library project providing building blocks for building your own PHP application.

GitHub Workflow Status License 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6570686f782f6672616d65776f726b3f6c6162656c3d76657273696f6e267374796c653d666f722d7468652d6261646765 PHP Version Require
Psalm Level Type Coverage Coverage Status Mutation Score Indicator

📚 Documentation

Visit elephox.dev for the documentation.

🎯 Goals

Take a look at the Notion page for the goals of this project: Notion

✨ Contributing

Contributions in all forms are welcome. Make sure to read elephox.dev/contributing for the details.

🏷️ Get the Badge

Using Elephox in your project? Add a badge to your README:

Elephox Framework

Replace the value of the style parameter for different styles (flat, flat-square, plastic, for-the-badge).

[![Elephox Framework](https://img.shields.io/badge/framework-Elephox-blue?style=flat&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8%2BCjxzdmcKICAgd2lkdGg9IjcxLjAxNTk2MW1tIgogICBoZWlnaHQ9IjgxLjI4Njg5Nm1tIgogICB2aWV3Qm94PSIwIDAgMjUxLjYwOTQ2IDI4OC4wMDAwMSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMyIKICAgc29kaXBvZGk6ZG9jbmFtZT0ibGV0dGVyLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLjIgKGI4ZTI1YmU4MzMsIDIwMjItMDItMDUpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIKICAgeG1sbnM9Imh0dHA6Ly93d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zkgSCAyMTEuOTk5NzQgWiIKICAgICBzdHlsZT0iZmlsbDp1cmwoI2xpbmVhckdyYWRpZW50ODMwKTtmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6bm9uZSIKICAgICBpbmtzY2FwZTpleHBvcnQtZmlsZW5hbWU9IkM6XFVzZXJzXHJpYlxEb3dubG9hZHNcRWxlcGhveFxsb2dvLWJhbm5lci5wbmciCiAgICAgaW5rc2NhcGU6ZXhwb3J0LXhkcGk9Ijk2IgogICAgIGlua3NjYXBlOmV4cG9ydC15ZHBpPSI5NiIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY2NjY2NjY2NjY2MiIC8%2BCjwvc3ZnPgo%3D)](https://elephox.dev)
<a href="https://elephox.dev"><img alt="Elephox Framework" src="https://img.shields.io/badge/framework-Elephox-blue?style=flat&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8%2BCjxzdmcKICAgd2lkdGg9IjcxLjAxNTk2MW1tIgogICBoZWlnaHQ9IjgxLjI4Njg5Nm1tIgogICB2aWV3Qm94PSIwIDAgMjUxLjYwOTQ2IDI4OC4wMDAwMSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMyIKICAgc29kaXBvZGk6ZG9jbmFtZT0ibGV0dGVyLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLjIgKGI4ZTI1YmU4MzMsIDIwMjItMDItMDUpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94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