Download the PHP package readycms/readycms-php-framework without Composer

On this page you can find all versions of the php package readycms/readycms-php-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package readycms-php-framework

ReadyCMS PHP Framework

A lightweight, theme-driven PHP framework for building websites powered by ReadyCMS.

This framework is currently project-oriented: you clone it into a new site and adjust configuration, templates, and (optionally) controllers. Over time, parts of the framework (including the ReadyCMS API SDK and base themes) will become reusable Composer packages.


Key Concepts

Theme system (overrides + parent + shared)

Themes are resolved using a predictable fallback chain:

1) THEME (project overrides)
2) _THEME_PARENT (base/upgradable theme package)
3) _shared (always-present shared fallback)

This allows teams to update a base theme without overwriting project customizations.

Folder conventions

Under app/themes/:

Public assets follow the same pattern under public/:

Example

Using project overrides diline with base theme package _vidaa:

Config:


Requirements


Getting Started

1) Clone the project

2) Install dependencies

3) Configure environment

Copy sample files and adjust values:

Make sure you set:

4) Configure theme

In your config:

5) Ensure writable directories

Make sure these are writable by PHP:

6) Run locally

Point your local vhost to the project public/ directory.


Template, Include & Asset Resolution

The theme chain applies consistently to:

Smarty includes

If a template contains:

Smarty will resolve it using:

1) app/themes/{THEME}/includes/head.html
2) app/themes/_{THEME_PARENT}/includes/head.html
3) app/themes/_shared/includes/head.html


Routing Controllers from Themes

Some routes/controllers may be loaded from theme folders using rawFileRoute(). Resolution order is the same theme chain:

1) app/themes/{THEME}/...
2) app/themes/_{THEME_PARENT}/...
3) app/themes/_shared/...


Updating

This repo is currently updated via Git (pull/merge from upstream).
Base theme updates are done by updating the parent theme folder (e.g. _vidaa) while keeping project changes in the override theme (e.g. diline).

Future plan:


Project Structure (high level)


License

MIT


All versions of readycms-php-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
cubes-doo/nestpay Version ^2.1.4
smarty/smarty Version ^5.7
phpmailer/phpmailer Version ^6.9.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package readycms/readycms-php-framework contains the following files

Loading the files please wait ...