Download the PHP package baiy/cadmin without Composer

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

Cadmin php 服务端

项目地址: [github] [gitee]

在线文档地址: https://baiy.github.io/Cadmin/

特点

  1. 为便于给现有系统加入后台管理功能和加快新系统开发, 后台核心系统尽可能的减少依赖, 不侵入外层业务系统.
  2. 对请求处理按照请求类型可自定义请求调度类,便于不用业务系统使用和开发. 系统内置Thinkphp/Laravel框架的请求调度类

安装

数据库

详见 数据库结构 一章

使用方法

在代码安装和数据库导入完毕后, 接下来需要将后台系统的入口代码嵌入当前系统的合适位置, 并进行相应的配置

入口代码说明

Thinkphp 6.0

代码插入位置

请求根据实际路由配置文件添加代码

示例代码

Laravel

代码插入位置

请求根据实际路由配置文件添加代码

添加到/routes/web.php

示例代码

自定义用户密码生成策略

  1. 实现 Baiy\Cadmin\Password\Password 接口
  2. 注册密码生成器,使用\Baiy\Cadmin\Admin::registerPassword()

系统内置密码生成器: https://github.com/baiy/Cadmin-server-php/blob/master/src/Password/PasswrodDefault.php

内置密码生成规则: base64_encode(hash('sha256',hash("sha256", $password.$salt,FALSE).$salt,FALSE).'|'.$salt);

自定义请求调度器开发

  1. 实现 \Baiy\Cadmin\Dispatch\Dispatch 接口
  2. 注册调度器,使用\Baiy\Cadmin\Admin::registerDispatcher()

系统内置调度器: https://github.com/baiy/Cadmin-server-php/tree/master/src/Dispatch


All versions of cadmin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
psr/http-message Version ^2.0
laminas/laminas-diactoros 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 baiy/cadmin contains the following files

Loading the files please wait ....