GithubHelp home page GithubHelp logo

travoltron / skeleton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thephpleague/skeleton

5.0 2.0 1.0 93 KB

A skeleton repository for Laravel Packages

Home Page: https://travoltron.com

License: MIT License

PHP 100.00%

skeleton's Introduction

:package_name

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

To use this skeleton

Create the directory that you'll be using to work in locally, cd into it and clone this package

$ mkdir directory && cd directory
$ git clone [email protected]:travoltron/skeleton.git .

Run the bulk updater

$ php prefill.php

Remove the references to this git repo

$ rm -rf .git*

Initialize a new git repo

$ git init
$ git add --all
$ git commit -m "first commit"
$ git remote add origin [email protected]::vendor/:package_name.git
$ git push -u origin master

This assumes you have created an empty repository at Github. Change to suit your own needs. -travoltron

Upload to packagist or include this package in your base Laravel app

For people hosting private packages on Github: you can add your token to Composer and include the packages like normal. You just need to tag the release and include this in your composer.json:

"require": {
  "php": ">=5.6.4",
  ":vendor/:package_name": "0.0.1"
},
"repositories": [
  {
    "type": "vcs",
    "url":  "[email protected]::vendor/:package_name.git"
  }
],

Include the Service Provider in your app

In the file config/app.php, find the 'providers' array and insert :Vendor\SkeletonClass\SkeletonServiceProvider::class.

Now the commands are registered, as well as the routes. If you plan on making a static class, you can add the :Skeleton class to the aliases array in the same file.

Description

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

$ composer require :vendor/:package_name

Usage

$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

skeleton's People

Contributors

alexbilbie avatar andylolz avatar assertchris avatar barryvdh avatar bcrowe avatar bencorlett avatar browner12 avatar carlosafonso avatar clarkeash avatar colinodell avatar dasourcerer avatar dragoonis avatar dstockto avatar emanueleminotto avatar frankdejonge avatar hansott avatar hassankhan avatar jeroen-g avatar jotaelesalinas avatar kdubuc avatar localheinz avatar maadhattah avatar marcqualie avatar nyamsprod avatar philsturgeon avatar ravage84 avatar reinink avatar robloach avatar sanmai avatar travoltron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nichole-grand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.