Download the PHP package jbzoo/crosscms without Composer
On this page you can find all versions of the php package jbzoo/crosscms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package crosscms
JBZoo CrossCMS
One extention, one code — different CMS!
Description
CrossCMS it's collection of simple helpers, which helps you to create one cross platform extension for Joomla and WordPress. So developer writes code once and runs the same tests for two different CMS.
This library is result of combining different API systems to general appearance concealing the difference within yourself. It is necessary to consider it as a global renaming of the main functions of CMS (though it is a bit more complicated). Moreover, the library does not carry any specific implementations of functions. So, there is little overhead and memory performance for your extension.
CrossCMS was created for JBZoo CCK (Content Constructor Kit) and it works fine. You can find project in the repository JBZoo/JBZoo.
Testing
For testing we are running same set of unit tests in PHP from v5.4 to v7.0 without any mocks or stubs!. Only real CMS last versions, only hardcore!
Support of CMS
- Joomla CMS: 3.4.x ... 3.6.x
- Wordpress: 4.2.x ... 4.5.x
Documentation
Install
Just use the composer
Main container
Pimple DI contains all helpers.
Starting to use CrossCMS.
Autocomplete
We are using PhpStorm IDE, so we recommend you to install plugin for Silex and copy file pimple.json
to the root of your project. The file is result of JBZoo/PimpleDumper.
Work with cache
CrossCMS uses only CMS drivers and API for caching anything.
Example
General site properties
Database
We recommend you to use SqlBuilder with the database helper. This is a simple and secure SQL-queries builder compatible with CrossCMS, Joomla and Wordperss. It's not required. Only if you wish. If an error occurs, CMS will throw an exception (Joomla), or cause Die (Wordpress).
Dates
Helper allows you to get time in different formats (check timezone and localisation). It support pre defined date formats. We are using helper JBZoo/Utils for parse string to date.
Environment
Events
CrossCMS uses simple and power event manager JBZoo/Event. This is Only one file.
Примеры
You can subsribe to back-end of front-end pages.
Examples for install (see comments)
Assets
HTTP-client
Localisations
Internal libs
Usually all popular CMS contains popuplar JS-libraries. It makes no sense to include your jQuery file, while there is built-in one. So we avoid the classic conflicts with other CMS extensions.
Mailer
Short alias
Filesystem
Request
Response
Session
Users
Examples
Plugins for Wordpress
Extensions for Joomla!CMS
License
MIT
All versions of crosscms with dependencies
pimple/pimple Version ^3.0
jbzoo/sqlbuilder Version ^1.1
jbzoo/data Version ^1.4.1
jbzoo/utils Version ^1.7.2
jbzoo/path Version ^1.3
jbzoo/event Version ^1.2.1
jbzoo/lang Version ^1.0