Skip to content

Commit d216f36

Browse files
committed
titan moved to a package
1 parent 9702ddc commit d216f36

35 files changed

+74
-3468
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ A Laravel CMS Starter project with AdminLTE theme and core features.
2121
- Bootstrap Alerts and Form Error messages. package; bpocallaghan/alert
2222
- Flash a Notification after a CRUD resource action. package; bpocallaghan/notify
2323
- Generate crud resource, individual files. package; bpocallaghan/generators
24+
- Useful laravel helper classes / traits. package; bpocallaghan/titan
2425

2526
## Setup (Basic)
26-
- Download Zip
27+
- download zip
2728
- ```composer install```
2829
- rename .env.example - .env
2930
- ```php artisan key:generate```
@@ -54,13 +55,12 @@ A Laravel CMS Starter project with AdminLTE theme and core features.
5455
- more info https://github.com/spatie/laravel-analytics
5556
- run the below to edit the config (set the name of the .p12)
5657
- ```php artisan vendor:publish --provider="Spatie\LaravelAnalytics\LaravelAnalyticsServiceProvider"```
57-
- have a look at Admin\NavigationController.php on how to use datatables and datatables with ajax if more than 150 entries
58+
- have a look at Admin\NavigationController.php on how to use datatables and datatables with ajax if more than 150 entries
5859

5960
## TODO
6061

6162
- Documentation (more user friendly)
6263
- Make project more 'open source' (currently heavily focused for me only)
63-
- Move the 'titan' folder to a package
6464
- Add more features (Roles, Permissions, Queue, Backup, etc)
6565
- Learn Testing
6666
- Learn Vue.js

composer.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"spatie/laravel-analytics": "^1.3",
1515
"yajra/laravel-datatables-oracle": "~6.0",
1616
"bpocallaghan/alert": "^1.0",
17-
"bpocallaghan/notify": "2.*"
17+
"bpocallaghan/notify": "2.*",
18+
"bpocallaghan/titan": "^0.0.2"
1819
},
1920
"require-dev": {
2021
"fzaninotto/faker": "~1.4",
@@ -28,14 +29,8 @@
2829
"app/Models"
2930
],
3031
"psr-4": {
31-
"App\\": "app/",
32-
"Titan\\": "titan/"
33-
},
34-
"files": [
35-
"titan/Helpers/helpers.php",
36-
"titan/Helpers/view_helpers.php",
37-
"titan/Helpers/upload_helpers.php"
38-
]
32+
"App\\": "app/"
33+
}
3934
},
4035
"autoload-dev": {
4136
"classmap": []

composer.lock

Lines changed: 65 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/admin/partials/nestable.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ function updateList(e)
2929
$.post(path, {'list': nestableString}, function (data)
3030
{
3131
if (data && data.result == 'success') {
32-
smallBox('Successfully', 'The Order has been updated');
32+
notify('Successfully', 'The Order has been updated');
3333
}
3434
else {
35-
smallErrorBox();
35+
notifyError();
3636
}
3737
}, "json");
3838
}

titan/Controllers/AjaxController.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)