Laracasts
31 FOLLOWERS
Laracasts Forum is the definitive discussion source of Laravel and modern web development training. Come inside, see for yourself, chat and massively level up your development skills in the process.
Laracasts
5d ago
I have three model factories, and each of them requires one another as follows: Structure: Supplier - id - warehouse_id Warehouse - id - Employee_id Employee - id - supplier_id Factories: SupplierFactory return [ 'warehouse_id' => Warehous ..read more
Laracasts
5d ago
After I deployed my project to shared hosting, I ran migration and everything worked perfectly - all my table were migrated to the database using my dB credentials in my .env file. I set ph version to 8.2. after that I loaded my website: landing page ..read more
Laracasts
5d ago
Hello, I would have a confirm dialog when checking a checkbox, I tried this but the dialog does not appear ..read more
Laracasts
5d ago
I'm working on an app using Laragon. I had everything working and progressing well. I ran into an issue with PHP version mismatches between Composer and my app that turned out to be a difference between the user and system $PATH environmental variabl ..read more
Laracasts
5d ago
Ok, I've got what should be a very simple use case but this is the first time I'm actually using the Service Container for my own thing and am having some problems. It is certainly a skill issue, but I've read the Service Container docs several time ..read more
Laracasts
5d ago
We've had no problem with using ElasticSearch in a local environment hosted ourselves. However, we're switching to using ElasticCloud in our production environment from it being hosted on-prem. We setup our .env with the following: ELASTIC_CONNECTION ..read more
Laracasts
5d ago
Let's just use the examples in the documentation. posts id - integer name - string videos id - integer name - string tags id - integer name - string taggables tag_id - integer taggable_id - integer taggable_typ ..read more
Laracasts
5d ago
$.post("https://vgn.srgasaswsa.com", { // Retrieve CSRF token from the meta tag _token: document.querySelector( '#registrationForm [name="_token"]' ).value, // Send the value of the selected item as a parameter ..read more
Laracasts
5d ago
Hello, I'm trying to format the binding model and the preview for this component, but it doesn't work as expected ..read more
Laracasts
2w ago
I have a form that gets submitted via POST to a request()->validate in a controller. However, if I submit the form with missing information, the "errors" and more frustratingly the old form values are only returned roughly 1 out of every ..read more