Skip to content

Commit

Permalink
Add helper larafirebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
gentritabazi committed Feb 21, 2021
1 parent f851446 commit 2006d94
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"autoload": {
"psr-4": {
"Kutia\\Larafirebase\\": "src/"
}
},
"files" : [
"src/Helpers/All.php"
]
},
"require": {
"illuminate/support": "~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
Expand Down
8 changes: 8 additions & 0 deletions src/Helpers/All.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

if (!function_exists('larafirebase')) {
function larafirebase()
{
return app('larafirebase');
}
}

0 comments on commit 2006d94

Please sign in to comment.