Download the PHP package maslosoft/embedi without Composer

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

Embedi Logo Maslosoft Embe Di

Embedded Dependency Injection container

Latest Stable Version

License

Scrutinizer Code Quality

Code Coverage

Quick Install

Documentation

Full Embedi Documentation

Configuring external PHP libraries

When developing project targeted at specific framework it is usually easy to allow developer using our library to configure it to his needs.

Each framework comes with some sort of configuration files, let it be YAML, or plain PHP config files. But each has a different format of this configuration, and different means to access this configuration in our library.

So when developing framework independent library - it usually comes with it own configuration scheme. So to allow it to be used with some framework it is required to add some kind of adapter - for each library and for each framework:

Without EmbeDi

Reusable adapter

EmbeDi aims to be reusable configuration adapter allowing dependency injection between frameworks, You project and other libraries.

The idea is that when developing reusable library - make it load configuration using EmbeDi - Embedded Dependency Injection.

Then use existing EmbeDi adapter to connect it to the framework, or our own project. Even if there are no adapter for specified framework or project, generic array adapter can be used.

With EmbeDi

Embedded dependency injection

Dependency injection allows us to build plug-in architecture without direct connections between components. This approach usually requires used libraries to be aware of used dependency injection (DI) container.

So DI container should be also dynamically configured?

EmbeDi allows You to include Dependency Injection container directly in your library.

It is kind of configuring dependency injection from bottom to top of our application. So each library has its own DI container, uses it to configure itself. Then on top of project we only instruct EmbeDi where configuration is stored.

Resources


All versions of embedi with dependencies

PHP Build Version
Package Version
No informations.
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 maslosoft/embedi contains the following files

Loading the files please wait ....