Support the ongoing development of Laravel.io →
posted 6 years ago

Anyone using Athena with Laravel 5?

From a quick read of the AWS Athena docs it seems the ODBC driver may be the only/best way, but I am...

0 Likes
0 Replies

Error while using factory in phpunit test classes

When I use Factories in a test class in phpunit, field value doesn't insert into database. It return...

0 Likes
1 Replies

Corrupted files after clean install

Hi, After using the command: "composer create-project --prefer-dist laravel/laravel blog"...

0 Likes
1 Replies
posted 6 years ago

How to consume a web service SOAP WSDL in Laravel

Hi group: I'm working on a project where I need to consume SOAP Web services from a WSDL in Laravel...

0 Likes
0 Replies

Domain Not Directing Correctly

I've installed Laravel 5 on CentOS 7 with ease. Made .htaccess changes and and generated application...

0 Likes
1 Replies
posted 6 years ago

Fetching and Displaying Customer Orders on Page

There are 3 tables. First one is orders: After example order: class Order extends Model { // Tab...

0 Likes
0 Replies
posted 6 years ago

SQL result != Eloquent result

$data = StoneType::with(['user'=>function($query){ // 每个取 2 条 return $query-&...

0 Likes
0 Replies
posted 6 years ago

Change http header name from Authorization to X-Access-token

I am using Laravel passport and it requires to send in every request the header Authentication to be...

0 Likes
0 Replies
posted 6 years ago

Create database tables script wise, not PHP ARTISAN wise

Hello! I want to make a web installer based on Laravel, which means, i want people to be able to put...

0 Likes
0 Replies
posted 6 years ago

Laravel Form submission

RuntimeException Could not find resource 'js/zepto.min.js' in any resource paths.(searched: .....

0 Likes
0 Replies
posted 6 years ago

Admin area - multiple choice input

Hello! For our Laravel website, in our Admin area we can create blog posts. For each blog post we po...

0 Likes
0 Replies
posted 6 years ago

Where does Laravel 5.4 passport store access_token?

0 down vote favorite I'm new in Laravel Passport. Recently, I used the Password Library for RestApi...

0 Likes
0 Replies
posted 10 years ago

Routing for subdomain

Is it possible to have a route for a subdomain like this: name.staging.sitename.com ? So the site is...

0 Likes
4 Replies
Solved

Methods of Eloquent not working

Hey! I have a problem with my application. Some methods of eloquent not working. When I use method f...

0 Likes
0 Replies
posted 6 years ago

Strategy for Multi-Change Migrations

I recently created a migration with 5.6 that changed the data type for multiple columns and renamed...

0 Likes
0 Replies
posted 6 years ago

Route Resource Bug

Hello, I have this resource in web.php Route::resource('chalkboard', 'ChalkboardController'); and in...

0 Likes
2 Replies
Solved

Laravel 5.2 Eloquent relationship with two (composite) keys

I'm trying to figure out the best way to define a relationship from one model to another where the r...

0 Likes
3 Replies

Encrypt With Laravel and Decrypt with JS.

I am successfully being able to encrypt a string in Laravel Web Services. But when I get the encrypt...

0 Likes
2 Replies
Solved

Foreign Key makes Problems

Hello, I would like to program an inventory system and need 3 tables for it. These can also be gener...

0 Likes
1 Replies
posted 6 years ago

Compare Updated_at and Created_at

How can i compare created_at and updated_at @exmpl. Product::where('active', 1)->where('created_a...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.