run configuration developing package

This commit is contained in:
mahdi msr committed 2025-09-26 13:31:40 +03:30
1 parent 8b9f0cd47a
commit 429c956e37
21 files changed
+77 -489

No files matched your search

@@ -1,12 +1,12 @@
<?php
namespace VendorName\Skeleton\Commands;
namespace Msr\LaravelBitunixApi\Commands;
use Illuminate\Console\Command;
class SkeletonCommand extends Command
class LaravelBitunixApiCommand extends Command
{
public $signature = 'skeleton';
public $signature = 'laravel-bitunix-api';
public $description = 'My command';
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace Msr\LaravelBitunixApi\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \Msr\LaravelBitunixApi\LaravelBitunixApi
*/
class LaravelBitunixApi extends Facade
{
protected static function getFacadeAccessor(): string
{
return \Msr\LaravelBitunixApi\LaravelBitunixApi::class;
}
}
-16
View File
@@ -1,16 +0,0 @@
<?php
namespace VendorName\Skeleton\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \VendorName\Skeleton\Skeleton
*/
class Skeleton extends Facade
{
protected static function getFacadeAccessor(): string
{
return \VendorName\Skeleton\Skeleton::class;
}
}
+5
View File
@@ -0,0 +1,5 @@
<?php
namespace Msr\LaravelBitunixApi;
class LaravelBitunixApi {}
@@ -1,12 +1,12 @@
<?php
namespace VendorName\Skeleton;
namespace Msr\LaravelBitunixApi;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use VendorName\Skeleton\Commands\SkeletonCommand;
use Msr\LaravelBitunixApi\Commands\LaravelBitunixApiCommand;
class SkeletonServiceProvider extends PackageServiceProvider
class LaravelBitunixApiServiceProvider extends PackageServiceProvider
{
public function configurePackage(Package $package): void
{
@@ -16,10 +16,10 @@ class SkeletonServiceProvider extends PackageServiceProvider
* More info: https://github.com/spatie/laravel-package-tools
*/
$package
->name('skeleton')
->name('laravel-bitunix-api')
->hasConfigFile()
->hasViews()
->hasMigration('create_migration_table_name_table')
->hasCommand(SkeletonCommand::class);
->hasMigration('create_laravel_bitunix_api_table')
->hasCommand(LaravelBitunixApiCommand::class);
}
}
-5
View File
@@ -1,5 +0,0 @@
<?php
namespace VendorName\Skeleton;
class Skeleton {}