diff --git a/LICENSE.md b/LICENSE.md index f67bc95..20b6ca4 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Shea Lewis +Copyright (c) 2016 Shea Lewis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 63da1ea..6765617 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ Caffeinated SEO =============== -[![Laravel 5.1](https://img.shields.io/badge/Laravel-5.1-orange.svg?style=flat-square)](http://laravel.com) -[![Laravel 5.2](https://img.shields.io/badge/Laravel-5.2-orange.svg?style=flat-square)](http://laravel.com) +[![Laravel 5.3](https://img.shields.io/badge/Laravel-5.3-orange.svg?style=flat-square)](http://laravel.com) [![Source](http://img.shields.io/badge/source-caffeinated/SEO-blue.svg?style=flat-square)](https://github.com/caffeinated/SEO) [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://tldrlegal.com/license/mit-license) @@ -16,7 +15,7 @@ Quick Installation Begin by installing the package through Composer. ``` -composer require caffeinated/seo=~2.0 +composer require caffeinated/seo ``` Once this operation is complete, simply add both the service provider and facade classes to your project's `config/app.php` file: @@ -28,7 +27,7 @@ Caffeinated\SEO\SEOServiceProvider::class, #### Facade ```php -'Meta' => Caffeinated\SEO\Facades\Metadata::class, +'SEOMeta' => Caffeinated\SEO\Facades\Metadata::class, ``` And that's it! With your coffee in reach, start building up your SEO! diff --git a/composer.json b/composer.json index 24952e8..f130415 100644 --- a/composer.json +++ b/composer.json @@ -10,18 +10,13 @@ } ], "require": { - "php": ">=5.5.9", - "illuminate/support": "5.1.*|5.2.*", - "illuminate/http": "5.1.*|5.2.*" + "php": ">=5.6.4", + "illuminate/support": "5.3.*", + "illuminate/config": "5.3.*" }, "autoload": { "psr-4": { "Caffeinated\\SEO\\": "src" } - }, - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } } } diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index f2cdb0c..0000000 --- a/phpunit.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - ./tests/ - - - diff --git a/src/Handlers/Metadata.php b/src/Handlers/Metadata.php index 97a80a8..da713cf 100644 --- a/src/Handlers/Metadata.php +++ b/src/Handlers/Metadata.php @@ -1,4 +1,5 @@ registerServices(); - - $this->configureSapling(); - } - - /** - * Register the package services. - * - * @return void - */ - protected function registerServices() { $this->app->singleton('caffeinated.seo.metadata', function($app) { return new Metadata($app['request']); }); } - /** - * Configure Sapling - * - * Configures Sapling (Twig) extensions if the Sapling package - * is found to be installed. - * - * @return void - */ - protected function configureSapling() - { - if ($this->app['config']->has('sapling')) { - $this->app['config']->push( - 'sapling.extensions', - 'Caffeinated\SEO\Twig\Extensions\Metadata' - ); - } - } - /** * Get the services provided by the provider. * diff --git a/src/Twig/Extensions/Metadata.php b/src/Twig/Extensions/Metadata.php deleted file mode 100644 index 86834bb..0000000 --- a/src/Twig/Extensions/Metadata.php +++ /dev/null @@ -1,32 +0,0 @@ - ['html']]), - ]; - } -}