Download the PHP package mano-code/custom-extend without Composer

On this page you can find all versions of the php package mano-code/custom-extend. 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 custom-extend

中继owl-admin、增加自定义组件

安装本扩展

1. 为了方便初学者避免遇到php 扩展以及配置问题,推荐使用docker-compose 作为环境编排。运行环境需要安装docker

a. 发布配置

b. 启动环境

如需进入docker 环境内 运行环境,调试命令 请使用 即可进入容器内终端

如需修改访问端口 则在 项目目录下的 docker-compose.yml内修改 services->nginx->ports 的 8000 为你要使用的端口,默认端口为 :localhost:8000/admin

2. 为了解决字典自动加载,以及扩展更新时 新增的Migration文件。使用\ManoCode\CustomExtend\Extend\ManoCodeServiceProvider作为基础服务提供者即可解决。具体使用方式参考如下

并且将扩展依赖加入到自己扩展的composer.json->require内。版本要求为:*

在自己扩展内的 src/XxxxServiceProvider.php内 修改继承类 为 ManoCodeServiceProvider 如下所示。

3. 如需定义api 直接提供给外部使用,或者自定义鉴权机制的 则可以在 扩展目录下的src/Http/api_routes.php 定义路由。此文件默认不存在 需要自己创建。

新建路由文件 src/Http/api_routes.php

写入自己的路由 如下所示

本路由可以使用 /demo 直接访问,与 admin_api 无关

4. API逻辑交互 也提供了 json 返回的工具类

新建控制器,use ApiResponseTrait;即可通过$this 调用接口返回工具

5. 公共函数库

函数1 admin_user_role_check


All versions of custom-extend with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
slowlyo/owl-admin Version *
slowlyo/owl-dict 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 mano-code/custom-extend contains the following files

Loading the files please wait ....