Skip to content

croct-tech/plug-php

Repository files navigation

Croct
PHP Project Title
A brief description about the project.

Language Build License

📦 Releases · 🐞 Report Bug · ✨ Request Feature

Instructions

Follow the steps below to create a new repository:

  1. Customize the repository
    1. Click on the Use this template button at the top of this page
    2. Clone the repository locally
    3. Update the README.md and composer.json with the new package information
  2. Setup Code Climate
    1. Add the project to Croct's code climate organization
    2. Go to Repo Settings > Badges and copy the maintainability and coverage badges to the README.md
    3. Go to Repo Settings > Test coverage and copy the "TEST REPORTER ID"
    4. On the Github repository page, go to Settings > Secrets and add a secret with name CODECLIMATE_TESTREPORTER_ID and the ID from the previous step as value
  3. Setup Repman
    1. If you are a Repman admin, you need to generate a token for each member. Go to Organizations > Croct > Tokens > New Token and click on Generate New Token button.

    2. If you are a member, you need to configure global authentication to access this organization's packages. With the token in hand, you can authorize Composer with the following command (replace TOKEN_VALUE with the actual token):

      composer config --global --auth http-basic.croct.repo.repman.io token TOKEN_VALUE

Installation

We recommend using the package manager Composer to install the package:

composer require croct/project-php

Basic usage

use Croct\Project\Example;

$example = new Example();
$example->displayBasicUsage();

Contributing

Contributions to the package are always welcome!

  • Report any bugs or issues on the issue tracker.
  • For major changes, please open an issue first to discuss what you would like to change.
  • Please make sure to update tests as appropriate.

Testing

Before running the test suites, the development dependencies must be installed:

composer install

Then, to run all tests:

composer test

Copyright Notice

Copyright © 2015-2020 Croct Limited, All Rights Reserved.

All information contained herein is, and remains the property of Croct Limited. The intellectual, design and technical concepts contained herein are proprietary to Croct Limited s and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Croct Limited.

Releases

No releases published

Packages

 
 
 

Contributors