An open API service indexing awesome lists of open source software.

https://github.com/iranianpep/php-base-project

A Composer ready package to start a new PHP 7 project
https://github.com/iranianpep/php-base-project

base-project composer-package packagist php php7 starter-kit starter-template template-project

Last synced: about 1 year ago
JSON representation

A Composer ready package to start a new PHP 7 project

Awesome Lists containing this project

README

          

# PHP Base Project
A Composer ready package to start a new PHP 7 project including Composer, PHPUnit, Travis, CodeClimate and StyleCI. More info [here](http://keepcoding.ehsanabbasi.com/php/composer-ready-starter-kit/).

[![Latest Stable Version](https://poser.pugx.org/php-base-project/php-base-project/v/stable)](https://packagist.org/packages/php-base-project/php-base-project)
[![Build Status](https://travis-ci.org/iranianpep/php-base-project.svg?branch=master)](https://travis-ci.org/iranianpep/php-base-project)
[![Build Status](https://scrutinizer-ci.com/g/iranianpep/php-base-project/badges/build.png?b=master)](https://scrutinizer-ci.com/g/iranianpep/php-base-project/build-status/master)
[![Code Climate](https://codeclimate.com/github/iranianpep/php-base-project/badges/gpa.svg)](https://codeclimate.com/github/iranianpep/php-base-project)
[![Test Coverage](https://codeclimate.com/github/iranianpep/php-base-project/badges/coverage.svg)](https://codeclimate.com/github/iranianpep/php-base-project/coverage)
[![Code Coverage](https://scrutinizer-ci.com/g/iranianpep/php-base-project/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/iranianpep/php-base-project/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/iranianpep/php-base-project/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/iranianpep/php-base-project/?branch=master)
[![Issue Count](https://codeclimate.com/github/iranianpep/php-base-project/badges/issue_count.svg)](https://codeclimate.com/github/iranianpep/php-base-project)
[![License](https://poser.pugx.org/php-base-project/php-base-project/license)](https://packagist.org/packages/php-base-project/php-base-project)
[![StyleCI](https://styleci.io/repos/88731011/shield?branch=master)](https://styleci.io/repos/88731011)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f6798ce3c00e4de083d89f289b6c9285)](https://www.codacy.com/app/iranianpep/php-base-project?utm_source=github.com&utm_medium=referral&utm_content=iranianpep/php-base-project&utm_campaign=Badge_Grade)
[![Packagist](https://img.shields.io/packagist/dt/php-base-project/php-base-project.svg)](https://packagist.org/packages/php-base-project/php-base-project)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/iranianpep/php-base-project/master/LICENSE)

## Server Requirements
- PHP >= 7.4

## Usage
- First install this template:
```
composer create-project php-base-project/php-base-project
```
- Find and replace all `php-base-project`, `PHP Base Project` and `PhpBaseProject` with your project root, name and namespace respectively.
- Create an account on Travis, Scrutinizer and Code Climate and allow access to your repository
- Update `composer.json` with the relevant information to your project
- Update `.travis.yml` with your repository token from Code Climate
- Update readme file with the right path to the badges
- Update author name in the license