Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 12, 2017
1 parent 8654a1d commit 8a7dc14
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 37 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

All notable changes to `:package_name` will be documented in this file
All notable changes to `twitter-streaming-api` will be documented in this file

## 1.0.0 - 201X-XX-XX

Expand Down
25 changes: 8 additions & 17 deletions README.md
@@ -1,13 +1,11 @@
# Very short description of the package
# Easily work with the Twitter Streaming API

[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/:package_name.svg?style=flat-square)](https://packagist.org/packages/spatie/:package_name)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/twitter-streaming-api.svg?style=flat-square)](https://packagist.org/packages/spatie/twitter-streaming-api)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/spatie/:package_name/master.svg?style=flat-square)](https://travis-ci.org/spatie/:package_name)
[![Build Status](https://img.shields.io/travis/spatie/twitter-streaming-api/master.svg?style=flat-square)](https://travis-ci.org/spatie/twitter-streaming-api)
[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/xxxxxxxxx.svg?style=flat-square)](https://insight.sensiolabs.com/projects/xxxxxxxxx)
[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/:package_name.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/:package_name)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/:package_name.svg?style=flat-square)](https://packagist.org/packages/spatie/:package_name)

**Note:** Replace ```:author_name``` ```:author_username``` ```:author_website``` ```:author_email``` ```:package_name``` ```:package_description``` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line.
[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/twitter-streaming-api.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/twitter-streaming-api)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/twitter-streaming-api.svg?style=flat-square)](https://packagist.org/packages/spatie/twitter-streaming-api)

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.

Expand All @@ -21,23 +19,16 @@ The best postcards will get published on the open source page on our website.

## Installation

**Note:** Remove this paragraph if you are building a public package
This package is custom built for [Spatie](https://spatie.be) projects and is therefore not registered on packagist. In order to install it via composer you must specify this extra repository in `composer.json`:

```json
"repositories": [ { "type": "composer", "url": "https://satis.spatie.be/" } ]
```

You can install the package via composer:

``` bash
composer require spatie/:package_name
composer require spatie/twitter-streaming-api
```

## Usage

``` php
$skeleton = new Spatie\Skeleton();
$skeleton = new Spatie\TwitterStreamingApi();
echo $skeleton->echoPhrase('Hello, Spatie!');
```

Expand All @@ -61,7 +52,7 @@ If you discover any security related issues, please email freek@spatie.be instea

## Credits

- [:author_name](https://github.com/:author_username)
- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

## About Spatie
Expand Down
24 changes: 14 additions & 10 deletions composer.json
@@ -1,34 +1,38 @@
{
"name": "spatie/:package_name",
"description": ":package_description",
"name": "spatie/twitter-streaming-api",
"description": "Easily work with the Twitter Streaming API",
"keywords": [
"spatie",
":package_name"
"twitter-streaming-api"
],
"homepage": "https://github.com/spatie/:package_name",
"homepage": "https://github.com/spatie/twitter-streaming-api",
"license": "MIT",
"authors": [
{
"name": ":author_name",
"email": ":author_email",
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"require": {
"php": "^7.0"
"php": "^7.0",
"fennb/phirehose": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "5.*"
},
"autoload": {
"psr-4": {
"Spatie\\Skeleton\\": "src"
}
"Spatie\\TwitterStreamingApi\\": "src"
},
"classmap": [
"vendor/fennb/phirehose/lib"
]
},
"autoload-dev": {
"psr-4": {
"Spatie\\Skeleton\\Test\\": "tests"
"Spatie\\TwitterStreamingApi\\Test\\": "tests"
}
},
"scripts": {
Expand Down
Empty file removed config/.gitkeep
Empty file.
6 changes: 3 additions & 3 deletions src/SkeletonClass.php
@@ -1,11 +1,11 @@
<?php

namespace Spatie\Skeleton;
namespace Spatie\TwitterStreamingApi;

class SkeletonClass
class TwitterStreamingApiClass
{
/**
* Create a new Skeleton Instance.
* Create a new TwitterStreamingApi Instance.
*/
public function __construct()
{
Expand Down
6 changes: 3 additions & 3 deletions src/SkeletonFacade.php
@@ -1,13 +1,13 @@
<?php

namespace Spatie\Skeleton;
namespace Spatie\TwitterStreamingApi;

use Illuminate\Support\Facades\Facade;

/**
* @see \Spatie\Skeleton\SkeletonClass
* @see \Spatie\TwitterStreamingApi\TwitterStreamingApiClass
*/
class SkeletonFacade extends Facade
class TwitterStreamingApiFacade extends Facade
{
/**
* Get the registered name of the component.
Expand Down
4 changes: 2 additions & 2 deletions src/SkeletonServiceProvider.php
@@ -1,10 +1,10 @@
<?php

namespace Spatie\Skeleton;
namespace Spatie\TwitterStreamingApi;

use Illuminate\Support\ServiceProvider;

class SkeletonServiceProvider extends ServiceProvider
class TwitterStreamingApiServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
Expand Down
2 changes: 1 addition & 1 deletion tests/ExampleTest.php
@@ -1,6 +1,6 @@
<?php

namespace Spatie\Skeleton\Test;
namespace Spatie\TwitterStreamingApi\Test;

class ExampleTest extends \PHPUnit_Framework_TestCase
{
Expand Down

0 comments on commit 8a7dc14

Please sign in to comment.