2017 © Pedro Peláez
 

library php-skeleton

Skeleton for PHP libraries, packages and components

image

peterkokot/php-skeleton

Skeleton for PHP libraries, packages and components

  • Sunday, January 29, 2017
  • by petk
  • Repository
  • 6 Watchers
  • 13 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP skeleton

Test workflow, (*1)

Creating PSR-4 compliant PHP package or library with Composer the easy way., (*2)

This package provides a common folder structure and belonging files that are used for creating a modern PHP package/library that is PSR-4 compliant., (*3)

There is no recommended or standard folder and files structure for PHP packages but there are good practices. This repository provides initial skeleton for your PHP libraries and packages., (*4)

Inspired by phpleague/skeleton and php.skeleton., (*5)

php-skeleton uses Semantic Versioning, (*6)

Installation

$ composer create-project petk/php-skeleton ./project 'dev-master'

Usage

After creating the skeleton project directory, you can start customizing it., (*7)

For example, create index.php and so on:, (*8)

<?php

require __DIR__ . '/../vendor/autoload.php';

use YourNamespace\Application;

$application = new Application();
// ...

Read also the documentation for more information how to use php-skeleton., (*9)

License

This project is licensed under the MIT license., (*10)

The Versions

29/01 2017

dev-master

9999999-dev

Skeleton for PHP libraries, packages and components

  Sources   Download

MIT

by Peter Kokot

15/11 2014

v0.1.0

0.1.0.0

Skeleton for PHP libraries, packages and components

  Sources   Download

MIT

by Peter Kokot