Skip to content

Releases: WebFiori/framework

Version 2.3.5 Stable

20 Oct 11:58
Compare
Choose a tag to compare

New Features

  • Added a way to view raw server output when forcing a job to execute through cron web interface.

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.5-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.3.4 Stable

05 Oct 15:58
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug in autoloader (#77 )

New Features

  • Added Support for Grouping Routes (#44)

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.4-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.3.3 Stable

02 Oct 23:35
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a small bug in the command update-table

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.3-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.3.2 Stable

30 Sep 15:53
Compare
Choose a tag to compare

Enhancements

  • Support for adding more than one before loaded and after loaded for themes is added.
  • Fixed small bug in the class WebPage

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.2-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.3.1 Stable

24 Sep 09:54
Compare
Choose a tag to compare

New Features

  • Added new CLI command which can be used to create themes.
  • Added new CLI command which can be used to update application settings (#74)

Enhancements

  • Added a way to customize input and output streams in CLI. This can help in making commands testable.
  • Improved CRON web interface and reduced number of needed pages (#48).
  • Improved the class EmailMessage (#68)
  • Moved CRON Web Interface Credentials Information to Class AppConfig (#73)

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.1-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.3.0 Stable

13 Aug 16:02
Compare
Choose a tag to compare

New Features

  • Added a way to run SQL Queries using CLI (#63).
  • The framework will now re-create initialization classes if deleted (#45).
  • Now developer can choose the name of application folder (#41).

Enhancements

  • Now default class creation location will be same as class namespace (#53).
  • Ability to add routes to class methods is now supported (#38).
  • It is now possible to register classes without having to return the namespace if PSR-4 is followed (#65).
  • Added support for creating CLI commands using the command create (#64).

Bug Fixes

  • Fixed a bug related to adding multiple foreign keys (#55).
  • Fixed a bug related to accessing CRON web interface (#59).
  • Fixed bugs related to auto-loader (#42 #47).

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.3.0-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.2.0 Stable

05 May 22:44
Compare
Choose a tag to compare

Changes

  • Separated application from framework core for the ones who uses composer to create and update project.
  • Added support for specifying request method for resources.

Details

The first one is the core of the framework was separated from the actual application. This helps in making the process of updating the framework using composer much easier. Now instead of using the package webfiori/framework to create a project, you must use webfiori/app package.

The second feature is that now you have the ability to specify a request method for your routes using the option 'methods' when creating the route.

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/app" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.2.0-stable.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 .

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

Version 2.2.0 Bata 1

05 May 21:46
Compare
Choose a tag to compare
Version 2.2.0 Bata 1 Pre-release
Pre-release

Changes

This release separates the application layer from the core of the framework.

WebFiori Framework v2.1.0 Stable

30 Apr 23:34
Compare
Choose a tag to compare

Change Log

  • Refactoring

    • Renamed class WebFiori to WebFioriApp.
  • New Features

    • Allow the developer to set custom sessions storage engine using the constant WF_SESSION_STORAGE.
    • Added new class: WebPage. This class is used to build web pages instead of using the class Page.
    • Added the class AppConfig which holds all different global configurations.
    • Now the framework will render web pages which uses the class WebPage automatically.
    • Added support for new language class creation when a new display language is added.
    • Added a way to allow the developer to register database table classes using the method DB::register()
  • Added database session storage implementation.

  • Deprecations and Removals:

    • Removed the class Config, MailConfig and SiteConfig.
    • Deprecated the class Page. Will be removed next release.
  • Other Changes:

    • Added new method to the class File which can be used to append data (File::append()).
    • Updated all themes to depend on the class WebPage instead of using the class Page.

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.0.0.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>/src. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 . Note that if the framework is installed using attached release, no need to add the src folder. Just navigate to <project-folder>

Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .

WebFiori Framework v2.0.0 Stable

14 Jan 18:12
Compare
Choose a tag to compare

Changelog

  • New Features:

    • Introduced the folder app. It can hold all source code which is related to the web application.
    • Added new public folder which should be set as server root in deployment. This folder can hold system resources such as images, css and js files.
    • New command line interface engine (more info at https://webfiori.com/learn/command-line-interface).
    • Added support for middleware (more info at https://webfiori.com/learn/middleware) .
    • Added new database abstraction layer (currently only support MySQL).
    • Moved all request and response related things to a library called HTTP.
    • Added support for creating middleware class using CLI.
    • Added support for creating background process class using CLI.
    • Added support for creating web services using CLI.
    • Added support for creating database tables classes and entities using CLI.
    • Auto-Registration:
      • CRON jobs which are created in the folder app/jobs are auto registered.
      • Commands which are created in the folder app/commands are auto registered.
      • Middleware which are created in the folder app/middleware are auto registered.
  • Email Related Improvements:

    • Now it is possible to create more than one instance of the class EmailMessage.
    • Fixed encoding issues with sending emails Now supports emoji in names and subject.
  • Themes Related Improvements:

    • Themes resources (js, css, images or fonts) now should be placed inside the folder public/assets.
    • Theme resources (js and css) are automatically loaded if resources directories names are set.
    • Added support for loading themes using the syntax Class::class.
  • Routing Related Improvements:

    • Added support for creating routes to classes using the syntax Class::class.
    • Support for redirect to non-www URL is added. It is possible to force the website to use non-www URLs.
    • A 404 error page that uses default theme will appear if a route is not found by default.
  • New Classes:

    • New class added: AbstractJob. This class can be used to implement custom cron jobs.
    • New class added: CronEmail. This class is used to send cron output and cron notifications.
    • New class added: GlobalConstants. The main aim of this class is to allow the developer to define his own global constants in one place.
    • New class added: UploadFile. This class is used by the class Uploader to use it instead of returning associative arrays.
  • Other Changes and Improvements

    • Improved error handling.
    • Now the framework has its own set of exceptions which are found under the namespace webfiori\framework\exceptions.
    • Added a way to enable and disable cron web interface.
    • Improved existing CLI commands.
    • Root framework file changed from WebFiori.php to index.php.
    • Moved all framework related classes to the namespace webfiori\framework.
    • All standard libraries updated to latest versions
    • Ability to install the framework using composer.

Installation

Using Composer

To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework" <project-folder>

Replace <project-folder> with the name of the folder that will hold your project.

Using Attached File

Optionally, you can download the file webfiori-v2.0.0.zip which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.

Running Using PHP's Built-in Server

To run the project, open command line interface and navigate to <project-folder>/src. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 . Note that if the framework is installed using attached release, no need to add the src folder. Just navigate to <project-folder>

Learning Resources

If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .