Ver Fonte

修改包名

DDEV User há 6 meses atrás
pai
commit
9f17817a6f
3 ficheiros alterados com 19 adições e 2 exclusões
  1. 4 0
      bin/sixshop-maker
  2. 7 2
      composer.json
  3. 8 0
      src/Maker.php

+ 4 - 0
bin/sixshop-maker

@@ -0,0 +1,4 @@
+#!/usr/bin/env php
+<?php
+
+require __DIR__ . '/../vendor/autoload.php';

+ 7 - 2
composer.json

@@ -1,16 +1,21 @@
 {
-    "name": "six-shop/sixshop-maker-bundle",
+    "name": "six-shop/maker-bundle",
     "description": "这个扩展用来生成sixshop扩展代码",
     "type": "library",
     "require": {
         "topthink/framework": "^8.1"
     },
     "license": "MIT",
+    "minimum-stability": "dev",
+    "prefer-stable": true,
     "autoload": {
         "psr-4": {
-            "SixShop\\SixshopMakerBundle\\": "src/"
+            "SixShop\\MakerBundle\\": "src/"
         }
     },
+    "bin": [
+        "bin/sixshop-maker"
+    ],
     "authors": [
         {
             "name": "runphp",

+ 8 - 0
src/Maker.php

@@ -0,0 +1,8 @@
+<?php
+declare(strict_types=1);
+namespace SixShop\MakerBundle;
+
+class Maker
+{
+
+}