Download the PHP package githen/cmsengine without Composer

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

CMS模板生成扩展

这是一个基于laravel框架,为CMS模板引擎生成HTML实现的扩展包。 支持对属性值,列表自定义标签。

image image image

安装

配置文件说明

标签说明

目前标签解析支持三种方式:

  1. 获取属性值

    {eol:tag.title/}

    {eol:tag name="title"/}

  2. 对列表/分页进行渲染

    {eol:arclist id=1 row=60 order='desc'}

    <li>[field:title/]</li>

    {/eol:tag}

  3. 内置标签
    • include

标签举例

{eol:include filename='footer.html'/}

引擎将会把 app('html.tpl')中 $homeDir/footer.html进行渲染生成html替换此标签

数据遍历

{eol:foreach array="field:category"}

[field:key/] -- [field:val/]

{/eol:foreach}

array: 需要遍历的数组

  1. 支持数组索引的方式调用 [field:index/]

  2. 使用内置标签,前提是数组中不存在 key/val 两个索引

[field:key/]:获取数组索引

[field:val/]:获取数组值(字符串,整形)

  1. 标签处理方法

内置方法不足以满足数据处理或其它需求时,支持扩展自定义的方法,可在模板进行fetch或saveTo的时候,通过注入类的方式实现,代码如下:

使用举例

项目中调用

注册自定义数据服务提供者

取数据值实例

config/cms.php中的tags中,声明的标签typefield时,会自动调用此类,标签名为类中的方法名。

获取列表实例

config/cms.php中的tags中,声明的标签typelist时,会自动调用此类,标签名为类中的方法名。

获取分页实例

config/cms.php中的tags中,声明的标签typepage时,会自动调用此类,标签名为类中的方法名。 分页中若展示页码,可通过global获取分页信息,通过js渲染


All versions of cmsengine with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^6.20|^8.0
ext-mbstring Version *
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 githen/cmsengine contains the following files

Loading the files please wait ....