Download the PHP package theday-seeyou/web-base-core without Composer

On this page you can find all versions of the php package theday-seeyou/web-base-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 web-base-core

WebBase Core

theday-seeyou/web-base-core 是 WebBase 的可复用 ThinkPHP 后台核心包, 提供控制器、模型、查询助手、RBAC、队列、存储和运行时服务。

本包只包含通用后台基础设施,不包含动态内容模型设计器、页面搭建、 模板协议、模板市场或企业站内容产品能力。

安装

发布到 Packagist 后:

安全行为

命名空间

默认软删除与回收站

0.5 系列统一使用自增 id 和 DATETIME 类型的 created_at、updated_at、deleted_at。 Model 自动写入创建和更新时间,BaseModel 在此基础上默认开启软删除。 deleted_at datetime null default null 是唯一删除字段,框架不检测也不兼容其他删除字段。 本版本面向全新安装,不提供旧时间字段或 MD5 账号转换。

系统用户、角色、菜单、字典和附件记录默认继承 BaseModel。角色授权节点只在永久删除 角色时清理,回收和恢复保留原授权。用户序列化隐藏密码哈希。队列、操作日志、配置和 内部关联记录使用 Model,由明确的维护操作物理清理。

Starter 的 migrate:create 默认使用本包的迁移模板。也可以手动继承 WebBase\Core\migration\Migrator,通过以下方法创建表:

createTable() 默认添加 BIGINT UNSIGNED 自增主键,以及创建、更新、删除时间字段, 并为 deleted_at 建索引。创建和更新时间非空,默认使用 CURRENT_TIMESTAMP; 更新时间同时使用 ON UPDATE CURRENT_TIMESTAMP,覆盖查询构造器和原生 SQL 的更新。 删除时间可空且默认为 NULL。创建已有表会报错,修改表使用 table()->...->update()。 数据库操作仅在显式执行迁移时发生。

密码使用 password_hash / password_verify 验证 bcrypt,长度为 12–72 字节。 保留 bcrypt 成本参数更新,不识别或升级旧 MD5 密码。

开发

普通单元测试不要求数据库。需要运行数据库集成测试时,显式配置:

PowerShell 使用 $env:WEBBASE_TEST_DB_NAME = "webbase_test" 形式设置环境变量。

许可证

项目自身修改使用 MIT License。衍生代码的原始版权声明见 THIRD_PARTY_NOTICES.md。


All versions of web-base-core with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-fileinfo Version *
ext-gd Version *
ext-iconv Version *
ext-json Version *
ext-mbstring Version *
ext-openssl Version *
ext-zlib Version *
symfony/process Version ^6.0|^7.0
topthink/framework Version ^8.0
topthink/think-migration Version ^3.0
topthink/think-orm Version ^3.0
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 theday-seeyou/web-base-core contains the following files

Loading the files please wait ...