Download the PHP package prom-cms/core without Composer

On this page you can find all versions of the php package prom-cms/core. 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 core

PromCMS Core project

This project contains essential parts of PromCMS.

TODOs

  1. [ ] Improve tests
  2. [ ] Add documentation (Partially done)
  3. [x] Migrate to Doctrine
  4. [ ] Migrate to illuminate/database models and still use SleekDB Create SleekDB Adapter into Doctrine
  5. [ ] Improve twig rendering
  6. [x] Improve events
  7. [ ] Provide better international experience
    1. [x] Add twig function/tags/filters
    2. [ ] Rethink intl on models (should that info be on models itself?)
  8. [x] Support MySQL in custom models
    • Perhaps support Illuminate/Database again by creating package that adds SleekDB as a db driver

FAQ and HOW TOs

What functions/filters/helpers/etc are accessible in Twig?

How can I access services or other objects provided by PromCMS?

Services are stored in PSR Container by PromCMS. In fact, PromCMS sets those objects and subscribes to them internally from the container.

Let's look at this example code that can be placed inside <your app root>/src/bootstrap.php:

What services does PromCMS expose?

PromCMS exposes a variety of services and objects that help you with creating your project. Each item has its own documentation page (or even PHPDoc) that you can access by clicking on each item

What possible .env options can I set, how can I access them and what they control?

Every PromCMS should have secrets stored in .env. PromCMS stores known configuration in PromCMS\Core\Config which is accessible through PSR Container (see this section for more)

Known keys

APP_ENV

SECURITY_SESSION_LIFETIME

SECURITY_TOKEN_LIFETIME

APP_DEBUG

MAIL_HOST

MAIL_PORT

MAIL_USER

MAIL_PASS

MAIL_ADDRESS

SYSTEM_LOGGING_PATHNAME

Describes the relative path to where should Logger log.


All versions of core with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
slim/slim Version 4.*
guzzlehttp/psr7 Version ^2
guzzlehttp/guzzle Version ^7.4
php-di/php-di Version ^7
rakibtg/sleekdb Version ^2.13
bryanjhv/slim-session Version ^4.0
league/flysystem Version ^3.15
firebase/php-jwt Version ^6.8
paragonie/sodium_compat Version ^1.17
phpmailer/phpmailer Version ^6.6
symfony/dotenv Version ^6
illuminate/support Version ^10.21
rakit/validation Version ^1.4
slim/twig-view Version ^3.3
twig/html-extra Version ^3.7
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 prom-cms/core contains the following files

Loading the files please wait ....