承接 chrisdahl/star-wars-names-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chrisdahl/star-wars-names-bundle

Composer 安装命令:

composer require chrisdahl/star-wars-names-bundle

包简介

Generates random Star Wars names

README 文档

README

Download and install the below listed programs/tools/scripts

Symfony Bundle Installation

Step 1a: Install the bundle via composer

composer require chrisdahl/star-wars-names-bundle

Step 1b: Install the project using Docker

  • Build the attached Dockerfile for an image containing everything

    docker build Dockerfile

  • Run the image with interactive terminal and continue with the next step (vim is pre-installed)

    docker run -it

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Chrisdahl\StarWarsNamesBundle\ChrisdahlStarWarsNamesBundle(),
        );
        // ...
    }	
    // ...
}

Run

Open a console and change to your Symfony project root directory and then execute one of the following commands:

Get all the names:

php bin/console starwarsnames:all

Get a random name:

php bin/console starwarsnames:random	

Get three random names:

php bin/console starwarsnames:random 3

Testing

phpunit vendor/chrisdahl/star-wars-names-bundle/Tests/

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固