Giter Site home page Giter Site logo

star-review-for_snap's Introduction

PHP Codeception Tests

Basic Example Module

Is a simple module skeleton to illustrate the module interface of HumHub.

Alternatively you can use a module generator for HumHub in the DevTools module.

Use Boilerplate

1.) Checkout module

Clone the module and then delete the Git files. This is necessary to move the module to a new Git repository later.

cd my-new-project
git clone https://github.com/humhub/humhub-modules-example-basic.git .
rm .git -rf

2.) Modify the file docs/rewrite-module-id.php and set the variables $newModuleId and $newNamespace.

** Example: **

// docs/rewrite-module-id.php

// ...

$newModuleId = "formbuilder";
$newNamespace = 'coolSoft\humhub\modules\formbuilder';

// ...

3.) Run the docs/rewrite-id.php from shell.

cd docs/
php rewrite-module-id.php

4.) Run the docs/rewrite-id.php from shell.

star-review-for_snap's People

Contributors

luke- avatar mimanolis avatar verement avatar yurabakhtin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.