Skip to content

simpl-php/library-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple/project-name

Build Status

Skeleton for creating new simpl-php libraries.

Installation

composer require simpl/project-name

Basic Usage

<?php

See https://simpl-php.com/components/project-name for full documentation.

Testing

composer test

Coding Standards

This library uses PHP_CodeSniffer to ensure coding standards are followed.

I have adopted the PHP FIG PSR-2 Coding Standard EXCEPT for the tabs vs spaces for indentation rule. PSR-2 says 4 spaces. I use tabs. No discussion.

To support indenting with tabs, I've defined a custom PSR-2 ruleset that extends the standard PSR-2 ruleset used by PHP_CodeSniffer. You can find this ruleset in the root of this project at PSR2Tabs.xml

Codesniffer

composer codensiffer

Codefixer

composer codefixer

About

Template for creating new composer packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages