Questions tagged as 'laravel-5'

1
answer

Laravel 5. * add own hash

I have created a helper with a proper function to hash the password (named CustomHash) and it registers well but does not log in, following a tutorial of similar questions I did the following: Create a folder libraries = > App \ libraries...
asked by 03.09.2016 / 00:21
1
answer

Got Http response code 400. Problem with Amount. Error using PAYPAL API

is the first time I try to make a page implementing paypal and it is giving me problems, I use Laravel too. This is the function that gives me the error private $_api_context; public function __construct() { // setup PayPa...
asked by 24.08.2016 / 11:22
1
answer

Error "Class Blog \ Http \ Requests does not exist" in the request

Trying to make the user registration generates the error "Class Blog \ Http \ Requests does not exist" Here my UserController <?php namespace Blog\Http\Controllers; use Blog\Http\Requests; use Blog\Http\Requests\CrearUsuarioRequest...
asked by 27.09.2016 / 18:28
1
answer

Install Laravel Project IIS 8 Windows Server 2012

I am implementing a laravel project in IIS 8 Windows Server 2012. But I have problems for the routes to work. I can see the index but when I want to access a view it returns error 404. Has anyone had any experience doing this?     
asked by 03.06.2016 / 21:47
1
answer

How to redirect to the login whenever it is not authenticated? laravel 5.3

I want my application to go through an authentication verification, but I can not do it. In the routes.php file: Route::group(['middleware'=>'web'], function(){ Route::get('/', 'Auth\LoginController@index'); Route::resource('lo...
asked by 03.01.2017 / 20:14
1
answer

Error when trying to install, by composer, a Service Provider in Laravel 5.3

I have tried with the following: https://laravelcollective.com/docs/5.3/html https://github.com/yajra/laravel-datatables https://github.com/barryvdh/laravel-debugbar With the 3 I get the same error: Update 1: Now throw...
asked by 03.01.2017 / 07:27
2
answers

Number format in laravel

How can I do the php numberformat in laravel for a text type input two decimals? {!!Form::text(number_format(campoaformatear,2,'.',',')null,['class'=>'form-control'])!!}     
asked by 01.08.2016 / 16:15
2
answers

Problem with editing in laravel 5.5

I have a module to edit, which works very well, I show the controller and the view below. public function edit(Request $request, $id) { $request->user()->authorizeRoles(['admin','referido']);...
asked by 29.12.2018 / 19:24
1
answer

Laravel, call additional method of the Model in Eloquent query

In my Deegre model I have a method fullName () that returns string <?php namespace App; use Illuminate\Database\Eloquent\Model; class Deegre extends Model { public function fullName(){ $level = [ "1" => "Primer ",...
asked by 27.12.2018 / 17:40
0
answers

Extract data from a column in jquery

I have a table within which when I select all the items I want to remove all the items from the city column and then take the number of cars per city something like this And the html code I have is the following: <script src="ht...
asked by 23.12.2018 / 00:06