Download the PHP package songbai/laravel-builder without Composer

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

laravel 代码生成

重写了artisan make 一部分命令,使之在项目中更灵活

安装

使用

功能

自定义模板 发布配置

创建字典文件

php artisan lb:CreateDicFile // 将会扫描Models下所有模型中 包含这两个@group @label注解的常量.通过反射,组装成类似 [value=>'值', label=>'标签'] 的结果

生成如下文件

最佳体验

需要配合另一个扩展包iamxcd/laravel-crud,导入增删改查功能。

将模板发布后,调整到适合自己的项目。

根据功能模块建立模型的迁移

注意:迁移文件每个字段记得加上备注。

生成控制器和验证规则。

创建路由

给刚添加的模块创建一个apiResource路由。

通过以上几个步骤,即可完成一个简单的增删改查接口。如有调整,重写该方法即可。


All versions of laravel-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
laravel/framework Version ^5.5 | ^6.0 | ^7.0 | ^8.0
doctrine/dbal Version ^2.10
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 songbai/laravel-builder contains the following files

Loading the files please wait ....