2017 © Pedro PelĂĄez
 

library repository

Your description here.

image

localheinz/repository

Your description here.

  • Monday, July 30, 2018
  • by localheinz
  • Repository
  • 1 Watchers
  • 22 Stars
  • 51 Installations
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

repository

You, (*1)

  • have an idea for a project involving PHP
  • can't wait to get started
  • are tired of creating the basics from scratch all the time

and this project provides a template for creating a new PHP project faster., (*2)

Follow the example steps outlined below to get started!, (*3)

1. Create a project

Let's assume we want to create the project in ~/Sites/foo/bar, so let's run, (*4)

$ composer create-project localheinz/repository ~/Sites/foo/bar dev-php

to create a project based on the php branch., (*5)

For reference, see https://getcomposer.org/doc/03-cli.md#create-project., (*6)

Now, change into the newly created project so we can move forward:, (*7)

$ cd ~/Sites/foo/bar

2. Modify starting point to your needs

.travis.yml

After you have enabled the project on https://travis-ci.com, you probably want to, (*8)

  • obtain and encrypt a GITHUB_TOKEN
  • obtain and encrypt a CODECLIMATE_REPO_TOKEN

to replace the existing, encrypted tokens (they will not work for you)., (*9)

env:
  global:
    - secure: "..."
    - secure: "..."

For encrypting tokens, you need travis-ci/travis.rb, see their installation instructions., (*10)

composer.json

You probably want to adjust, (*11)

  • name
  • description
  • author
  • license
  • autoload and autoload-dev configuration

For details see https://getcomposer.org/doc/04-schema.md., (*12)

README.md

You probably want to adjust, (*13)

  • title
  • links for badges
  • etc.

3. Initialize git project

Run, (*14)

$ git init

to initialize a git project., (*15)

Run, (*16)

$ git add .

to add the existing files., (*17)

Run, (*18)

$ git commit -m 'Initial commit'

to create an initial commit., (*19)

4. Push to remote

Assuming you have created a corresponding GitHub project foo/bar, run, (*20)

$ git remote add origin git@github.com:foo/bar.git

to add the remote., (*21)

Then run, (*22)

$ git push origin

:+1: VoilĂ , you have created your project - happy coding!, (*23)

The Versions

30/07 2018

dev-php-application

dev-php-application

Your description here.

  Sources   Download

MIT

The Requires

  • php ^7.2

 

The Development Requires

by Andreas Möller

25/12 2017

dev-master

9999999-dev

Provides templates for GitHub repositories.

  Sources   Download

MIT

by Andreas Möller

repository template library application github