Download the PHP package dvrtech/schema-tools without Composer

On this page you can find all versions of the php package dvrtech/schema-tools. 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 schema-tools

Schema Tools for Laravel

Latest Stable Version Total Downloads License

A comprehensive Laravel package for analyzing JSON/CSV data structures and automatically generating database schemas, migrations, and Eloquent models. Streamline your development workflow by converting raw data into production-ready Laravel components.

๐Ÿš€ Features

๐Ÿ“‹ Requirements

๐Ÿ“ฆ Installation

Install the package via Composer:

The package will automatically register its service provider through Laravel's package auto-discovery.

๐ŸŽฏ Quick Start

Basic Usage

Artisan Commands

The package provides several Artisan commands for different use cases:

Schema Analysis

Migration Generation

Model Generation

Complete Resource Generation

Azure Environment Conversion

Convert between Azure settings JSON and Laravel .env files:

โš™๏ธ Configuration

Publish the configuration file to customize default settings:

The configuration file (config/schema-tools.php) allows you to customize:

Default Configuration

๐Ÿงช Testing

Run the test suite:

๐Ÿ”ง Advanced Usage

Programmatic API

Basic Schema Analysis

Generate Raw SQL Schema

Generate Laravel Migration

Generate Eloquent Model

Type Detection Logic

The package uses intelligent type detection with the following hierarchy:

  1. JSON/Arrays: Complex data structures โ†’ json column type
  2. Text: Long strings (>255 chars) โ†’ text column type
  3. VARCHAR: Short strings with dynamic length calculation โ†’ varchar(n)
  4. Dates: Pattern-matched date strings โ†’ date/datetime
  5. Decimal: Context-aware numeric detection (price, amount) โ†’ decimal(8,2)
  6. Float: Decimal numbers โ†’ float
  7. Integer: Whole numbers โ†’ int

Context-Aware Type Detection

The analyzer uses column name context to make intelligent type decisions:

๐Ÿ“Š Data Format Support

JSON Files

Supports both single objects and arrays:

CSV Files

Automatically detects headers and analyzes data types:

๐Ÿ”„ Azure Integration

Environment File Conversion

Convert between Azure App Service configuration and Laravel .env files:

๐Ÿ—๏ธ Architecture Overview

The package follows a clean architecture pattern:

๐Ÿค Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Follow coding standards: Use PSR-12 coding standards
  4. Add tests: Ensure your changes are covered by tests
  5. Run quality checks:

  6. Commit your changes: Use conventional commit messages
  7. Push to the branch: git push origin feature/amazing-feature
  8. Open a Pull Request

Development Setup

๐Ÿ“ Changelog

Please see CHANGELOG for more information on what has changed recently.

๐Ÿ›ก๏ธ Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

๐Ÿ“„ License

The MIT License (MIT). Please see License File for more information.

๐Ÿ’ผ About DVRTech

This package is developed and maintained by DVRTech LLC.

๐Ÿ™ Credits


Made with โค๏ธ by DVRTech


All versions of schema-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^9.0|^10.0|^11.0|^12.0
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 dvrtech/schema-tools contains the following files

Loading the files please wait ...