Skip to content
Snippets Groups Projects
Select Git revision
  • 7011b153b023073695ec02c30b1d637daa985591
  • master default protected
  • 0.12.x
  • 6-another-draft-of-in-line-table-factory
  • 0.10.x
  • 24-fix-annotated-exception
  • wip-type-object
  • to-array-support-for-builders
  • 0.13.3
  • 0.12.3
  • 0.13.2
  • 0.13.1
  • 0.12.2
  • 0.13.0
  • 0.12.1
  • 0.12.0
  • 0.11.2
  • 0.11.1
  • 0.11.0
  • 0.10.3
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.0
  • 0.9.0-beta.3
  • 0.9.0-beta.2
  • 0.9.0-beta.1
  • 0.8.0
28 results

tables

  • Clone with SSH
  • Clone with HTTPS
  • Jiří Pudil's avatar
    Jiří Pudil authored
    Removed dependency on assert function signature repo
    
    See merge request !2
    7011b153
    History

    Tables

    Idea: make statically typed what is possible and prevent typos.

    Priorities:

    • keep it simple (no-relations support)
    • keep it fast to use (Scaffolding)
    • do not write it twice (sync database to database-access-layer classes)
    • do not screw up database - support for rich types as UUID, arrays, ... (easy to add more)

    Installation

    This is private repo, so you have to add repositories to you composer.json manually. This tells composer where to find our packages.

    {
        "repositories": [
    		{
    			"type": "vcs",
    			"url": "git@gitlab.grifart.local:grifart/tables.git"
    		},
            {
                "type": "vcs",
                "url": "git@gitlab.grifart.local:jkuchar1/assert-function-signature.git"
            },
            {
                "type": "vcs",
                "url": "git@gitlab.grifart.local:grifart/class-scaffolder.git"
            }
        ]
    }

    Then install dependencies.

    # 1. install grifart/tables:
    
    # use for latest stable version:
    composer require grifart/tables
    
    # use for latest dev version:
    composer require grifart/tables:dev-master
    
    # 2. install grifart/class-scaffolder for automatic defintions generation:
    composer require grifart/class-scaffolder