Download the PHP package albertoarena/laravel-event-sourcing-generator without Composer

On this page you can find all versions of the php package albertoarena/laravel-event-sourcing-generator. 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-event-sourcing-generator

Laravel event sourcing generator

Version Code Size

Laravel event sourcing generator adds a new Artisan command that can generate a full domain directory structure for Spatie event sourcing.

Table of Contents

Changelog

⬆️ Go to TOC

Please see CHANGELOG for more information what has changed recently.

Contributing

⬆️ Go to TOC

Feel free to fork, improve and create a pull request.

Please see CONTRIBUTING for details.

Installation

⬆️ Go to TOC

Compatibility

What Version
PHP 8.2 / 8.3
Laravel 10.x / 11.x (*)
Spatie's event sourcing 7.x

(*) Package has been tested in Laravel 10, even it is not officially released for that version.

Install

Usage

⬆️ Go to TOC

Show help

Basic usage

⬆️ Go to TOC

Documentation about basic usage

Generate a model with same name of the domain

Generate a model with different domain

Read documentation with examples

Generate a model with different domain and namespace

Read documentation with examples

Generate a model from existing migration

Read documentation with examples

Generate a model from existing migration using pattern and exclude specific one

Read documentation with examples

Generate a model from existing migration using pattern and exclude using regex

Read documentation with examples

Generate a model from existing migration with PHPUnit tests

Generate a model from existing migration with failed events and database / mail / Slack notifications

Domain and namespace

⬆️ Go to TOC

Read documentation about directory structure

Specify the name of the domain

Read documentation with examples

Specify the namespace

Read documentation with examples

Advanced usage

⬆️ Go to TOC

Set primary key

Read documentation with examples

Default primary key is uuid. That will work with Aggregate class.

It is possible to use id as primary key:

When importing migrations, primary key will be automatically loaded from file.

Generate PHPUnit tests

Read documentation with examples

Generate aggregates

Read documentation with examples

This is available only for models using uuid as primary key.

Generate reactors

Read documentation with examples

Generate failed events

Read documentation with examples

Generate notifications

Read documentation with examples

Specify indentation

Read documentation with examples

Specify the path of root folder

Read documentation with examples

Limitations and future enhancements

⬆️ Go to TOC

Blueprint column types

Read documentation


All versions of laravel-event-sourcing-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
aldemeery/onion Version ^1.0
illuminate/contracts Version *
illuminate/support Version *
nikic/php-parser Version ^5.1
spatie/laravel-event-sourcing Version ^7.9
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 albertoarena/laravel-event-sourcing-generator contains the following files

Loading the files please wait ....