finchy70 finchy70
4
In development I have a Laravel 8.24 / PHP 8.0.1 app that works fine and when I composer update it updates fine. When I deploy to forge from the github repo the deployment fails and errors that seem to relate to composer are in the log. Thu Jan 21 23...
BJBT99 BJBT99
1
I have a small site deployed on digital oceans apps platform and images I have placed in the public/images folder are not displaying. below is my image tag any help would be appreciated <img alt="" src="{{ asset('images/po...
Driade Driade
3
Hi! I know that when testing it's a good idea to write at the beginning Hash::setRounds(4) to improve the speed. Inspired by this tweet https://twitter.com/fabpot/status/1352255328960843777, I've been playing around with the idea to completely replac...
osieman osieman
1
I have a bootstrap table of data in cells. Onclick I would like to get the cell id and call a controller which will get the data item for that cell id. Then fill a modal with the data. At present I have my cell like this <td id= "{{$cellnam...
Adamantyn Adamantyn
0
I have an applicatoion made with Laravel, everythings works well but when I run it on a server with SSL, i'm redirected to the route https://example.com/email/verify when i try to access https://example.com. Without SSL it works as usual. When I targ...
SimonAngatia SimonAngatia
1
I serialize data before saving it to the database. Later, I fetch this serialized object, unserialize it, and then loop through to get one object then pass it to another method. Now, the script works on two domains. The code is the same. On one domai...
I have 3 components Sibling Parent Child In the Parent component I am listening to an event triggerPar which is emitted by the Sibling and an ID is passed. The Parent passes that ID to the Child. But the view does not update upon clicking the butto...
warpig warpig
1
This topic comes out of pure curiosity. Do servers used for onliine play, in videogames, do they also use POST and GET requests? Is it THAT simple? What do they use? I have a notion they're unrelated with the HTTP protocol. So what's a good way to u...
zahidnazirkhan zahidnazirkhan
9
Hello Everybody, I want to know if I can substitute a variable in place of a Modal name while querying Eloquent Modals. For example, User::find($id); can it be written like this: $entity::find($id); I want to pass modal name from front end to my Cont...
krie9er krie9er
10
Hi I am wondering how many SQL-Queries are generated, when I map over a collections has many dependencies. Imagine following: Model Thing hasMany Foo; Model Foo has One Bar; Model Bar hasMany Foo; When I now make the following statement: Thing::fir...
kenprogrammer kenprogrammer
3
What are the draw backs of using Laravel's Gates and Policies for authorization instead of packages like Spatie Laravel Permissions?...
Brainmaniac Brainmaniac
1
Hey, I am about to make more SEO-friendly URLs on my page and want a pattern looking like this for my products: www.mydomain.com/product-category/a-pretty-long-seo-friendly-product-name-12 So what are we looking at here? www.mydomain.com/{slug1}/{slu...
Veleous Veleous
2
I have some navigation in an include which is used in a couple different views. The only difference is that depending on which view it is being included from, some of the routes for the links should differ. There are eight links and four of them have...
Gabotronix Gabotronix
1
Hi everybody, in my laravel app I want to enable fcm with laravel-notification-channels /fcm, this package now uses kreait/laravel-firebase for firebase credentials setup. First I installed laravel notifications package without issues, with this comm...
MyirLik MyirLik
4
Hello, I have a div with the "main" class and in this div I have a span with the "promotion" class. My question is: When I use this type in css, that span is not hidden. How should I do otherwise? #main > .promotion { visib...
thebigk thebigk
2
I'm creating an app where users can have their own subdomains: user1.domain.com (maps to user1.com) user2.domain.com (maps to user2.com) I'd also like to add a facility to let people map their own domains to these domains. For example, typing user1....
uniqueginun uniqueginun
0
I'm building Apex-Charts inside livewire component like this: <div class="row justify-content-center mt-lg-5"> <p class="font-monospace text-center text-danger"> chart data for: {{ $filter }} </p>...
Hi together, i would like to create a ToDo app. Like Wunderlist. Tasks are to be created that are to be completed regularly on a weekly or monthly basis. I have no idea how this is best resolved. One possibility will be that the next date of a series...
latz replied
Solved
Ravenclau Ravenclau
2
Hello everyone,, i am wondering of using laravel nova for a client now. Do you think its mature enough to be on production? I see a lot of issues at https://github.com/laravel/nova-issues. What do you think? https://mobdro.bio/ https://kodi.bio/ http...
dan3460 dan3460
2
There is another post with exactly this same problem but never got answered, given it another try. I have Cashier and Stripe. I'm trying to create a subscription at the same time that the user creates the account. I'm getting the token back from Stri...
zambie zambie
1
im trying to use jquery as my front end and laravel as my backend but i can't make my movie title to show up on producers table. ProducerController.php if ($request->ajax()){ $producers = Producer::with('movies')->get();...
santino santino
3
hi, I was wondering if there is a way to migrate a specific table that is inside a migration class, here is the example, inside class CreateUsersTable extends Migration { public function up() { Schema::create('users', function (Bluepr...
maxdiable maxdiable
5
hi, i write this: $obj = DB::table("V_PRENOTAZIONI_SHARING") ->where("id_prenotazione", 360) ->where("f_principale", "=",1) ->first(); the $obj is null .. if i call my query in my DB: SELECT * FROM V_P...
afendas afendas
1
Hi, I have a problem with AJAX request to controller through URL, I am dealing with this problem more than one week and I still cant figure it out. I have a datatable and I want to pass data into that datatable (yajra) through AJAX. This is blade fil...
Čamo Čamo
0
I have new Laravel 8 instalation and a little problem with js code. In js/bootstrap.js I have a code: window.$ = require('jquery'); window._ = require('lodash'); window.axios = require('axios'); window.axios.defaults.headers.common['X-Requested-With...
PTNOP PTNOP
8
Hello i whant to create a route like this: Route::get('s/{where}/places', '[email protected]'); The final link should by something like : localhost/s/Paris/places But i want use the same route without the where at the same time if i don't have...
santino santino
6
Hi, want to ask if there is a better way to know if a field is not null or empty right now I got this if ( !empty( $this->userMainAddress->city_id ) ) {}...
noblemfd noblemfd
4
In my Laravel-5.8, I am running multi-tenancy TenantManager.php <?php declare(strict_types=1); namespace App\Tenant; use App\Models\Organization\OrgCompany; class TenantManager { private $tenant; public function getTenant(...
prudencesedo prudencesedo
3
help me. Is this update script correct? public function ajouetapedeux(Request $request) { $request->validate([ 'pratiques_coutumiere'=>'required', 'organisation_concernee'=>'required', 'mode_transmissi...
edgreenberg edgreenberg
7
Somewhere between 5.8 and 6.0, PaginatedResourceResponse::toResponse() changed. In 5.5, in an API controller, I did a query and passed it to ->paginate($num) instead of to get() and then pushed the result set into a new ApplicationCollectionResour...
I have a user, who belongs to a singular school, which has multiple restaurants, and I want to get the meals related to each of those restaurants. Previously there was one restaurant per school and I could use the following successfully (where $this...
I have a custom exception that I want to show a solution for on the Ignition error screen. To write the correct solution I need some details about the object that threw the error. Can it be passed to Ignition when the exception is throw so or like: t...
Hi all, I'm a bit stumped here on the best way to move forward. I just ran into a DST issue for the first time. We use acuity as a scheduling tool, and pull from its api to populate our db. Just had someone update a start time, which when translated...
noblemfd noblemfd
3
I am trying to build a multi-tenancy application using Laravel . I tried to use Spatie multi tenancy or is there any other better alternative? There is a major company and sub-companies: myapp.com, company1.myapp.com, company2.myapp.com, ... and so o...
rudexpunx rudexpunx
1
So I first installed Passport before 9.x release, so I haven't had provider column in my oauth_clients table. With Passport 9.x, I had to upgrade my DB, so I created new migrations, according to their Upgrade Guide. Now, when updated, Passport tables...
Create a New Discussion Button