diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index cd8eb86..0000000 --- a/.editorconfig +++ /dev/null @@ -1,15 +0,0 @@ -; This file is for unifying the coding style for different editors and IDEs. -; More information at http://editorconfig.org - -root = true - -[*] -charset = utf-8 -indent_size = 4 -indent_style = space -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -trim_trailing_whitespace = false diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 881c4a1..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,20 +0,0 @@ -# Changelog - -All Notable changes to `:package_name` will be documented in this file - -## NEXT - YYYY-MM-DD - -### Added -- Nothing - -### Deprecated -- Nothing - -### Fixed -- Nothing - -### Removed -- Nothing - -### Security -- Nothing diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index d879fde..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,32 +0,0 @@ -# Contributing - -Contributions are **welcome** and will be fully **credited**. - -We accept contributions via Pull Requests on [Github](https://github.com/thephpleague/:package_name). - - -## Pull Requests - -- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer). - -- **Add tests!** - Your patch won't be accepted if it doesn't have tests. - -- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. - -- **Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option. - -- **Create feature branches** - Don't ask us to pull from your master branch. - -- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. - -- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. - - -## Running Tests - -``` bash -$ composer test -``` - - -**Happy coding**! diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 9a1d265..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -# The MIT License (MIT) - -Copyright (c) 2015 :author_name <:author_email> - -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. diff --git a/composer.json b/composer.json index 9fc1519..eecca19 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "laravolt/support", "description": "Laravolt support", "keywords": [ + "laravel", "laravolt", "support" ], @@ -17,9 +18,7 @@ ], "require": { "php" : ">=5.5.9", - "illuminate/support": "~5.1", - "edvinaskrucas/notification": "5.*", - "spatie/activitylog": "2.*" + "illuminate/support": "~5.2" }, "require-dev": { "phpunit/phpunit" : "4.*" diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php deleted file mode 100644 index 879d175..0000000 --- a/resources/lang/en/auth.php +++ /dev/null @@ -1,11 +0,0 @@ - 'Email', - 'password' => 'password', - 'remember' => 'Remember me', - 'forgot_password' => 'Forgot password', - 'login' => 'Login', - 'not_registered_yet?' => 'Not a member?', - 'register_here' => 'Register here', -]; diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php new file mode 100644 index 0000000..6a23394 --- /dev/null +++ b/resources/lang/en/pagination.php @@ -0,0 +1,10 @@ + '« Prev', + 'next' => 'Next »', + 'summary' => 'Showing :from-:to from :total', + 'empty' => 'No data found', + 'pager' => 'Page :page of :total', +]; diff --git a/src/SupportServiceProvider.php b/src/SupportServiceProvider.php index 2e6a68d..c686a6c 100644 --- a/src/SupportServiceProvider.php +++ b/src/SupportServiceProvider.php @@ -1,7 +1,5 @@ app->register('Krucas\Notification\NotificationServiceProvider'); - AliasLoader::getInstance()->alias('Notification', 'Krucas\Notification\Facades\Notification'); - - // activity log - $this->app->register('Spatie\Activitylog\ActivitylogServiceProvider'); - AliasLoader::getInstance()->alias('Activity', 'Spatie\Activitylog\ActivitylogFacade'); - // timezone $this->app->bind(Contracts\TimezoneRepository::class, Repositories\TimezoneRepositoryArray::class); } diff --git a/src/TimezoneRepository.php b/src/TimezoneRepository.php deleted file mode 100644 index 4a2b280..0000000 --- a/src/TimezoneRepository.php +++ /dev/null @@ -1,13 +0,0 @@ -