2017 © Pedro PelĂĄez
 

project php-bootstrap

Starting point if you want to bootstrap a project in PHP following best practices.

image

codelytv/php-bootstrap

Starting point if you want to bootstrap a project in PHP following best practices.

  • Wednesday, July 18, 2018
  • by JavierCane
  • Repository
  • 5 Watchers
  • 14 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 11 Versions
  • 67 % Grown

The README.md

🐘 PHP Bootstrap (base / project skeleton)

Latest Version on Packagist ![Software License][ico-license] Build Status Total Downloads, (*1)

Introduction

This is a repository intended to serve as a starting point if you want to bootstrap a project in PHP. This repository has been explained in the CodelyTV video "Introducción a PHP: Cómo configurar tu entorno de desarrollo 🐘" (Spanish)., (*2)

It could be useful if you want to start from scratch a kata or a little exercise or project. The idea is that you don't have to worry about the boilerplate, just run composer create-project codelytv/php-bootstrap your-project-name and there you go:, (*3)

How To Start

You have 2 different alternatives: Using our Packagist project with Composer, or manually cloning this repo:, (*4)

Using Composer

Start completely from scratch without having to delete this bootstrap project Git history:, (*5)

  1. If you don't have it already, install Composer.
  2. Create your project based on the Packagist project. This will also download the project dependencies: composer create-project codelytv/php-bootstrap your-project-name.
  3. Move to the project directory: cd your-project-name
  4. Run all the checks: composer test. This will do some checks that you can perform with isolated commands:
    1. Codely Style: composer lint.
    2. Easy coding standard: composer style. If you want to fix style issues automatically: composer lint:fix.
    3. Static Analysis: composer static-analysis.
    4. PHP Unit: composer phpunit.
  5. Create your own repository:
    1. Initialize your own Git repository: git init
    2. Add the bootstrap files: git add .
    3. Commit: git commit -m "Initial commit with project boilerplate based on https://github.com/CodelyTV/php-bootstrap"
    4. Add your remote repository: git remote add origin git@github.com:your-username/your-project-name
    5. Upload your local commits to the new remote repo: git push -u origin master
  6. Start coding!

Cloning the repository

Just in case you prefer to avoid dealing with composer create-project, you can also clone this repository. We recommend to follow the next step-by-step process in order to avoid adding the bootstrap project commits to your project Git history:, (*6)

  1. Use this repository template
  2. Clone your project
  3. Move to the project directory: cd your-project-name
  4. If you don't have it already, install Composer.
  5. Install the project dependencies: composer install
  6. Run the tests: composer test.
  7. Start coding!

This very same basic skeleton philosophy implemented in other programming languages:, (*7)

The Versions

18/07 2018

dev-master

9999999-dev https://codely.tv

Starting point if you want to bootstrap a project in PHP following best practices.

  Sources   Download

MIT

The Requires

  • php ^7.2

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/07 2018

1.2.1

1.2.1.0 https://codely.tv

Starting point if you want to bootstrap a project in PHP following best practices.

  Sources   Download

MIT

The Requires

  • php ^7.2

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.0.2

1.0.2.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

boilerplate skeleton bootstrap kata

18/09 2016

1.0.3

1.0.3.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.0.4

1.0.4.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.0.5

1.0.5.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.0.6

1.0.6.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.1.0

1.1.0.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

18/09 2016

1.2.0

1.2.0.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.2

 

The Development Requires

tdd boilerplate skeleton bootstrap kata

15/09 2016

1.0.0

1.0.0.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

boilerplate skeleton bootstrap kata

15/09 2016

1.0.1

1.0.1.0 http://codely.tv

Starting point if you want to bootstrap a project in PHP.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

boilerplate skeleton bootstrap kata