This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-04-01 06:22 UTC

This package is auto-updated.

Last update: 2021-10-06 02:33:14 UTC


Scaffold an application.

This packages is still under development. So use on own risk.

Create entity models in Yaml format, let me give you an example

name: User

table: users

  - name: email
    type: string
    fillable: true
    rules: [required, email]
  - name: password
    type: string
    fillable: true
    rules: ['min:10']
  - name: firstname
    type: string
    fillable: true
    rules: [required, 'min:2']
  - name: lastname
    type: string
    fillable: true
    rules: [required, 'min:2']

  destroyable: true
  editable: true
  increments: true
  timestamps: true
  softdeletes: true
  auth: true

    - entity: Task
    - entity: Something
      key: some_id

Put them in a folder called entities at the root of your application.

Now you have two artisan commands to use

  • artisan scaffold to scaffold the application
  • artisan scaffold:clear to remote the scaffolding