Download the PHP package kamicloud/stub-api without Composer

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

Stub Api

Intro

Stub Api is an API toolkit for laravel projects, including parameter validation, version control, document generating and regression testing.

Dependence

JDK 8-12

Laravel 5.5 - 6.0

Get Start

接口部分使用说明 https://learnku.com/articles/25288

注解和对应生成代码详解 https://learnku.com/articles/26733

DEMO https://github.com/Kamicloud/GeneratorDemoProject

Install

`

执行 php artisan stub-api:install 将配置、模板及脚本自动配置在项目目录

执行bin目录引入的initGenerator,

修改laravel项目的一些代码的基类为generator基类

目录结构

resources/generator目录下为模板目录包含以下子目录

templates 模板目录,包含TemplateList.java Template*.java Errors.java等

definitions 注解及定义目录,包含所有的注解及标量数据类型

config 工具配置目录,包含各个功能模块代码输出目录等配置

testcases 测试用例,执行生成会自动填充本目录

使用方式

修改Template.java为所需要的格式,执行generate

修改及添加测试用例,执行autoTest

机制

initGenerator时引入gradle,加载依赖并编译generator

每次generate时,编译模板,替代原编译代码并执行generator


All versions of stub-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
ext-json Version *
laravel/framework Version 5.5.*|5.6.*|5.7.*|5.8.*|6.0.*
nikic/php-parser Version ^4.2
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 kamicloud/stub-api contains the following files

Loading the files please wait ....