Skeleton for PHP libraries, packages and components
, (*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)
$ composer create-project petk/php-skeleton ./project 'dev-master'
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)
This project is licensed under the MIT license., (*10)