Download the PHP package libinkk/modular without Composer

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

Informations about the package modular

libinkk/modular

The easiest way to build scalable Laravel applications using Modular Architecture.

libinkk/modular is an opinionated Laravel package that helps developers build large, maintainable, and scalable applications using a modular architecture with zero manual configuration.

Instead of manually creating folders, registering service providers, loading routes, migrations, views, and configurations, libinkk/modular automates the entire workflow.


Vision

Build enterprise-level Laravel applications without worrying about project structure.

Our goal is to provide:


Why libinkk/modular?

As Laravel projects grow, maintaining a clean architecture becomes difficult.

Common problems include:

libinkk/modular solves these problems by enforcing a clean modular architecture.


Features


Installation

modular:install creates the Modules folder, publishes config, and generates the module cache. It does not edit composer.json.

Add PSR-4 to your app composer.json yourself:

Then:


Folder Structure


Module Structure

Each module is completely isolated.


Creating a Module

This command generates Modules/User/ including:


Module Configuration

Every module contains a module.json.

This file manages:


Automatic Discovery

Module Discovery

During application boot, the package automatically:

  1. Scans the Modules directory
  2. Finds every module.json
  3. Ignores disabled modules
  4. Loads Service Providers
  5. Registers everything automatically

No manual registration is required.

Service Provider Registration

Each module contains Providers/UserServiceProvider.php. The package registers every provider automatically.

Developers never need to edit:

Route Discovery

The package automatically loads:

No RouteServiceProvider modifications are required.

Migration Discovery

Every migration inside Modules/*/Database/Migrations runs automatically:

View Discovery

Views inside Modules/User/Views can be used like:

Translation Discovery

Language files inside Modules/User/Lang can be accessed using:


Command Syntax

The package supports multiple command styles. All three generate the same result:

Nested Folder Support

Output:

Namespaces are generated automatically.


Available Commands

Command Example
Module php artisan modular:make User
Controller php artisan modular:controller User UserController
Model php artisan modular:model User User
Model + migration php artisan modular:model User User --migration
Request php artisan modular:request User StoreUserRequest
Service php artisan modular:service User UserService
Repository php artisan modular:repository User UserRepository
Skip DI wiring --no-inject / --inject (skip prompt; otherwise asks)
Resource php artisan modular:resource User UserResource
Event php artisan modular:event User UserCreated
Listener php artisan modular:listener User SendWelcomeEmail
Job php artisan modular:job User SyncUserJob
Notification php artisan modular:notification User WelcomeNotification
Policy php artisan modular:policy User UserPolicy
Middleware php artisan modular:middleware User AdminMiddleware
DTO php artisan modular:dto User UserData
Action php artisan modular:action User CreateUser
Enum php artisan modular:enum User UserStatus
Rule php artisan modular:rule User PhoneNumberRule
Test php artisan modular:test User UserTest

Repository Generator

Automatically generates:

Use --no-inject to skip sibling wiring without asking (still creates a missing paired service). Use --inject to wire without asking.

Auto dependency injection

Wiring is naming-convention based and smart-merges constructor DI without wiping custom methods.

CRUD Generator

Generate an entire CRUD module with one command:

Automatically creates:


Repository Pattern

The package automatically binds interfaces. Instead of manually writing:

everything is generated automatically.


Module Management

Enable / Disable

No code deletion is required.

List Modules

Rename Module

Automatically updates:

Delete Module

Safely removes the module after confirmation.

Module Cache

Caching avoids scanning every module on each request and improves production performance.


Module Dependencies

If a dependency is missing, the package reports an error before booting the application.


Recommended Architecture

Business logic should never exist inside controllers.


Developer Workflow

Traditional Laravel

With libinkk/modular


Future Roadmap

Version 1.0

Version 1.5

Version 2.0

Version 3.0


Philosophy

A Laravel application should be organized by business modules, not by framework folders.

Every feature should be self-contained.

Every module should be:


Goal

Install once. Generate modules. Focus only on business logic.

Everything else should be handled automatically by libinkk/modular.


All versions of modular with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^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 libinkk/modular contains the following files

Loading the files please wait ...