Download the PHP package arnaldo-tomo/laravel-autoscema without Composer

On this page you can find all versions of the php package arnaldo-tomo/laravel-autoscema. 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?
arnaldo-tomo/laravel-autoscema
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package laravel-autoscema

Laravel AutoSchema

๐Ÿš€ Automatically generate TypeScript types and validation schemas from Laravel Models with zero configuration.

Latest Version PHP Version Laravel Version License

โœจ Features

๐Ÿš€ Quick Start

Installation

Initialize

Generate Types

That's it! Your TypeScript types are ready in resources/js/types/.

๐Ÿ“‹ Example

Laravel Model

Generated TypeScript

Form Request Integration

Generated Validation Schema

๐Ÿ› ๏ธ Commands

Generate Types

File Watcher

โš™๏ธ Configuration

Publish the configuration file:

Configuration Options

๐Ÿ”ง Advanced Usage

API Client Generation

When enabled, AutoSchema generates a complete API client:

Custom Types

Handle complex relationships and custom types:

Generated TypeScript:

Integration with Frontend Frameworks

React + TypeScript

Vue + TypeScript

Inertia.js

๐Ÿ”„ Workflow Integration

GitHub Actions

Pre-commit Hook

๐ŸŽฏ Use Cases

E-commerce Platform

Generated types enable perfect frontend integration:

API Integration

Form Validation

๐Ÿ”ง Troubleshooting

Common Issues

Types not generating?

  1. Check if models extend Illuminate\Database\Eloquent\Model
  2. Ensure output directory is writable
  3. Run with --dry-run to see what would be generated

Relationships not showing?

  1. Ensure relationships return Illuminate\Database\Eloquent\Relations\Relation
  2. Check if include_relationships is enabled in config
  3. Verify relationship methods are public

Custom types not working?

  1. Add custom type mappings in configuration
  2. Use --force to overwrite existing files
  3. Check Laravel logs for errors

Debug Mode

๐Ÿงช Testing

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Development Setup

๐Ÿ“œ Changelog

Please see CHANGELOG.md for recent changes.

๐Ÿ›ก๏ธ Security

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

๐Ÿ“„ License

Laravel AutoSchema is open-sourced software licensed under the MIT license.

๐Ÿ™ Credits

๐ŸŽ‰ Support


Made with โค๏ธ by Arnaldo Tomo in Mozambique ๐Ÿ‡ฒ๐Ÿ‡ฟ


All versions of laravel-autoscema with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/contracts Version >=9.0 <21.0
illuminate/support Version >=9.0 <21.0
illuminate/console Version >=9.0 <21.0
illuminate/database Version >=9.0 <21.0
nikic/php-parser Version ^4.15 || ^5.0
symfony/finder Version ^6.0|^7.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 arnaldo-tomo/laravel-autoscema contains the following files

Loading the files please wait ...