Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
Project transferred to The Dragon Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Feb 14, 2022
1 parent aac0adb commit 89a532b
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 117 deletions.
11 changes: 6 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
* text=auto

.github/ export-ignore
tests/ export-ignore

.codecov.yml export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.php_cs export-ignore
.scrutinizer.yml export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
phpunit.xml.dist export-ignore
tests export-ignore
guides export-ignore

phpunit.xml export-ignore
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
patreon: andrey_helldar
open_collective: dragon-code
custom: [ "https://paypal.me/helldar", "https://yoomoney.ru/to/410012608840929" ]
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.idea/
vendor/
build/

*.bak
*.cache
*.clover
*.orig

composer.lock
72 changes: 0 additions & 72 deletions .styleci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Andrey Helldar
Copyright (c) 2022 Taylor Otwell, Andrey Helldar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,51 @@
# Laravel `app:name` support

<img src="https://preview.dragon-code.pro/andrey-helldar/laravel-app.svg?brand=laravel" alt="Laravel App"/>
![the dragon code laravel app](https://preview.dragon-code.pro/the-dragon-code/laravel-app.svg?brand=laravel)

This package provides a backwards compatibility layer for Laravel 5.8 `app:name` command in the latest Laravel release.
This package provides a backwards compatibility layer for Laravel `app:name` command in the latest Laravel release.

<p align="center">
<a href="https://packagist.org/packages/andrey-helldar/laravel-app"><img src="https://img.shields.io/packagist/dt/andrey-helldar/laravel-app.svg?style=flat-square" alt="Total Downloads" /></a>
<a href="https://packagist.org/packages/andrey-helldar/laravel-app"><img src="https://img.shields.io/github/v/release/andrey-helldar/laravel-app?label=stable&style=flat-square" alt="Latest Stable Version" /></a>
<a href="LICENSE"><img src="https://img.shields.io/packagist/l/andrey-helldar/laravel-app.svg?style=flat-square" alt="License" /></a>
</p>
[![Stable Version][badge_stable]][link_packagist]
[![Total Downloads][badge_downloads]][link_packagist]
[![License][badge_license]][link_license]


## Installation

To get the latest version, simply require the project using [Composer](https://getcomposer.org):

```
composer require andrey-helldar/laravel-app --dev
```bash
composer require dragon-code/laravel-app --dev
```

Instead, you may of course manually update your require block and run `composer update` if you so choose:

```json
{
"require-dev": {
"andrey-helldar/laravel-app": "^1.0"
"dragon-code/laravel-app": "^1.0"
}
}
```


## Using

Set the application namespace by console command:

```
```bash
php artisan app:name <name>
```


## License

This package is released under the [MIT License](LICENSE).

The code is taken from the [Laravel Framework](https://github.com/laravel/framework/pull/27575).


[badge_downloads]: https://img.shields.io/packagist/dt/dragon-code/laravel-app.svg?style=flat-square

[badge_license]: https://img.shields.io/packagist/l/dragon-code/laravel-app.svg?style=flat-square

[badge_stable]: https://img.shields.io/github/v/release/TheDragonCode/laravel-app?label=stable&style=flat-square

[link_packagist]: https://packagist.org/packages/dragon-code/laravel-app
5 changes: 0 additions & 5 deletions SECURITY.md

This file was deleted.

33 changes: 15 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"name": "andrey-helldar/laravel-app",
"name": "dragon-code/laravel-app",
"description": "Provides backwards compatibility for app:name command in the latest Laravel release.",
"license": "MIT",
"type": "library",
"keywords": [
"laravel",
"helpers",
"console"
],
"type": "library",
"license": "MIT",
"support": {
"issues": "https://github.com/andrey-helldar/laravel-app/issues",
"source": "https://github.com/andrey-helldar/laravel-app"
},
"authors": [
{
"name": "Taylor Otwell",
Expand All @@ -22,30 +18,31 @@
"email": "helldar@ai-rus.com"
}
],
"require": {
"php": "^7.2|^8.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
"illuminate/filesystem": "^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0"
"support": {
"issues": "https://github.com/TheDragonCode/laravel-app/issues",
"source": "https://github.com/TheDragonCode/laravel-app"
},
"suggest": {
"laravel/helpers": "Provides backwards compatibility for helpers in the latest Laravel release."
"require": {
"php": "^7.2 || ^8.0",
"illuminate/console": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/filesystem": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Helldar\\LaravelApp\\": "src"
"DragonCode\\LaravelApp\\": "src"
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true,
"extra": {
"laravel": {
"providers": [
"Helldar\\LaravelApp\\ServiceProvider"
"DragonCode\\LaravelApp\\ServiceProvider"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/AppName.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Helldar\LaravelApp\Commands;
namespace DragonCode\LaravelApp\Commands;

use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Helldar\LaravelApp;
namespace DragonCode\LaravelApp;

use Helldar\LaravelApp\Commands\AppName;
use DragonCode\LaravelApp\Commands\AppName;

class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
Expand Down

0 comments on commit 89a532b

Please sign in to comment.