Skip to content

Commit

Permalink
Merge pull request #6 from RapidKit/fix/moving-to-rapidkit
Browse files Browse the repository at this point in the history
fix/moving to rapidkit
  • Loading branch information
ramaID authored May 3, 2024
2 parents f46d3fd + 5a3245d commit 8ded80a
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Laravel Restify

[![Latest Version on Packagist](https://img.shields.io/packagist/v/ramaid/laravel-restify.svg?style=flat-square)](https://packagist.org/packages/ramaid/laravel-restify)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/rapidkit/laravel-restify.svg?style=flat-square)](https://packagist.org/packages/rapidkit/laravel-restify)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/ramaID/laravel-restify/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ramaID/laravel-restify/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ramaID/laravel-restify/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ramaID/laravel-restify/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/ramaid/laravel-restify.svg?style=flat-square)](https://packagist.org/packages/ramaid/laravel-restify)
[![Total Downloads](https://img.shields.io/packagist/dt/rapidkit/laravel-restify.svg?style=flat-square)](https://packagist.org/packages/rapidkit/laravel-restify)

Is a powerful and intuitive package designed to accelerate REST API development within the Laravel ecosystem. With efficient and flexible capabilities, Restify presents an integrated and customizable solution for modern API development. Its seamless integration with Laravel ensures a streamlined experience, making it effortlessly scalable for projects of any size. Gain a development advantage with Laravel Restify — an elegant and feature-rich solution to meet your API needs.

Expand All @@ -12,7 +12,7 @@ Is a powerful and intuitive package designed to accelerate REST API development
You can install the package via composer:

```bash
composer require ramaid/laravel-restify --dev
composer require rapidkit/laravel-restify --dev
```

## Usage
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "ramaid/laravel-restify",
"name": "rapidkit/laravel-restify",
"description": "Powerful and intuitive package designed to accelerate REST API development within the Laravel ecosystem",
"keywords": [
"ramaID",
"laravel",
"laravel-restify"
],
"homepage": "https://github.com/ramaid/laravel-restify",
"homepage": "https://github.com/rapidkit/laravel-restify",
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -38,13 +38,13 @@
},
"autoload": {
"psr-4": {
"RamaID\\LaravelRestify\\": "src/",
"RamaID\\LaravelRestify\\Database\\Factories\\": "database/factories/"
"RapidKit\\LaravelRestify\\": "src/",
"RapidKit\\LaravelRestify\\Database\\Factories\\": "database/factories/"
}
},
"autoload-dev": {
"psr-4": {
"RamaID\\LaravelRestify\\Tests\\": "tests/",
"RapidKit\\LaravelRestify\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/"
}
},
Expand Down Expand Up @@ -76,10 +76,10 @@
"extra": {
"laravel": {
"providers": [
"RamaID\\LaravelRestify\\LaravelRestifyServiceProvider"
"RapidKit\\LaravelRestify\\LaravelRestifyServiceProvider"
],
"aliases": {
"LaravelRestify": "RamaID\\LaravelRestify\\Facades\\LaravelRestify"
"LaravelRestify": "RapidKit\\LaravelRestify\\Facades\\LaravelRestify"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion database/factories/ModelFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RamaID\LaravelRestify\Database\Factories;
namespace RapidKit\LaravelRestify\Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace RamaID\LaravelRestify\Commands;
namespace RapidKit\LaravelRestify\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/GenerateControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace RamaID\LaravelRestify\Commands;
namespace RapidKit\LaravelRestify\Commands;

use Illuminate\Console\GeneratorCommand;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/GenerateDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace RamaID\LaravelRestify\Commands;
namespace RapidKit\LaravelRestify\Commands;

use Illuminate\Console\GeneratorCommand;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace RamaID\LaravelRestify\Commands;
namespace RapidKit\LaravelRestify\Commands;

use Illuminate\Console\Command;

Expand Down
6 changes: 3 additions & 3 deletions src/Facades/LaravelRestify.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace RamaID\LaravelRestify\Facades;
namespace RapidKit\LaravelRestify\Facades;

use Illuminate\Support\Facades\Facade;

/**
* @see \RamaID\LaravelRestify\LaravelRestify
* @see \RapidKit\LaravelRestify\LaravelRestify
*/
class LaravelRestify extends Facade
{
protected static function getFacadeAccessor()
{
return \RamaID\LaravelRestify\LaravelRestify::class;
return \RapidKit\LaravelRestify\LaravelRestify::class;
}
}
2 changes: 1 addition & 1 deletion src/LaravelRestify.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RamaID\LaravelRestify;
namespace RapidKit\LaravelRestify;

class LaravelRestify
{
Expand Down
10 changes: 5 additions & 5 deletions src/LaravelRestifyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

declare(strict_types=1);

namespace RamaID\LaravelRestify;
namespace RapidKit\LaravelRestify;

use RamaID\LaravelRestify\Commands\GenerateCommand;
use RamaID\LaravelRestify\Commands\GenerateControllerCommand;
use RamaID\LaravelRestify\Commands\GenerateDataCommand;
use RamaID\LaravelRestify\Commands\SetupCommand;
use RapidKit\LaravelRestify\Commands\GenerateCommand;
use RapidKit\LaravelRestify\Commands\GenerateControllerCommand;
use RapidKit\LaravelRestify\Commands\GenerateDataCommand;
use RapidKit\LaravelRestify\Commands\SetupCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand Down
2 changes: 1 addition & 1 deletion stubs/controller.stub
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class {{ name }} extends Controller
*/
public function index()
{
return DataObject::collection(
return DataObject::collect(
$this->model->query()->paginate()
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

use RamaID\LaravelRestify\Tests\TestCase;
use RapidKit\LaravelRestify\Tests\TestCase;

uses(TestCase::class)->in(__DIR__);
6 changes: 3 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace RamaID\LaravelRestify\Tests;
namespace RapidKit\LaravelRestify\Tests;

use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use RamaID\LaravelRestify\LaravelRestifyServiceProvider;
use RapidKit\LaravelRestify\LaravelRestifyServiceProvider;

class TestCase extends Orchestra
{
Expand All @@ -13,7 +13,7 @@ protected function setUp(): void
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'RamaID\\LaravelRestify\\Database\\Factories\\'.class_basename($modelName).'Factory'
fn (string $modelName) => 'RapidKit\\LaravelRestify\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

Expand Down

0 comments on commit 8ded80a

Please sign in to comment.