Download the PHP package ahead/crud-generators without Composer

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

ahead-generators

A collection of CRUD generators for Lumen by A-Host

How-To-Use

วิธี Generate Model, Resource, Repository, Controller, Route ในคำสั่งเดียว

Command

วิธี Generate Model

คำอธิบายการใช้ Flag

Flag Description
--table ชื่อ Table ตาม Database
--fillable กำหนดคอลัมน์ fillable ตัวอย่างการใส่ เช่น col1,col2,col3,...
--timestamps กำหนด Timestamp โดยค่า Default เป็น true
--path กำหนด Path เก็บ Model โดยค่า Default เป็น app/Models
--force กรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true

Command

วิธี Generate Resource

คำอธิบายการใช้ Flag

Flag Description
--table ชื่อ Table ตาม Database
--path กำหนด Path เก็บ Resources โดยค่า Default เป็น app/Resources
--force กรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true

Command

วิธี Generate Repository

คำอธิบายการใช้ Flag

Flag Description
--model กำหนดชื่อ Model กรณีที่มี Model อยู่แล้ว
--path กำหนด Path เก็บ Repositories โดยค่า Default เป็น app/Repositories
--force กรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true

Command

วิธี Generate Controller

คำอธิบายการใช้ Flag

Flag Description
--model กำหนดชื่อ Model กรณีที่มี Model อยู่แล้ว
--resource กำหนดชื่อ Resource กรณีที่มี Resource อยู่แล้ว
--repository กำหนดชื่อ Repository กรณีที่มี Repository อยู่แล้ว
--path กำหนด Path เก็บ Controller โดยค่า Default เป็น app/Http/Controllers
--force กรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true

Command

วิธี Generate Route

คำอธิบายการใช้ Flag

Flag Description
--controller กำหนดชื่อ Controller กรณีที่มี Controller อยู่แล้ว
--laravel กำหนด Pattern ของ Route กรณีที่ใช้กับ Project ที่เป็น laravel route จะถูก generate ที่ routes/api.php ถ้าไม่ใช่ default จะเป็น routes/web.php ตัวอย่างการส่ง flag --laravel=true

Command


All versions of crud-generators with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5
illuminate/console Version ^5.1
illuminate/filesystem Version ^5.1
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 ahead/crud-generators contains the following files

Loading the files please wait ....