Download the PHP package jmsr/ddd-laravel without Composer

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

DDD Laravel

CRUD wizard for creating DDD classes and dependency injections.

This library is designed to add CRUD commands of elements with DDD structure in your Laravel project. These commands are used by "php artisan" (you can get a list of them using php artisan) and are as follows:

Installation

You can install it using composer with next command, or simply adding jmsr/ddd-laravel to your composer.json file.

Commands

Dump dependencies

This command automatically creates the necessary relationships, in Laravel, between constructors and dependencies that are reflected in the src/config/injections.yml file.

Example of relations for the src/config/injections.yml file:

Create an Endpoint

With this command you can automatically create the endpoints of your application, based on the usecases created. You just need to follow the simple guide that will ask you questions after executing the command.

You can create an endpoint passing UseCase route by command line parameter:

The default values to create the endpoint are the following (you can change them during the executting of assistance):

Create an Injection

Just run this command and the wizard will guide you to create all the injections you need on any of the DDD elements that you have defined in the src/Application, src/Domain and src/Infrastructure directories of your Laravel project .

It is recommended that all the existing elements in your src directories have been generated with the make-ddd:thing command of this plugin.

Create an Interface

Just create an interface in the directory space src/Application/Domain

Create Thing

With this command we can create several types of elements given in DDD architecture, which are usecase,service, repository andmodel. In the case of creating a service or a repository, an associated interface will be created automatically in the src / Application directory.

Update Injections

Just run this command and the plugin will read all the classes in your src directory for constructor dependencies and insert the new dependencies into your project's src/config/injection.yml file, in the correct format.


All versions of ddd-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
symfony/yaml Version ^5.1
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 jmsr/ddd-laravel contains the following files

Loading the files please wait ....