Questions tagged as 'laravel-5.6'

0
answers

I can not use TinyMCE in Laravel 5.6

I'm having problems with TinyMCE on Laravel. I'll declare his js as explained. I already tested to see if it was really charging and it was positive. But when I declare: tinymce.init({ selector:'#question' }); Nothing happens. In the cod...
asked by 10.06.2018 / 05:17
0
answers

Use the DB increment function to update from an array

It is as follows: I have an array in javascript with the id that I want to increment using DB::table('team').increment->('points', 1000). How should I make my controller take this array and increment only the ids that are in it?     
asked by 07.06.2018 / 23:21
0
answers

Server.php deleted alone in Laravel 5.6

When I stop executing in cmd the php artisan serves it automatically deletes my server.php and I can not create another to put in place, nor create another project with the same name using composer, says that I am not allowed to do this even thou...
asked by 16.05.2018 / 19:07
0
answers

Laravel Routes 5.6

Gentlemen, I'm having trouble setting the wheels and I get the following error: protected function methodNotAllowed(array $others) { throw new MethodNotAllowedHttpException($others); } I'm doing them as follows: route / web.php $th...
asked by 21.05.2018 / 21:16
1
answer

Laravel 5.6 + JWT (json web token)

Good afternoon everyone, I am developing an API in Laravel and I intend to use the Json web Token to perform the authentication and management of the tokens. I read the documentation in GITHUB, but I did not understand what would be its mo...
asked by 07.05.2018 / 17:32
1
answer

Error between accounts in 2 tables laravel

Sorry for my not experiencing in laravel, I'm starting the studies and I need to consult a Mysql table according to the value of another table eg: Tabela Sessões | id | nome | | 1 | João | | 2 | Fabio | | 3 | M...
asked by 16.05.2018 / 19:52
0
answers

Login problems with google

I'm using Laravel Socialite to sign in to google accounts. It's working perfectly. But if I log into an account and use the browser back button to choose another account to login, the following error is displayed: Laravel \ Socialite \ Two \...
asked by 11.09.2018 / 14:45
0
answers

Toggle table with auth laravel

Ask me a question: how to change the table to be consulted by laravel auth? At the moment of login you need to toggle the table to be queried since it can be a master user (which has its own table) and can be a normal user (with its own table)....
asked by 25.03.2018 / 18:17
0
answers

Deploy with VueJS and Laravel as API

I'm developing a classified portal with vue-cli and laravel as api, so I have a directory just for the front and another just for the api in laravel, both running locally on different ports. How do I configure this when deploying? I have no idea...
asked by 18.03.2018 / 09:54
1
answer

Web and API in Laravel 5.6

Someone could explain the route changes in version 5.6 of Laravel, now has the files web.php and api.php, and what middleware api is using. Thank you.     
asked by 29.03.2018 / 23:22