Yii Framework Forum: Best practices for finishing extensions - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Best practices for finishing extensions How to proceed when development is ready Rate Topic: ***** 1 Votes

#1 User is offline   WeeSee 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 23-January 18

Posted 23 January 2018 - 04:17 PM

My latest Yii2 extension WeeSee/Yii2-PdfLabel is ready.
It can be used for printing labels using PDF on various formats.
It is available on Packagist so everybody can use it through composer.

I've carefully read official docs on how to create an Extension. But there's a lot missing as testing, publishing, supporting, setting up documentation an the like.

So, what comes next?

  • How to generate tests for an Yii2 extension?
  • How to integrate into Travis CI build?
  • How to check code coverage with Scrutinizer?
  • How to build docs (I tried apidocs from Yii2, but manual docs in the repo may be better? Or Github pages?)
  • How to tell everybody there is a new Yii2 extension? Which websites are recommended?


I'm looking for best practice descriptions, experiances, recommendation or guides to complete Yii2 extensions.
1

#2 User is offline   kutegiagoc 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 19-January 18

Posted 29 January 2018 - 02:38 AM

View PostWeeSee, on 23 January 2018 - 04:17 PM, said:

My latest Yii2 extension WeeSee/Yii2-PdfLabel is ready.
It can be used for printing labels using PDF on various formats.
It is available on Packagist so everybody can use it through composer.

I've carefully read official docs on how to create an Extension. But there's a lot missing as testing, publishing, supporting, setting up documentation an the like.

So, what comes next?

  • How to generate tests for an Yii2 extension?
  • How to integrate into Travis CI build?
  • How to check code coverage with Scrutinizer?
  • How to build docs (I tried apidocs from Yii2, but manual docs in the repo may be better? Or Github pages?)
  • How to tell everybody there is a new Yii2 extension? Which websites are recommended?


I'm looking for best practice descriptions, experiances, recommendation or guides to complete Yii2 extensions.


What are you facing?
0

#3 User is offline   WeeSee 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 23-January 18

Posted 04 February 2018 - 05:44 PM

View Postkutegiagoc, on 29 January 2018 - 02:38 AM, said:

What are you facing?


For making great extension, there are lots of todos
after finishing coding (publishing, testing, documentation,...).
I don't have time to go in every topic with a lot of time.

So again: Are there best practices for finishing great extensions?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users