laravel-5.7 Questions
3
Solved
I am aware that in the previous versions of Laravel (e.g. 4), one could get the current uri through
Route::current()->uri();
However, this doesn't seem to work in Laravel 5.7 or later. I am ...
Oldster asked 6/3, 2019 at 6:14
1
I think I am facing cache issue on Laravel
I have the file
I kept getting
View [layouts.fe.wedding-us.index] not found.
I've tried clear the cache
composer dumpauto
Do not run Compo...
Cardoon asked 4/2, 2019 at 15:51
2
Solved
I'm doing my first project trying to learn Laravel and I've come to the point where I want to create an object.
I've created it and tried it out and it works as I want it to, but where do I put i...
Digastric asked 25/1, 2019 at 14:31
3
What is the best way to change the success, error and primary colors in Laravel 5.7?
I have the email.blade.php via php artisan vendor:publish --tag=laravel-notifications
...
{{-- Action Button -...
Conah asked 24/9, 2018 at 11:20
2
Solved
Every time php artisan down is turned on, Laravel displays 503 page.
OK. I can customise it by creating new file called 503.blade.php inside resources/views/errors.
The point is that I don't consid...
Bunko asked 4/1, 2019 at 4:28
2
Need to understand Laravel service container and service provider through an example.
Renounce asked 3/1, 2019 at 8:18
3
Solved
I have cloned repo from git, and made composer install.
Then I am starting a server, but every time I get 500 server error.
Also, I tried to create a new project with composer create-proj...
Gath asked 24/12, 2018 at 15:55
1
Solved
Can somebody please tell the location of auth:api middleware?
As per the auth:api middleware, the api routes are protected by not null users.
I have a boolean field in user table called Is_Admin...
Hodosh asked 11/12, 2018 at 3:4
2
Solved
I try this solution
https://mcmap.net/q/99013/-how-to-create-separate-angularjs-controller-files
https://mcmap.net/q/1880129/-how-to-have-controllers-in-separate-file-in-angularjs
and then I go...
Becki asked 3/12, 2018 at 5:13
1
Solved
I made Route in my routes->api, but when I do php artisan route:list, it shows me all routes except this route:
Route::apiResources([
'vh-invoice' => 'API\VhInvoiceController'
]);
Even w...
Naxos asked 1/12, 2018 at 14:28
1
Solved
I'm using Laravel 5.7 and was wondering what the correct way would be to limit the number of words, not characters, in a description I'm pulling from the database and outputting to a Blade/view.
...
Buttonball asked 25/11, 2018 at 23:1
1
Solved
In Laravel 5.7 the docs say to use the following syntax to retrieve locales
{{ __ ('my.locale')}}
but I noticed
{{Lang::get('my.locale')}}
works too, and it's in fact what was also used in pr...
Broncobuster asked 8/11, 2018 at 13:53
3
Solved
Unable to get response while response object is empty. Works perfect when the object has data returned.
public function show($id)
{
$associates = Associate::find_by_id($id);
if(count($associates...
Deictic asked 6/11, 2018 at 18:48
1
Solved
I'm trying to retrieve related models of the same type on from a pivot table.
I have 2 models, App\Models\User and App\Models\Group and a pivot model App\Pivots\GroupUser
My tables are have the f...
Nigger asked 1/11, 2018 at 1:4
1
I want to get the value of activationCode from database and then store it into a .txt file.
This is what I tried to so far.
Please help! registerController.php
protected function create(array $...
Snafu asked 23/10, 2018 at 4:2
1
Solved
How I can check if the email is verified in Laravel 5.7?
I think, that may be with:
if(!Auth::user()->email_verified_at) {
return 'Email not verified!';
}
Or is there other methods?
Canning asked 19/10, 2018 at 11:33
1
Solved
Here are the dumped collections:
//$collOne
Illuminate\Database\Eloquent\Collection {#3386
#items: array:6 [
4807 => "{"color_id":7,"size_id":4,"pack_id":null}"
4808 => "{"color_id":7,"si...
Blunk asked 18/10, 2018 at 18:52
3
I have the following class where I defined my Minimum/Maximum length values:
class MinMaxValuesUser {
const Min_UserName = 6;
const Max_UserName = 30;
}
Below is the rule in request class wh...
Eskisehir asked 18/9, 2018 at 12:53
3
Solved
I'm trying to change the default subject field in the verification email that comes with Laravel 5.7. How and where do I change it? I have searched all over the place and online. Because it's brand...
Cuevas asked 19/9, 2018 at 14:19
6
My form has the same input field multiple times. My form field is as follows:
<input type='text' name='items[]'>
<input type='text' name='items[]'>
<input type='text' name='items[]'...
Label asked 19/9, 2018 at 11:10
6
Solved
I have a created_at date saved liked this "2011-09-23 19:10:18" And I want to get the days and hours left
until the date is reached. How do I do that? and column name in database remain days autom...
Prolong asked 19/9, 2011 at 17:19
© 2022 - 2024 — McMap. All rights reserved.