Download the PHP package mqondisi/laravel-module-generator without Composer

On this page you can find all versions of the php package mqondisi/laravel-module-generator. 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 laravel-module-generator

Laravel Module Generator

Opinionated scaffolding for Laravel: model, migration, repository (+ interface), Spatie-style DTO stub, optional DAO layer, and HTTP controllers. Skips existing files unless you pass --force.

Published on Packagist: mqondisi/laravel-module-generator

Requirements

Installation

The service provider is auto-discovered; you do not need to register it manually in most apps.

For bleeding-edge changes from GitHub:

Optional: Spatie Laravel Data

Generated DTOs under app/Data extend Spatie\LaravelData\Data. The package suggests installing Spatie in your application (it is not a hard dependency of this package, to avoid unnecessary transitive conflicts):

Usage

Flags can be combined. With both --api and --inertia, an API controller and a web Inertia controller are generated (plus a page stub when Inertia is used).

Option Effect
--api JSON API controller under app/Http/Controllers/Api
--inertia Web controller + page stub under resources/js/Pages/.../ (Index.vue, Index.jsx, or Index.svelte)
--inertia-stack With --inertia: vue (default), react, or svelte — picks stub file and extension
--tenant team_id on migration, model global scope / scopeTeam, tenant docblocks
--with-dao app/DAO + app/DAO/Interfaces; repository depends on the DAO only
--force Overwrite files that already exist (use with care)

Examples:

After a run, the command prints Created, Skipped, and Overwritten lines plus a short summary.

Repository bindings

The generator creates or updates app/Providers/RepositoryServiceProvider.php and may append your provider to config/app.php when that file uses the usual AppServiceProvider::class marker (Laravel 9–10 style). On Laravel 11+, register App\Providers\RepositoryServiceProvider::class in bootstrap/providers.php if it is not picked up automatically.

License

MIT


All versions of laravel-module-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.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 mqondisi/laravel-module-generator contains the following files

Loading the files please wait ...