Skip to content

ossdev07/webfiori

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1,902 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WebFiori Framework

What is WebFiori Framework?

WebFiori Framework is a web framework which is built using PHP language. The framework is fully object oriented (OOP). It allows the use of the famous model-view-controller (MVC) model but it does not force it. The framework comes with many features which can help in making your website or web application up and running in no time.

Key Features

  • Theming and the ability to create multiple UIs for the same web page using any CSS or JavaScript framework.
  • Support for routing that makes the ability of creating search-engine-friendly links an easy task.
  • Creation of web services (or APIs) that supports JSON, data filtering and validation.
  • Basic support for MySQL schema and query building.
  • Lightweight. The total size of framework core files is less than 3 megabytes.
  • Access management by assigning system user a set of privileges.
  • The ability to create and manage multiple sessions at once.
  • Support for creating and sending nice-looking HTML emails in a simple way by using SMTP protocol.
  • Autoloading of user defined classes.
  • The ability to create background tasks and let them run in specific time using CRON.
  • Well-defined file upload and file handling sub-system.
  • Building and manipulating the DOM of a web page using PHP language.
  • Basic support for running the framework throgh CLI.
  • Ability to implement custom CLI commands.

Problems Solved

One of the things that any developer cares about any software project is the problem or problems it solves. As for WebFiori framework, It can help in solving the following problems:

  • It helps in making any one with Java background to write PHP code.
  • The ability to create a customized links to web pages as needed using routing.
  • No need for touching HTML to play with the DOM. Only use PHP.
  • Run PHP code as a CRON task through HTTP protocol or through CLI.
  • Changing whole user interface by changing one line of code.
  • Ability to move the source code of the web application without having to do a lot of re-configuration.
  • Sending HTML email messages with attachments without having to write a lot of code.

Getting Started

To learn the basics of how to use the framework, please head on to https://webfiori.com/learn. Also, you can head on to the following playlist in YouTube which contains a good set of videos which can help: https://www.youtube.com/playlist?list=PLeU-QhqUhxjkACpXiPTRM9fH_zw1KF1UD.

Supported Environments

PHP AMD64 (Targeted) ppc64le s390x arm64
5.6 Build01 Build02 Not Applicable Not Applicable
7.2 Build05 Build06 Build07 Build08
7.3 Build09 Build10 Build11 Build12
7.4 Build13 Build14 Build15 Build16

API Docs

To read API docs of the framework, please head on to https://webfiori.com/docs.

Setup

Local Development Environment

If you plan to test the framework on your local machine, you have to download AMP (Apache, MySQL and PHP) stack first. We suggest to use the ones that are offered by Bitnami. You can go to https://bitnami.com/stacks/infrastructure to check the available options.

Once downloaded and installed, download the latest release of the framework from https://webfiori.com/download. After downloading, extract all files inside the folder '/htdocs'. The folder will be inside the place where you installed AMP stack.

Another option is to use composer to install the framework. Simply, add following entry in your composer.json to download the framework and the packages that it depends on:

"require": {
    "webfiori/framework":"*"
}

Once added, run composer and it should install everything.

Hosting on the Web

If you plan to use the framework for all of your domain, then simply upload all framework files to the root folder of your website (usually has the name "public_html"). If you plan to use it in specific part of your website, then upload framework files to the folder that the part of your website will point to.

Notes

  • This project is a hoppy project.
  • The project is reletivly new and for sure has issues.
  • If you think that there is a better way of doing things or wants new feature, feel free to drop an issue.

License

The project is licensed under MIT license.

About

๐ŸŒธ PHP web development framewrok. Built to help in creating websites. https://t.me/webfiori

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 95.9%
  • CSS 2.2%
  • JavaScript 1.8%
  • HTML 0.1%