• Stars
    star
    108
  • Rank 319,446 (Top 7 %)
  • Language
    PHP
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Laravel DDD Sample Application

Installation

$ docker-compose up -d
$ docker-compose run web composer install
$ cp -a .env.example .env
$ docker-compose run web php artisan key:generate
$ docker-compose run web php artisan migrate
$ docker-compose run web php artisan db:seed
$ docker-compose run web ./vendor/bin/phpunit

Sample API

  • AddItemToCart
$ curl -X POST -F "item_id=3" -F "count=1" -c cookie -b cookie http://localhost:8000/api/cart | jq .

{
  "cart": {
    "elements": [
      {
        "item": {
          "id": 3,
          "name": "Laravel 5.1 Beauty: Creating Beautiful Web Apps in Laravel 5.1",
          "price": 1250
        },
        "count": 1
      }
    ],
    "totalCount": 1,
    "totalPrice": 1250
  }
}

More Repositories

1

vagrant-phpenv-phpbuild

Vagrant / Chef files for PHP Server(phpenv and phpbuild, nginx)
Ruby
40
star
2

vagrantx

the Vagrant GUI client for Mac OS X
Ruby
38
star
3

independent-core-layer-laravel

Independent core layer pattern implementation with Laravel
PHP
34
star
4

laravel-force-https-url-scheme

Force https url schema middleware for Laravel 5
PHP
26
star
5

docker-laravel-on-php7-apache

22
star
6

laravel-table-admin

Laravel-Table-Admin Simple CRUD package for Laravel 4
PHP
22
star
7

vagrant-lapp-sample

LAPP(CentOS6.4 / Apache2.2 / PHP5.4 / PostgreSQL9.3) sample project on Vagrant
PHP
22
star
8

domain-modeling-with-php

PHP
16
star
9

gihyo-laravel-book-reservation

Laravelエキスパート養成読本 chapter5. サンプルコード
PHP
14
star
10

yae

YAML aliases expander
Go
14
star
11

phpcon2018-independent-core-layer

PHP カンファレンス 2018 独立したコアレイヤパターン
PHP
12
star
12

vagrant-centos-docker

Docker ready Vagrantfile with CentOS6.5
11
star
13

findTwitter

seach tweets / cakephp sample application
PHP
11
star
14

phpcon2017

PHP
9
star
15

toy-json-parser

PHP
8
star
16

gihyo-devops-ansible

Ruby
8
star
17

arry

method chain interface for PHP array
PHP
8
star
18

osx-provisioning-with-ansible

7
star
19

book-tdd-php

PHP
7
star
20

laravel-k8s-dev-sample

Laravel on Kubernetes(k8s) for development
PHP
7
star
21

Phagrant

PHP
7
star
22

php8-toy-json-parser

PHP
7
star
23

cakephp_composer_json

7
star
24

independent-core-layer-pattern-fortee-demo

2019.11.30. 独立したコアレイヤパターンの適用 - fortee 編 -
PHP
6
star
25

rerun

A tool that automatically restart a exited commands
Go
5
star
26

phpstorm-with-docker-for-mac-sample

PHP
5
star
27

independent-core-layer-simple

PHP
5
star
28

vagrant-demo-20140705

Vagrant demo in JAWS-UG santo 2014
Ruby
5
star
29

Brewfile

Shell
4
star
30

event

4
star
31

phpconsen2019

明日から使えるアーキテクチャ 独立したコアレイヤパターン
PHP
4
star
32

how-to-write-php-code-with-fizzbuzz

Sample for PHP conference Kansai 2014 session B-4
PHP
4
star
33

ansible-laravel

Ansible playbook for Laravel 4
4
star
34

zephir-docker

Zephir Docker container
3
star
35

laravel-table-admin-example

example for Laravel-Table-Admin
PHP
3
star
36

en9sqs

concurrent enqueue messages to Amazon SQS
Go
3
star
37

laravel-queue-sample

Laravel 4 Queue Sample
PHP
2
star
38

vagrant-varnish

2
star
39

eh-laravel-sample

PHP
2
star
40

twilio-chatwork-voice-message

Twilio で録音した電話音声を ChatWork へ送信するサンプル
PHP
2
star
41

laravel-validator-builder

Laravel Validator builder
PHP
2
star
42

docker-php-dev

PHP Docker images for development that are automatically updated
PHP
2
star
43

phpcon-fukuoka-2016-code

PHP
1
star
44

findTwitter-on-Sliex

PHP
1
star
45

twilio-api-security-demo

PHP
1
star
46

CakePHP-FizzBuzz

FizzBuzz Sample for Selenium IDE and SimpleTest on CakePHP
PHP
1
star
47

MarkdownCodeExtractor

PHP
1
star
48

vagrant-apache-php-for-innovation-egg

2013/10/26 第1回イノベーションエッグ PHP セッション用 Vagrant
Ruby
1
star
49

zabbix-slack-notification

Slack notification scirpt for Zabbix
PHP
1
star