Download the PHP package eng-mohamedemad-dev/command-module-generator without Composer

On this page you can find all versions of the php package eng-mohamedemad-dev/command-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 command-module-generator

Laravel Module Generator Package# command-module-generator

Smart Laravel Artisan module generator package - Generates complete modules (Model, Controller, Service, Repository, Policy, Observer, Views, Routes) with full automation and best practices.### 📦 باكج توليد موديلات لارافيل ذكي وقابل للتخصيص الكامل

License: MIT---

Laravel

PHP## الفكرة باختصار

باستخدام أمر واحد فقط تقدر تولد:

---- Model

🌟 Features- Service

---## التركيب السريع

📦 Installation1. أضف البكچ داخل مجلد packages في مشروعك

  1. ثبتها يدوياً في composer لو لزم الأمر

Install the package via composer:3. فعّل الـ ServiceProvider داخل config/app.php او سيعمل AutoDiscovery:

bash'providers' => [

composer require eng-mohamedemad-dev/command-module-generator ...

  1. انشر ملف الكونفج لتخصيص الخيارات:

  1. (اختياري) انشر stubs لتعديل قوالبك:

Generate a Module

أهم الميزات والخيارات الافتراضية

API Module - default_type: web/api

Delete a Module


bash

| --type=web\|api | Select between web or API module (default: api) |

| --repo | Generate Repository + RepositoryInterface and bind to service |- أي خيار لم ترسله بالأمر، سيعمل بالقيمة الموجودة في الكونفج افتراضيًا.

| --path=custom | Custom view folder path (for web modules) |

| --force | Allow overwriting existing service, repository, and interface files |---

---## تخصيص قوالب (stubs) التوليد

📁 Generated Structure

Summary (EN)

For Web Modules (--type=web)A smart highly-configurable module generator for Laravel. Generate, clean up, and customize all module layers with one command. Full flexibility for your workflow!

Additional files:


🔧 How It Works

Service Layer Pattern

The package implements the Service Layer pattern for clean separation of concerns:

Auto Binding

Services and repositories are automatically bound in AppServiceProvider:

Modern Attributes

Uses PHP 8 attributes for Policy and Observer registration:


🎯 Best Practices

This package follows Laravel best practices:


📝 Examples

Example 1: Simple API Module

Generates a complete API module with:

Example 2: Web Module with Custom Path

Generates web module with views in resources/views/admin/categories/

Example 3: API Module with Repository

Generates API module + Repository pattern implementation


🗑️ Delete Command

The delete command removes all generated files and cleans up:


🌍 Internationalization

This package supports both English and Arabic:

Arabic Commands


🔮 Roadmap


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This package is open-sourced software licensed under the MIT license.


👨‍💻 Author

Mohamed Emad
Email: [email protected]
GitHub: @eng-mohamedemad-dev


⭐ Support

If you find this package helpful, please give it a ⭐ on GitHub!


Made with ❤️ for the Laravel Community


All versions of command-module-generator with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
illuminate/support Version ^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 eng-mohamedemad-dev/command-module-generator contains the following files

Loading the files please wait ...