Download the PHP package webmonks/laravel-api-modules without Composer

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

๐Ÿš€ Laravel API Modules

Latest Version on Packagist Total Downloads Laravel PHP

A powerful SOLID-principle Laravel modular code generator specifically designed for API-first projects.

Transform your Laravel development with intelligent module generation that creates clean, maintainable, and scalable API architectures following industry best practices.


โœจ Why Laravel API Modules?

๐ŸŽฏ Built for API Excellence

โšก Intelligent Generation

๐Ÿ”ง Developer Experience


๐Ÿ“ฆ Installation

Requirements

Component Version
PHP ^7.4 | ^8.0 | ^8.1 | ^8.2 | ^8.3
Laravel ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0

Quick Install

Configuration (Optional)

That's it! The package is auto-discovered and ready to use. ๐ŸŽ‰


๐Ÿš€ Quick Start

Generate Your First Module

Remove Modules Safely

What Gets Generated?

Simple Module (php artisan make:module Blog)

Resource Module (php artisan make:module Product --resource)

Your Project Structure

After generating your first module, your Laravel application will have this enhanced structure:


๐Ÿ”ง Core Features

๐Ÿ—‘๏ธ Safe Module Removal

Complete cleanup with safety checks! The package provides:

๐Ÿ”— Automatic Repository Binding

Zero Configuration Required! The package automatically:

๐Ÿท๏ธ Smart Traits System

The package includes battle-tested traits for common API functionality:

Trait Purpose Auto-Included
ApiResponser Consistent API response format โœ… Required
ActivityLogHelper Track model changes and actions โš™๏ธ Optional
PdfGeneratorTrait Generate PDFs from Blade templates โš™๏ธ Optional
SmsSender Send SMS via Twilio with logging โš™๏ธ Optional
UserUpdater Auto-manage created_by, updated_by fields โš™๏ธ Optional

๐Ÿ”„ Helper Autoloader

Drop any PHP helper files into app/Helpers/AutoloadFiles/ and they're automatically available throughout your application:


โš™๏ธ Configuration

The package works perfectly with zero configuration, but offers extensive customization options:

๐Ÿ“‹ View Configuration Options

๐Ÿ’ก Usage Examples

Example 1: Blog API Module

Generated controller will have a clean, testable structure:

Example 2: Full CRUD Product API

This creates a full API with endpoints:

Example 3: Custom Helper Integration


๐Ÿ”ง Advanced Customization

Custom Stub Templates

Publish stubs and modify them to match your team's conventions:

Edit any stub in stubs/laravel-api-modules/ to customize generated code:

Extending Base Classes

The generated BaseModel and BaseService can be extended with your common functionality:


๐Ÿงช Testing

The package generates comprehensive test files for each module:

Run tests for your modules:


๐Ÿ“š Documentation

Complete Guides

Resources


๐Ÿค Contributing

We welcome contributions from the community! Whether it's:

See our Contributing Guidelines for details.


๐Ÿ† Credits

Laravel API Modules is crafted with โค๏ธ by WebMonks Technologies

Built With


๐Ÿ“„ License

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


### ๐ŸŒŸ Star this repository if it helped you! **Made with โค๏ธ for the Laravel community** [โญ Give us a star](https://github.com/damku999/laravel-api-modules) โ€ข [๐Ÿ“ฆ View on Packagist](https://packagist.org/packages/webmonks/laravel-api-modules) โ€ข [๐Ÿ› Report Issues](https://github.com/damku999/laravel-api-modules/issues)

All versions of laravel-api-modules with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
barryvdh/laravel-dompdf Version ^2.0 || ^3.0
twilio/sdk Version ^6.0|^7.0|^8.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 webmonks/laravel-api-modules contains the following files

Loading the files please wait ...