List of available languages

Hey! I'm working on a multilingual project, and I was wondering if there's any function or helper package available on Laravel that retrieves all the languages defined on...
Laravel
5
207

Your requirements could not be resolved to an installable set of packages

Hello devs, I've tried to install laravel colective in command line. composer require "laravelcollective/html":^5.4.0 But I...

@foreach does nothing, even if I do have objects.

Ok so what is happening is very weird. What happens is, I have an HTML pane view defined with multiple categories. In this case, my HTML looks like this: <...

https creating an infinite loop in 5.2

I'm using the following code to enforce ssl: namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\App; class HttpsProtocol { public function ha...

Laravel nova actions redirect in new tab

In Nova doceumentation there is: ´ return Action::redirect('https://example.com'); but it opens in the same tab.. is it possible to open...
Nova
0
75

Laravel Socialite and Magento

Hi, Does anyone know if it is possible to integrate Laravel Socialite with Magento? I am looking to build a Laravel application that will fetch users and auth...

Raw query not running

I am trying to run raw query as follow: $rawStatement = 'SELECT table_rows "Rows Count" FROM information_schema.tables WHERE table_name="table...

Authentication using Socialite

I'm facing this issue when i try to make social network authentication using Socialite Façade with Laravel Can somebody help me! "Undefined index: redirec...

How To Save Image As Blob

So I am trying to use a blob column to store my image. However when I look in the database the data saved does not seem to look right. For example when I look at images tha...

Mailgun api problem, work local, not on server

Hi! Anyone used mailgun/bogardo with forge/digitalocean to send email ? I'm having a hard time!! Everything is working fine on locahost, email are sent. Server, nothing, no...

help identify a BadMethodCallException

I found a tutorial here on achieving my goal:...

Laravel 5 - Migrations from existing database

Hi Everybody, I would like to know how can I proceed for creating migrations from an empty existing database with Laravel 5. With L4, I u...
General
22
924

Laravel sortable rutorika

Has anyone used this package yet? I have a project that uses it, to do this, but not how to implement it. I installed the package, I made the fields in the models, b...

Trix : more text formatting options ?

Hi, I'm using Trix for a Textarea but the available formatting buttons are limited : bold, italic, bullet points, etc. How can I add more of them? (like Headings, h1...
Nova
0
15

Check field in relationship

When I am going to register a new page in the site, before I choose the title type of the new page. Being that the site already had a page with front-page I ca...

Class not found exception

I created a console job to handle sending emails nightly. However, I keep getting this error in production. If I run the exact same code in my local development environment...

How to set button at right top of the page

Hi all, In my jQuery v3.3.1 / Bootstrap v4.1.2 application I try to add button at right top of the page over the data listing and search area. with code :...

Select multiple with default selected

Hi, I have a select multiple and I need select default values <select multiple name="users" class="form-control"> @foreach($mem...

Using JWT + VueJS for Laravel API Auth Best Practices

Hi, As per the title, I'm using tymondesigns/jwt-auth for authentication to my API which I have set up and is working, however, I have a few questions regarding best...

Linking Two User Accounts

This one's a bit of a head scratcher for me. I'm developing a game where users can have up to two accounts, each under different email addresses. This is easy, so is loggin...

Confirmation delete data using sweetAlert with laravel 5.7

is there any sources that I can read to solve my problem ? Mind to share ? console detect that there is an error on my script at var csrf_token=$.... im follo...
Laravel
17
83

Module not found: Error: Can't resolve 'fs'

hi, when run gulp get error not found fs module // depend fs let dir = require('node-dir'); //or let fs = require('fs'); dir.path(__dirname, function(err,...
Mix
8
852

How can i save duplicate record in laravel ?

how can i replicate a same record with some changes in laravel for example i have a record saved in database in openings table example: id :1 name:class one j...

how i search data from multiple colunm in database using array

my controler: $aCon= array(); if (!empty($request->input('search'))) { $aCon['name'] = $sear...

Upload files in RepositoryPttern

i send files to userRepository with this code : public function sendDocs(Request $request) { $this->userRepository->sendDocs(...

Module not found: Laravel Vue Webpack

Im currently working on a project where im trying to use Vue.js in Laravel. When im running the command: Npm run dev it tries to compile the webpack.mix.js file. But i've a...
Vue
1
55

Problem with latin words

My database is with the following config 'charset' => 'utf8', 'collation' => 'utf8_general_ci', my table too, my record has the...

Attribute returns binary string on controller but not on route

I NEED A NORMAL STRING If I try to get my product name with the following code in my VendaitensController it returns b"André"...

"The file "/public/plots/20180807_10.56.01_raster11x21_1549956869_FGD.png" does not exist"

here is my Code Routes: Route::post('/meinegraphiken/{id}','[email protected]'); [email protected]: public function download($id){ $graph=graph::find($id); re...

How to send 'BODY' parameter to Restlet API post request?

Hello , i need to rewrite this code to be POST request with body parameters . is there any suggestion how to include body data. Thanks in advance....

General question about what kind of data to put in a database seed, given now starting to use automated tests in earnest.

I'm finally starting to engage with testing in earnest -- tried phpspec but decided to stick with phpunit to start with because it is a more comprehensive solution rather t...

Getting the Str::ascii to work on blade

I'm tring to get a string to be converted to ascii, so I came across this Str::ascii but I can't get it to work in my blade template. here is my code...

Total Row Count from multiple tables

Hello, I am new in laravel. I am doing my first project in laravel so i have no much idea about it. My question is, I want to row count of 5 different table,...

Converting string to ascii hex

I'm trying to convert certain symbols in my string into ascii hex. I've been looking but I can't seem to find anything. The string that I need converted is this...

My Index model give me random sort

my model Index.php <?php namespace App; use Illuminate\Database\Eloquent\Model; /** * App\Document * * @property int $id * @property int $user_id...
Create a New Discussion Button