ehexphp / framework
Powerful and Friendly Php Framework, Created with many features.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Type:project
Requires
- ehexphp/core: ^v1.0.19
- filp/whoops: ^2.15
- illuminate/database: ^10.38
- jenssegers/blade: ^2.0
- phpmailer/phpmailer: ^6.9
- rakit/validation: ^1.4
- usmanhalalit/strana: 1.*@dev
- vlucas/phpdotenv: ^5.6
Requires (Dev)
This package is auto-updated.
Last update: 2025-03-03 23:00:14 UTC
README
Creating a form
In Ehex, creating a form could be as easy as.
Ehex PHP Framework
Flexible and Friendly Php Framework, Created with many features.
Documentation
Read Full Documentation now Documentation and Check out Api Documentation
Installation
Ehex Framework is available on Packagist (using semantic versioning), and installation via Composer.
composer create-project ehexphp/framework
OR run git clone https://github.com/ehexphp/ehex-framework
install Libraries
composer install
Also checkout Quick Start Starting a new Project
Start application
composer run-script start
OR php -S localhost:8081
Auto Deploy to FTP Server
open .github/.workflows/main.yml
to configure your ftp details
Install new Plugin
-
Add the plugin to require section (in your composer.json): e.g
"usmanhalalit/strana": "1.*@dev"
them runcomposer update
-
Or
composer require usmanhalalit/strana
Auto Database management
To manage your database, setup database connection in your .env and append ?db_help to your URL e.g http://localhost:8081?db_help
Ehex.
is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. EX lets you creatively focus on your project by minimizing the amount of code needed for a given task. More so, Ehex has similar functions and features with Laravel, i.e, your experience with Laravel Blade and Eloquent Query Builder are still useful here, and that is one of the intention for the similarity.
"Out of box" Features
Not only does this Framework solve problems like repetition of common codes to make Web development easier, but it also provides a lot of ready made complete features and tools Like :
- Auto Database Table Creation (from Php Class extending Model1, Table Reset, Delete, Truncate, or Filled with Demo Data e.t.c )
- Html Quick Form Creator (with HtmlForm1 class )
- Blade layout (similar to laravel),
- Eloquent Query
- Common Page and Backend code for Index page, Authentication(login, register, logout and delete account), Dashboard page e.t.c
- Util Class for different problems including String, Math, Array e.t.c
SIMPLE
Designed to be simple and powerful, no complicated artisan command or any command. Just Calls Designed functions. Ex. enables you to design a complete and professional website under few minute.
EXTENSIBLE
Add powerful plugins or tweak the built-in codes to fit your needs.
Server Requirements
PHP version 7.3 or newer is recommended. We would have love to make it work on lower version as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.
Why Ehex?
- Simple and lightweight framework. [< 5mb core code]
- Simple and Understandable Folder Structure.
- Create/Debug very fast
- Easy to migrate from Laravel.
- Almost Everything is automatic
- Automatic generation of Database and Model Table
- Auto Generate and Create Model Database Table.
- Automatic generation of Html Form (default bootstrap class)
- Auto Generate Html Form, Html Widget, e.t.c.
- Using Composer, Themes and Plugins (like CMS).
- Inbuilt Admin Dashboard.
- Inbuilt Html Widget
- access with HtmlWidget1::
- Advance and Standard CRUD Operation.
- CRUD Database Table Management
- Laravel Blade and Laravel Eloquent Query Builder
- Ehex Query Builder
- Inbuilt Authentication
- Inbuilt Status Popup
- Smart HtmlForm Library Auto-Generator
- Simple Folder Structure and Easy to Navigate
- Direct Controller Call in Form Action. (using ehex CLF)
- Direct Api Call in Ajax. (using ehex CLF)
- Many and Advance and Clean util functions
- Auto Loader of Controllers, Models, and Api
- Layout Theme Assets (like CMS)
- Multiple Site Can Share the same Library(Hence, makes a portable code)
- And More...
License
This software is distributed under the MIT license. Please read LICENSE for information on the software availability and distribution.
Resources
- User Guide - Available
- Language File Translations - Available
- Community Forums - Not Available Yet
- Community Wiki - Not Available Yet
- Community Slack Channel - Not Available Yet
- Report security issues to our Security Panel or via our page on HackerOne, thank you.
Acknowledgement
The Ehex creator (Samson Oyetola) would like to thank all the Ehex contributors and you, the Ehex user.
Donating
Help keeping the project development going, by contributing or donating a little. Thanks in advance. buy a cup of coffee. ❤️