Skip to content
This repository was archived by the owner on Jan 10, 2020. It is now read-only.

Commit 3e8d5e1

Browse files
committed
Doc updates
1 parent 2644cd0 commit 3e8d5e1

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,18 @@ Semantic prepares your application with semantic-ui as a view/ css framework.
243243
php artisan laracogs:semantic
244244
```
245245

246-
<small>Please note that Billing and Notifications are only set for use with bootstrap</small>
246+
### Features
247+
----
248+
A powerful and remarkably handy feature management system.
249+
```php
250+
php artisan laracogs:feature
251+
```
247252

248-
### Notifications
253+
### Activity
249254
----
250-
Notifications prepares your application with a notification system.
255+
The ability to track user activities and provide a layer of accountability in your app.
251256
```php
252-
php artisan laracogs:notifications
257+
php artisan laracogs:activity
253258
```
254259

255260
### Socialite
@@ -267,6 +272,16 @@ Api prepares your application with an API system using JWT (logins, and user pro
267272
php artisan laracogs:api
268273
```
269274

275+
<small>Please note that Billing and Notifications are only set for use with bootstrap</small>
276+
277+
### Notifications
278+
----
279+
Notifications prepares your application with a notification system.
280+
```php
281+
php artisan laracogs:notifications
282+
```
283+
284+
270285
### Billing
271286
----
272287
The billing command sets up your app with Laravel's cashier - it prepares the whole app to handle subscriptions with a policy structure.
@@ -284,9 +299,14 @@ You may want to add this line to your navigation:
284299
<li><a href="{!! url('user/billing/details') !!}"><span class="fa fa-dollar"></span> Billing</a></li>
285300
```
286301

287-
Add this to the `app/Providers/RouteServiceProvider.php` in the `mapWebRoutes` method:
302+
Add this to the `app/Providers/RouteServiceProvider.php` in the `mapWebRoutes` method.
303+
It will look like: `->group(base_path('routes/web.php'));` So you need to change it to resemble this:
304+
288305
```php
289-
require base_path('routes/billing-routes.php');
306+
->group(function () {
307+
require base_path('routes/web.php');
308+
require base_path('routes/billing.php');
309+
});
290310
```
291311

292312
This to the .env:

src/Packages/Features/app/Services/FeatureService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function __construct(Feature $model)
1313
}
1414

1515
/**
16-
* All notifications
16+
* All features
1717
*
1818
* @return Collection
1919
*/
@@ -23,7 +23,7 @@ public function getByKey($key)
2323
}
2424

2525
/**
26-
* All notifications
26+
* All features
2727
*
2828
* @return Collection
2929
*/
@@ -33,7 +33,7 @@ public function isActive($key)
3333
}
3434

3535
/**
36-
* Paginated notifications
36+
* Paginated features
3737
*
3838
* @return PaginatedCollection
3939
*/
@@ -43,7 +43,7 @@ public function paginated()
4343
}
4444

4545
/**
46-
* Search notifications
46+
* Search features
4747
*
4848
* @param string $input
4949
* @param integer $id

0 commit comments

Comments
 (0)