Libraries
Most of these libraries can be used outside a Jelix project.
Library IniFile
Sets of classes to read and modify ini files, by preserving comments, empty lines etc. There are classes also to combine and merge several ini files.
Last version
3.4.0 (stable)
- Released on 02/13/2024
Library Jelix Database
This is a lightweight PHP abstraction layer to access and query SQL databases, with an API to inspect and modify databases schema.
This is the implementation of jDb, with classes that have been renamed and improved, and available for non Jelix application and future versions of Jelix 2.0+.
Last version
1.3.2 (stable)
- Released on 03/10/2024
Library Wikirenderer
WikiRenderer is a php component which can parse a wiki content, and transform it to XHTML content, to any other markup language, or to an other wiki content with a different syntax. So this is useful to transform and display wiki content into your CMS, your wiki, your forum, or for example to migrate wiki contents from an old wiki CMS to a new one.
You can use the WikiRenderer plugin for templates to use it into your Jelix templates.
Last version
3.1.11 (stable)
- Released on 04/29/2024
- Compatible Jelix 1.6 to Jelix 1.8
Library Castor
This is the template engine used into Jelix (under the name jTpl). It uses a simple syntax similar to the PHP syntax.
- A simple Api to inject data and to generate content
- A language with a syntax similar to PHP, but a bit simpler to ease learning
- Templates can be a file or a simple string
- Efficient generator: template files are "compiled" to PHP files
- A sandbox mode, to fetch untrusted templates (templates uploaded by a user in a CMS for example). This mode has less capabilities of course.
- A plugin system, similar to Smarty plugins.
- Plugins can be specific to a content type (HTML, XML, text…), so they produced right content.
- meta expression: it allows the template to expose data to PHP code. For example, a "meta" can be an url of a stylesheet to use with the generated content.
Last version
1.1.3 (stable)
- Released on 11/08/2023
Library jProfiles
API to manage access and credentials data (to database, ldap etc) into a single ini file. This is the component used into Jelix for jDb and other components, and available for any framework.
Last version
1.2.1 (stable)
- Released on 01/22/2023
Library Console helpers
This is a class that ease the use of Symfony QuestionHelper, to implement interactive process with the user: confirmation question, information question, items choice, secret information question...
Last version
1.0.3 (stable)
- Released on 12/15/2023
Library Jelix Dao
This is the implementation of jDao, with classes that have been renamed and improved, and available for non Jelix application and future versions of Jelix 2.0+.
Last version
1.1.0 (stable)
- Released on 12/23/2023
Library File Utilities
Helpers to manipulate files, path and directories.
Last version
1.8.5 (stable)
- Released on 10/13/2022
Library Jelix Version
Parse any version syntax, including semantic version. Compare version, using Composer version constraints syntax.
Last version
2.0.1 (stable)
- Released on 03/15/2022
Library Properties file
Classes to read and write properties files. The format is similar to Java properties files and is used to read localization files of Jelix.
Last version
1.2.3 (stable)
- Released on 06/29/2022