Skip to content

Commit 1724ee8

Browse files
committed
Initial Commits
0 parents  commit 1724ee8

15 files changed

+4638
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

.php_cs

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php
2+
ini_set('memory_limit','1024M');
3+
$finder = PhpCsFixer\Finder::create()
4+
->notPath('bootstrap/cache')
5+
->notPath('storage')
6+
->notPath('vendor')
7+
->notPath('node_modules')
8+
->notPath('nova')
9+
->in(__DIR__)
10+
->name('*.php')
11+
->notName('*.blade.php')
12+
->ignoreDotFiles(true)
13+
->ignoreVCS(true)
14+
;
15+
16+
return PhpCsFixer\Config::create()
17+
->setRules(array(
18+
'@Symfony' => true,
19+
'class_definition' => [
20+
'multiLineExtendsEachSingleLine' => true,
21+
],
22+
'ordered_class_elements' => [
23+
'use_trait', 'constant_public', 'constant_protected', 'constant_private',
24+
'property_public', 'property_protected', 'property_private', 'construct',
25+
'destruct', 'magic', 'phpunit', 'method_public', 'method_protected',
26+
'method_private'
27+
],
28+
'binary_operator_spaces' => ['default' => 'align_single_space_minimal'],
29+
'array_syntax' => ['syntax' => 'short'],
30+
'concat_space' => ['spacing' => 'one'],
31+
'blank_line_after_namespace' => true,
32+
'linebreak_after_opening_tag' => true,
33+
'not_operator_with_successor_space' => true,
34+
'ordered_imports' => true,
35+
'phpdoc_order' => true,
36+
))
37+
->setFinder($finder);

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: php
2+
3+
php:
4+
- 7.2
5+
6+
before_script:
7+
- travis_retry composer install --prefer-dist --no-interaction
8+
9+
cache:
10+
directories:
11+
- vendor
12+
13+
script:
14+
- vendor/bin/phpunit --testdox --verbose

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) <Nasrul Hazim>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
[![Build Status](https://travis-ci.org/cleanique-coders/laravel-uuid.svg?branch=master)](https://travis-ci.org/cleanique-coders/laravel-uuid) [![Latest Stable Version](https://poser.pugx.org/cleanique-coders/laravel-uuid/v/stable)](https://packagist.org/packages/cleanique-coders/laravel-uuid) [![Total Downloads](https://poser.pugx.org/cleanique-coders/laravel-uuid/downloads)](https://packagist.org/packages/cleanique-coders/laravel-uuid) [![License](https://poser.pugx.org/cleanique-coders/laravel-uuid/license)](https://packagist.org/packages/cleanique-coders/laravel-uuid)
3+
4+
## About Your Package
5+
6+
Tell people about your package
7+
8+
## Installation
9+
10+
1. In order to install `cleanique-coders/laravel-uuid` in your Laravel project, just run the *composer require* command from your terminal:
11+
12+
```
13+
$ composer require cleanique-coders/laravel-uuid
14+
```
15+
16+
2. Then in your `config/app.php` add the following to the providers array:
17+
18+
```php
19+
CleaniqueCoders\LaravelUuid\LaravelUuidServiceProvider::class,
20+
```
21+
22+
3. In the same `config/app.php` add the following to the aliases array:
23+
24+
```php
25+
'LaravelUuid' => CleaniqueCoders\LaravelUuid\LaravelUuidFacade::class,
26+
```
27+
28+
## Usage
29+
30+
## Test
31+
32+
Run the following command:
33+
34+
```
35+
$ vendor/bin/phpunit --testdox --verbose
36+
```
37+
38+
## Contributing
39+
40+
Thank you for considering contributing to the `cleanique-coders/laravel-uuid`!
41+
42+
### Bug Reports
43+
44+
To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.
45+
46+
However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
47+
48+
Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
49+
50+
## Coding Style
51+
52+
`cleanique-coders/laravel-uuid` follows the PSR-2 coding standard and the PSR-4 autoloading standard.
53+
54+
You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in `.php_cs`.
55+
56+
## License
57+
58+
This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

composer.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "cleanique-coders/laravel-uuid",
3+
"description": "Built with Laravel Standalone Package Creator",
4+
"keywords": ["package", "laravel"],
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Nasrul Hazim",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"autoload": {
13+
"psr-4": {
14+
"CleaniqueCoders\\LaravelUuid\\": "src/"
15+
},
16+
"files": [
17+
"src/Support/helpers.php"
18+
]
19+
},
20+
"autoload-dev": {
21+
"psr-4": {
22+
"CleaniqueCoders\\LaravelUuid\\Tests\\": "tests/"
23+
}
24+
},
25+
"require": {
26+
"php": ">=7.3",
27+
"illuminate/support": "^5.5|^5.6|^5.7|^5.8|^6.0|^7.0",
28+
"illuminate/auth": "^5.5|^5.6|^5.7|^5.8|^6.0|^7.0"
29+
},
30+
"require-dev": {
31+
"orchestra/testbench": "3.5.*|3.6.*|3.7.*|3.8.*|4.*|5.*"
32+
},
33+
"extra": {
34+
"laravel": {
35+
"providers": [
36+
"CleaniqueCoders\\LaravelUuid\\LaravelUuidServiceProvider"
37+
]
38+
}
39+
},
40+
"config": {
41+
"sort-packages": true
42+
},
43+
"minimum-stability": "dev",
44+
"prefer-stable": true
45+
}

0 commit comments

Comments
 (0)