Skip to content

Commit

Permalink
re-init
Browse files Browse the repository at this point in the history
  • Loading branch information
vobar committed Jul 12, 2023
1 parent 04d5028 commit 7989f56
Show file tree
Hide file tree
Showing 29 changed files with 1,142 additions and 91 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## This package logic and structure based on great [laravel/breeze](https://github.com/laravel/breeze) package

## Basic components for small sites on [LARAVEL](https://github.com/laravel/laravel) framework

Components for speed creating sites.\
> **Note**
>
> Mainly developed for laravel/breeze package

Components for fast creating sites.\
Copying basic kit for some tagged entities in right places.

Do not write it! Only install =)
Expand Down
17 changes: 0 additions & 17 deletions app/Http/Controllers/NewsController.php

This file was deleted.

10 changes: 0 additions & 10 deletions app/Models/News.php

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"extra": {
"laravel": {
"providers": [
"Vobar\\LaravelBasicComponents\\Providers\\BasicComponentsServiceProvider"
"PancakesServiceProvider"
]
}
}
Expand Down
26 changes: 0 additions & 26 deletions database/migrations/0000_00_00_000000_create_news_table.php

This file was deleted.

6 changes: 0 additions & 6 deletions routes/web.php

This file was deleted.

29 changes: 29 additions & 0 deletions src/BasicComponentsProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

namespace Vobar\LaravelBasicComponents;

use Illuminate\Support\ServiceProvider;

class BasicComponentsProvider extends ServiceProvider
{
public function boot()
{
if (!$this->app->runningInConsole()) {
return;
}

$this->commands([
Console\InstallCommand::class,
]);
}

/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return [Console\InstallCommand::class];
}
}
Loading

0 comments on commit 7989f56

Please sign in to comment.