We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6f55e commit 54ef375Copy full SHA for 54ef375
2 files changed
composer.json
@@ -12,7 +12,8 @@
12
"require": {
13
"php": ">=5.4.0",
14
"nesbot/carbon": "^1.22",
15
- "danielstjules/stringy": "^2.3"
+ "danielstjules/stringy": "^2.3",
16
+ "fzaninotto/faker": "^1.6"
17
},
18
"autoload": {
19
"psr-4": {
@@ -21,8 +22,5 @@
21
22
"files": [
23
"helpers.php"
24
]
- },
25
- "require-dev": {
26
- "fzaninotto/faker": "^1.6"
27
}
28
helpers.php
@@ -151,7 +151,7 @@ function base_layout_has($key)
151
if(!function_exists('base_faker_factory')) {
152
function base_faker_factory() {
153
if(!class_exists('Faker\Factory')) {
154
- throw new Exception('Faker library is not installed - are you running in production?');
+ throw new Exception('Faker library is not available.');
155
156
157
return Faker\Factory::create();
0 commit comments