Download the PHP package tgozo/laravel-codegen without Composer

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

๐Ÿš€ Laravel CodeGen - The Ultimate Laravel Development Accelerator

Latest Version on Packagist Total Downloads License

Stop writing boilerplate code. Start building features.

Laravel CodeGen is a production-grade code generation suite that transforms your development workflow by automatically scaffolding complete, tested, production-ready Laravel components with terminal prompts, interactive wizards, modern frontend templates (Vue 3, React TSX, Inertia, Blade, Livewire), and domain-driven design support.


โœจ Key Capabilities


๐Ÿ“ฆ Installation

Install via Composer:

The package auto-registers its service provider. No extra setup required!

Optional: Publish Configuration & Custom Stubs


๐Ÿš€ Quick Start & CLI Usage

๐Ÿง™โ€โ™‚๏ธ Interactive Terminal Wizard

Run the interactive wizard powered by Laravel Prompts:


โšก Scaffolding Command Flags

Command Flag Reference

Option Description
-m, --model Generate Eloquent Model with casts() and relationships
-c, --controller Generate RESTful Controller
-f, --factory Generate Model Factory with smart faker matching
-s, --seeder Generate Database Seeder
-p, --pest Generate Pest PHP feature test suite
-l, --livewire Generate Livewire components
--inertia Generate Vue 3 Inertia pages (Index.vue, Create.vue)
--react Generate React TSX Inertia pages (Index.tsx, Create.tsx)
--types Generate TypeScript definition (resources/js/types/{Model}.d.ts)
--requests Generate Store{Model}Request.php & Update{Model}Request.php
--enum=Name:case1,case2 Generate PHP 8.1+ Backed String Enum
--repository Generate Repository contract and Eloquent implementation
--events Generate App\Events\{Model}Created.php and Handle{Model}Created.php
--soft-deletes-actions Include restore() and forceDelete() controller methods
--domain=Name Scope generated files to domain path (DDD)
--dry-run Preview generated files without writing to disk
--all Generate complete module suite
--force Overwrite existing files

๐Ÿ› ๏ธ Specialized Commands

๐Ÿ”„ Reverse Engineer Existing Database

Convert an existing database table or schema into models and migrations:


๐Ÿ“„ OpenAPI 3.0 Spec Generator

Generate OpenAPI 3.0 JSON specification for frontend clients and Postman:


๐Ÿงน Module Rollback & Cleanup

Safely inspect and delete all generated files for a specific module:


๐Ÿ“ฆ Migration Squashing & Combining

Merge multiple incremental migrations into a single clean base migration file:


๐Ÿงช Running Package Tests

The package features a complete Pest PHP test suite built on Orchestra Testbench:


๐Ÿ“ˆ Roadmap & Completed Features


๐Ÿ›ก๏ธ 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.


๐Ÿ™ Credits


**โญ If this package saved you time, please consider giving it a star on GitHub! โญ** [Report Bug](https://github.com/tgozo19/laravel-codegen/issues) โ€ข [Request Feature](https://github.com/tgozo19/laravel-codegen/issues)

All versions of laravel-codegen with dependencies

PHP Build Version
Package Version
Requires doctrine/inflector Version ^2.0
laravel/prompts Version ^0.1
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 tgozo/laravel-codegen contains the following files

Loading the files please wait ...