Download the PHP package wula/cms-support without Composer

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

CMS支持扩展

wulacms的支持库,提供配置加载、命令行安装,命令行管理模板等功能.

命令行安装wulacms

1. 直接运行php artisan wulacms:install

根据提示输入完成安装即可.

2. 基于配置安装 php artisan wulacms:install conf

conf使用HTTP GET请求参数格式,参数解释如下:

  1. env: wulacms运行环境,可选[dev,pro,test,int]
  2. dbhost: 数据库服务器地址
  3. dbport: 数据库端口
  4. dbname: 数据库名
  5. dbuser: 数据库用户名
  6. dbpwd: 数据库密码
  7. charset: 编码
  8. username: 登录用户名

管理员密码将自动生成.

缓存支持

  1. bootstrap.php文件中将APP_MODE设为pro
  2. 修改conf/cache_config.php配置缓存服务器。
  3. 在输出页面内容前定义CACHE_EXPIRE常量值为缓存时间即可(单位秒)。

防雪崩机制

bootstrap.php文件中将ANTI_AVALANCHE设为true即可开启(需要redis支持)。

防CC支持

  1. bootstrap.php文件中将ANTI_CC设为单位时间内同一IP可访问次数开启防CC机制。

    • ANTI_CC 格式有两种:
      1. 直接配置访问次数,格式为:100。表示60秒内最多访问100次。
      2. 同时配置访问次数与单位时间,格式为:60/120。表示120秒内最多访问100次。
    • 通过定义ANTI_CC_WHITE常量设置白名单,以逗号分隔.
  2. conf/ccredis_config.php配置供防CC机制工作的redis。

All versions of cms-support with dependencies

PHP Build Version
Package Version
Requires wula/wulaphp Version >=2.5
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 wula/cms-support contains the following files

Loading the files please wait ....