Download the PHP package syeedalireza/architecture-patterns-lab without Composer

On this page you can find all versions of the php package syeedalireza/architecture-patterns-lab. 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 architecture-patterns-lab

Architecture Patterns Lab

Latest Version on Packagist Total Downloads GitHub Tests License

Academic research implementation of modern software architecture patterns.

A comprehensive study and practical implementation of Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Onion Architecture patterns. This project provides reference implementations, performance benchmarks, architectural analysis, and real-world examples to help developers and researchers understand and apply these patterns effectively.

๐ŸŽ“ Academic Purpose

This project was developed as part of software engineering research to:

๐Ÿ“š Architecture Patterns Implemented

1. Clean Architecture (Uncle Bob's Architecture)

2. Hexagonal Architecture (Ports & Adapters)

3. Onion Architecture

๐Ÿš€ Features

๐Ÿ“ฆ Installation

๐ŸŽฏ Quick Start

Clean Architecture Example

Hexagonal Architecture Example

Onion Architecture Example

๐Ÿ“Š Performance Benchmarks

Run benchmarks to compare patterns:

Sample Benchmark Results

Pattern Object Creation Repository Save Use Case Execution
Clean Architecture 0.045ms 1.234ms 2.456ms
Hexagonal Architecture 0.042ms 1.198ms 2.312ms
Onion Architecture 0.038ms 1.156ms 2.189ms

Note: Results may vary based on implementation details and hardware.

๐Ÿงช Testing

Run all tests:

Run with coverage:

Architectural Testing

Validate architectural boundaries:

This ensures:

๐Ÿ“– Documentation

Research Papers

Architecture Diagrams

See docs/diagrams/ for:

Detailed Guides

๐Ÿ” Architecture Comparison

Aspect Clean Architecture Hexagonal Architecture Onion Architecture
Complexity Medium Medium-High Low-Medium
Learning Curve Moderate Steep Gentle
Flexibility High Very High Medium
Testability Excellent Excellent Very Good
Performance Good Good Very Good
Best For Enterprise apps Complex domains Domain-rich apps
Team Size Medium-Large Large Small-Medium

๐ŸŽ“ Educational Use

This project is ideal for:

๐Ÿ“ˆ Use Cases

Each pattern is demonstrated with a complete e-commerce example including:

๐Ÿค Contributing

Contributions are welcome! This is an academic project, and we value:

Please see CONTRIBUTING.md for details.

๐Ÿ“ Citation

If you use this project in academic research, please cite:

๐Ÿ“š References

๐Ÿ“„ License

The MIT License (MIT). Please see License File for more information.

๐Ÿ‘จโ€๐Ÿ”ฌ Author

Alireza Aminzadeh

๐Ÿ™ Acknowledgments

Special thanks to:


Note: This is a research and educational project. While the implementations are production-quality, they are primarily intended for learning and reference purposes.


All versions of architecture-patterns-lab with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
psr/container Version ^2.0
psr/log Version ^3.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 syeedalireza/architecture-patterns-lab contains the following files

Loading the files please wait ...