diegoaurino

diegoaurino

web programmer at ~

Member Since 1 Year Ago

Experience Points
172,810
Total
Experience

2,190 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
1568
Lessons
Completed
Best Reply Awards
25
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 35
172,810 XP
Aug
22
2 months ago
Activity icon

Replied to Storage Url Is Not Working On Windows

@faisal !

Thus, it is probably related to your webserver configuration. Check the configuration of your httpd-vhosts.conf file and also check if mod-rewrite is enabled.

You httpd-vhosts.conf need to look most like this:


<VirtualHost *:80>
    ServerName example.local
    ServerAlias www.example.local

    ServerAdmin [email protected]
    DocumentRoot "C:\xampp\htdocs\example.local\public"

    <Directory "C:\xampp\htdocs\example.local">
        AllowOverride All
    </Directory>
</VirtualHost>

Note that the port 80 will not work if another app, like Skype, is using it. Change to *:8080 if needed.

To enable rewrite go to C:\xampp\apache\conf\httpd.conf and uncomment the following line:


LoadModule rewrite_module modules/mod_rewrite.so

Reload your entire webserver or do a full reboot.

Also, make sure your php.ini has the proper extensions enabled for Laravel and your application to run.

Hope this helps. Let me know.

Activity icon

Replied to Help

Did you install the codecs as I suggested above?

Aug
21
2 months ago
Activity icon

Replied to Storage Url Is Not Working On Windows

You need to check if you are receiving 404 from the application or from the webserver. Are you using Apache or Nginx?

Activity icon

Replied to Laravel Brand Redesign: Live Now On The Official Website!

Really?

It looks good on my monitors, even at 80%.

Activity icon

Started a new Conversation Laravel Brand Redesign: Live Now On The Official Website!

Congratulations to Taylor Otwell, Focus Lab and other people involved! It looks fantastic. 

Scandia makes the docs much easier to read. Thanks!

What are your thoughts on this?

Aug
20
2 months ago
Activity icon

Replied to Download Is Not Working On Server

Hello, @marcellopato !

Did you check the permissions and ownership of the storage directory?

Also, look for localization issues. Portuguese uses some special characters that can lead to irregular URL formation if the server and the application are not correctly configured.

Hope this helps. Let me know.

Aug
19
2 months ago
Activity icon

Replied to Can't Run Valet Install In Linux Terminal "command Not Found" Error

The first recommendation I can give you is to use another directory instead of /usr/share. Try some folder under your $HOME. Check the Filesystem Hierarchy Stardard for Gnu/Linux systems.

About the error above, it can be related to many different problems. What PHP packages did you install? Check if php-mbstring php-xml are installed, for example.

In your case, I believe the problem is that you are running Composer with root permissions. You should never run Composer or npm with sudo. It can lead to many problems, including security risks. You should know that by using Kali.

Hope this helps. Let me know.

Activity icon

Replied to Can't Run Valet Install In Linux Terminal "command Not Found" Error

Kali by default run everything as the root user. You need to make sure that the user you are running the commands is the one that you edited the .bashrc. If you are running as Root but using other $home... Well, you got the idea.

To access "/usr/share/" you need the right privileges to do so. The same applies to the application.

Kali is not the best distro for development since it is focused on security testing.

Hope this helps. Let me know.

Aug
18
2 months ago
Activity icon

Replied to Restrict Access To Website By Location.

If they are accessing from browsers using Wi-Fi (in a general internet connection), it would be hard to track the location only based on the IP address. Most ISP only provide dynamic IPs for the general public. 

The simplest way is to use the Geolocation API provided by Google, as I suggested earlier. You can create a small Android app that tracks the user by its current location. Then, you will only need to consume the response in the Laravel back-end to "authorize the user action. In this scenario, even if they are using a browser in any computer, the system would only "authorize the action if his/her cellphone is in a valid location. 

Youll do great!

Activity icon

Replied to Restrict Access To Website By Location.

Hello, @khaledz !

You can use the Google Geolocation API to implement this.

Hope this helps. Let me know.

Aug
15
2 months ago
Activity icon

Replied to How To Make Each Authenticated User Only See Their Own Product

Also, you can combine global scopes, as @snapey suggested, with Policies. So, check Authorization & Policies in the docs.

Hope this helps. Let me know.

Activity icon

Replied to ASP VS PHP

What? 😱

Aug
13
2 months ago
Activity icon

Replied to TokenMismatch - With Multiple Laravel Projects On One Server

Hello, @martinzeltin !

Are those Laravel "projects" sharing the same domain? In this case, I believe you need to use Redis driver instead of the default file session. Look for Redis sessions in the docs.

As I don't have any idea about how your web server is configured, it is hard to say if it is related to a wrong Apache configuration, for example. In some cases, you need to correctly use mod_rewrite to make it works well with Apache. I do not recommend you to edit your .htaccess to use RewriteBase. So, check it too.

Make sure the APP_NAME is properly set for each "project" because the SESSION_COOKIE will rely on this.

Also, check the following in the config/session.php:

/*
    |--------------------------------------------------------------------------
    | Session Cookie Path
    |--------------------------------------------------------------------------
    |
    | The session cookie path determines the path for which the cookie will
    | be regarded as available. Typically, this will be the root path of
    | your application but you are free to change this when necessary.
    |
    */

Hope this helps. Let me know.

Aug
12
3 months ago
Activity icon

Replied to I Want To Create One To Many Relationship In Between Country State And City, How Can I Declare The Foreign Key Please Suggests Me How To Do?

Hello, @kanchan186 !

Check the docs for one-to-many relationships.

Also, take a look at the Laravel from Scratch series. Jeffrey covers the most basic relationships there.

After a quick read in the docs, you will be able to create those relationships with ease, I guess. It is very straightforward.

If you can get a paid account, you can also do the Eloquent Relationships serie. All eloquent relationships are covered there.

Hope this helps. Let me know.

Aug
11
3 months ago
Activity icon

Replied to Laravel Saves MP3 Files As MPGA

Hello, @dimasoliveira & @markandrewkato !

Check the /vendor/symfony/mime/MimeTypes.php class. You will see the following:

'audio/mpeg' => ['mpga', 'mp2', 'mp2a', 'mp3', 'm2a', 'm3a'],

Laravel does not convert .mp3 files to .mpga. It is only related to the Mime type that .mp3 is associated with. If you look at the array above, you will see that its extension is only the 3rd item in the list. So, the application renames the file to match the first file extension in the array.

Hope this helps. Let me know.

Aug
06
3 months ago
Activity icon

Replied to Scout ToSearchableArray Doesn't Get Relations When Save From Nova

Hello, @msassa & @MiguelStevens!

Check my answer in this issue on Scout Github repo.

Basically, I said:

___++++

I was facing a similar problem these days (with Algolia). The problem is that, for some reason, Scout appears to ignore relationship synchronizations on the store method. It looks like the sync() method does not change (touches) the timestamp of the model object that has been created on the store method in question.

$touches looks to be a solution for those that are not syncing or attaching, but creating or updating the synced objects.

A small workaround, I did, was to touch() the object, what will update its timestamp. Then Scout will pick the relationship too. But you cannot do that on the store method; it will happen so quickly that the timestamp will not change.

A workaround is to add an event and a listener for the store method. Then, you only need to use the last one to trigger a job that will touch your model object. The job should be delayed at least 1 (one) minute. That appears to be enough for Scout to pick the new timestamp and index the object with the relationship. That approach does not interfere with the user experience because the job will be handled behind the scene.

In other words, it does not look like a Scout bug, but only a thing to be aware of.

Hope this helps someone!

___++++

Hope this helps. Let me know.

Activity icon

Replied to Help

Hello, @ronzxc1998 !

What browser are you using? What is your OS?

In some cases, you need to install codes to run videos depending on the browser and OS you are using. For example, if you are using Chromium-based browsers on Ubuntu-based distros, you need to install:

sudo apt install libavcodec-extra chromium-codecs-ffmpeg-extra ubuntu-restricted-extras

Thus, make sure your browser and OS are okay.

Hope this helps. Let me know.

Aug
04
3 months ago
Activity icon

Replied to Why Page Route Not Working Properly. "404 | NOT FOUND!''

Hello, @aqansari !

Are you using Apache or Nginx? What is your OS? How your webserver is configured?

Are you getting 404 from the web server or from the application?

In case you are getting this error for the webserver, you need to check if the configuration is okay and if all necessary modules are active. Considering Apache, for example, check if mod_rewrite is active.

Hope this helps. Let me know.

Aug
03
3 months ago
Activity icon

Replied to Best Practice To Manage Css And Js By Url

Hello, @Andreas94 !

I dont know if your project has restrictions to use Vue. I believe the easier approach is to wrap the editor inside a Vue component. Thus, you can use it anywhere without caring about how blade would manage those scripts. Also, check that there is an official CKEditor component for Vue: https://github.com/ckeditor/ckeditor5-vue  

Another option is to create a blade component. https://laravel.com/docs/5.8/blade#components-and-slots 

Hope this helps. Let me know.

Jul
25
3 months ago
Activity icon

Replied to Vapor - Taylor Otwell Presentation

Very promising 😎

Jul
24
3 months ago
Activity icon

Replied to Laravel + VueJS (SEO And PageSpeed Insight)

Hello, @florent6001 !

I recommend you watch this video from the official Google Webmasters channel: https://www.youtube.com/watch?v=Op8Q8bUAKNc 

In case you are building a SPA, you can use vue-meta to manage your HTML meta-tags. Otherwise, you can use Blade to set them dynamically. 

JavaScript engines are very fast, but it also will depend on the quality of your code.

Hope this helps. Let me know.

Jul
21
3 months ago
Activity icon

Replied to PHPUnit Not Running From Vendor/bin Folder (Composer Install)

Hello, @pedroroccon !

What happens if you run composer install?

Are you running PHPUnit from the command line or from an IDE?

Check if your IDE is configured to use the proper phpunit.xml from the project's root folder and the autoload.php included in the /vendor folder. Also, check if you are calling PHPUnit from /vendor/bin/phpunit included in your app installation and not from other installation or even from a global installation on your OS in case you are using the command line.

And what do you mean by you are using vendor/bin/phpunit vendor/pedroroccon/my-package? Are you using PHPUnit to run a folder you placed inside the /vendor directory? If so, I am afraid your default PHPUnit configuration will not understand this. 

Hope this helps. Let me know.

Jul
15
3 months ago
Activity icon

Replied to Asset() Work With Localhost , Not With Domain.local

Hello, @moukbel !

Follow the suggestions above, but also update your httpd-vhosts.conf to:

<VirtualHost *:80>
    ServerName myproject.local
    ServerAlias www.myproject.local

    ServerAdmin [email protected]
    DocumentRoot "C:/wamp64/www/laravel/myproject/public"

    <Directory "C:/wamp64/www/laravel/myproject">
        AllowOverride All
    </Directory>
</VirtualHost>

Then, restart all the servers. Also make sure you are not receiving ports collisions from other Windows apps like Skype etc.

Hope this helps. Let me know.

Activity icon

Replied to Vue Select: How Do I Mark An Option As Selected Dependant On Id?

Hello, @finchy70 !

You are using prelim in this.prelimdata in the v-for. You don't need to use this to access the prelimdata array inside the template.

Also make sure the server response is returning the correct data.

Hope this helps. Let me know.

Jul
13
3 months ago
Activity icon

Replied to Can't Get Vagrant Up

Hello, @paulgureghian !

Check this issue on Github: https://github.com/hashicorp/vagrant/issues/1671

The "failed to open /dev/vboxnetctl" problem is well known. There are some workarounds to mitigate the problem.

If you are accessing the VM remotely, also make sure the required ports are available.

Hope this helps. Let me know.

Jul
07
4 months ago
Activity icon

Replied to Same Array But Not

Are you mutating the original array?

Activity icon

Replied to Same Array But Not

Hello, @kidi !

Is the screenshot a console.log output for this.cart? How does it look like in your code?

Activity icon

Replied to Laravel And Vue (in Forms)

Hope you are doing great.

I am not sure whether I understood your question or not. However, you can wrap only the multiselect component in other component. Then, you can easily emit only the filtered array you need. Also, you can massage your date in your controller to fit you need.

Jul
06
4 months ago
Activity icon

Replied to Laravel And Vue (in Forms)

Hello, @zfdeveloper !

You don't need to create a new component to use vue-multiselect and you can use it directly inside your form in Blade. You will need to create a few methods in your Vue instance in the app.js file though. Those methods will be responsible for consuming the API and setting the options for the selection.

A general example would look like this:

inside you Vue instance ---

       data() {
            return {
                options: [],
            }
        },
        created() {
            this.getTags();
        },
        methods: {
            getTags() {
                axios.get('/api/admin/tags').then(response => {
                    this.options = response.data;
                })
            }
        },

And in your form ---

        <multiselect
            class=""
            v-model="tags"
            placeholder="Search a tag"
            label="name"
            track-by="name"
            :options="options"
            [...]>
        </multiselect>

That is just an example to give you an idea. Don't forget to properly import the libraries. There are plenty of examples on the internet, especially in Codepen, where people configure vue-multiselect directly in the Vue instance. But it is important to know that you Vue instance will get messy very, very quickly though.

Hope this helps. Let me know and good luck!

Activity icon

Replied to Laravel Scout - The Relationship Is Not Added At Creation

I was facing a similar problem these days (with Algolia). The problem is that, for some reason, Scout appears to ignore relationship synchronizations on the store method. It looks like the `sync( method does not change (touches) the timestamp of the model object that has been created on the store method in question. 

$touches looks to be a solution for people that are not syncing or attaching but creating or updating the synced objects.

A small workaround, I did, was to touch() the object, what will update its timestamp. Then Scout will pick the relationship too. But you cannot do that on the store method; it will happen so quickly that the timestamp will not change.

A workaround is to add an event and a listener for the store method. Then, you only need to use the last one to trigger a job that will touch your model object. The job should be delayed at least 1 (one) minute. That appears to be enough for Scout to pick the new timestamp and index the object with the relationship. That approach does not interfere with the user experience because the job will be handled behind the scene.

In other words, it does not look like a Scout bug, but only a thing to be aware of.

Hope this helps someone!

Jul
05
4 months ago
Activity icon

Replied to Can't Connect To Algolia .

Hello, @saberhosneydev !

Have you properly set the ALGOLIA_APP_ID variable in your .env file? Share more details of your set up!

Jul
02
4 months ago
Activity icon

Replied to How Do I Keep Getting Hacked On PHPUnit?

Hello, @mchiasson !

It is hard to say based on the information you are providing.

What do you mean by ".htaccess restrictions to block .ENV"? You should expose only the public folder and properly set the permissions for this folder. That is the most basic thing you can do.

Also, from a sysadmin point of view, relying only on a custom .htaccess configuration is a bad idea. You need to properly set up your web server (Apache or Nginx) to secure the Laravel root directory and only expose the public folder.

If the attacker has access to your vendor folder, he can use PHPUnit to trigger any PHP code via POST request.

I don't believe the problem is with PHPUnit however.

It is also important to upgrade your entire framework from time to time.

Hope this helps. Let me know.

Activity icon

Replied to Laravel Dusk Ignoring Testing Database And Uses Main One Instead

@R123 - So, check the docs for Dusk: https://laravel.com/docs/5.8/dusk#environment-handling

It has its own way to handle env variables.

" if you will be initiating the dusk command from your local environment, you should create a .env.dusk.local file."

Also, make sure you removed the previous configuration.

Let me know if this helps.

Jul
01
4 months ago
Activity icon

Replied to Laravel Dusk Ignoring Testing Database And Uses Main One Instead

@R123 - Take a look at the docs: https://laravel.com/docs/5.8/testing#environment

It says that:


you may create a .env.testing file in the root of your project. This file will override the .env file when running PHPUnit tests or executing Artisan commands with the --env=testing option.

That is the documented way of doing this. After you should add your database variables there and so on.

Then,

You are free to define other testing environment configuration values as necessary. The testing environment variables may be configured in the phpunit.xml file, but make sure to clear your configuration cache using the config:clear Artisan command before running your tests!

Also, check https://laravel.com/docs/5.8/configuration#environment-configuration

You may also create a .env.testing file. This file will override the .env file when running PHPUnit tests or executing Artisan commands with the --env=testing option.

So, you do not need to mess up your config files. Don't forget that you need to correct any miss configuration on your phpunit.xml file too. If needed, you can run php artisan config:cache --env=testing to clean up the cache.

Another option is to run tests in memory.

Hope this helps. Let me know.

Activity icon

Replied to How To Find Storage Directory Cpanel/filezilla

It is not clear to me. But...

What do you mean by /public_html/\imagineprofi? There is a backslash before the i in imagineprofi. The shell will interpret the next character as a special character. Is that what do you want?

Is the /imagineprofil/ the root directory or the public folder?

Jun
30
4 months ago
Activity icon

Replied to Getting All Json Instances From An Axios Response Dynamically

@LITTLEBOBY - Glad you solved it out! =D

Check: https://laravel.com/docs/5.8/eloquent-resources and https://laravel.com/api/5.8/Illuminate/Http/Resources/Json/JsonResource.html

It will give you a better understanding about what JsonResource is doing with your data. ;)

Please, mark it as solved!

Activity icon

Replied to Getting All Json Instances From An Axios Response Dynamically

@LITTLEBOBY - Also, note that you defined your attributes like this in PHP:

            'attributes' => [
                'name' => $this->name,
                'description' => $this->description,
            ],

And the API response:

attributes:
description: "Esse doloremque iste aperiam atque minus ab illum dolores dignissimos amet illum voluptatem voluptas."
name: "Aliquam autem voluptas ipsa non."

Here you can see that it is an empty JSON key. So, if you chain it like attributes.name, you will get undefined.

Expand everything you see in your groups data in the Vue DevTools and paste it here. So, you can have a better idea of what v-for will give to you. Besides that, just put {{ group }} inside your v-for to see what you are getting there.

Good luck!

Activity icon

Replied to Getting All Json Instances From An Axios Response Dynamically

@MSTRAUSS - No problem, @mstrauss . It was fun. :D

Besides what @mstrauss suggested, I would like to give some tips to you, @littleboby

It is hard to know, at least for me, where you want to go here. Your API response is not that clean. I would suggest you go to the controller and massage your API data before consuming it in the Front-End. You are using data.data to access the response; this chain is not a good sign.

You are using

v-for="group in groups"

to iterate over the groups object, it will create group with the associated value. But you are also defining group in your Vue data in one of your previous code. Why? Have you removed it?

Try to console.log the data you are applying to this.groups inside your response chain, see what you get. Also, go to your Vue.js devtools, click on the component in question and check what kind of data is stored on your groups data. You need to check if its content is iterable, otherwise the v-for will be blank.

Hope this helps!

Activity icon

Replied to When To Use Components?

I would say it is okay if it fits your application architecture. Try to keep good programming principles in mind too. Also, note that components communication can get complicated if you are dealing with multiple components. In this last case, you will probably need to use Vuex to keep track of everything. Another important point is that every component has its own templates and styles; sometimes it can become hard to maintain if badly planned.

Activity icon

Replied to Update Value Outside Component

@MARKOKAUP - Hello, @markokaup !

You don't need to use Vuex for simple things like that.

The proper way to communicate from parent to child in Vue is by using props, and from child to parent, you can emit an event or use an Event Bus.

The Vue documentation is really good to cover that. Do basic research about those terms, you will find multiple examples.

Also, here on Laracasts, you can find free lessons that cover virtually all aspects of this.

Check: https://laracasts.com/series/learn-vue-2-step-by-step

Hope this helps. Let me know. Good luck!

Activity icon

Replied to Vue Is Not Rendering Youtube Video Correctly

Hello, @nhayder !

As I don't know what package are you using, I have some questions to try to guide you.

What package are you using? Have you properly import it?

Have you installed the Vue.js devtools extension? If so, check if it is pointing out some problems.   What your `console.log(From component =>+response.datashowing to you?

Note that in the following code you will not be able to access your `medi data:

        .then(function (response) {

            console.log('From component =>'+response.data);

            this.media = response.data;

        })

You need to use the arrow function instead.

        .then(response => {

            console.log('From component =>'+response.data);

            this.media = response.data;

        })

Also, try to wrap your div with other div to avoid future problems.

I also see that you have multiple props for this component, but not all are in use.

Hope this helps you. Let me know.

Activity icon

Replied to Getting All Json Instances From An Axios Response Dynamically

@MSTRAUSS - Just to clarify things and help here. The arrow function is called arrow function and not arrow scope function. The arrow function does not have it own this. For that reason, it will look for the enclosing lexical scope. In other words, it automatically gets the lexical "this" . Check: https://www.ecma-international.org/ecma-262/6.0/#sec-arrow-function-definitions 

@littleboby In your previous code, this is not pointing to your Vue object, but to the global object. 

If you are not okay with using the arrow function, you can use the " .bind " utility, like " .bind(this) " after your function.

Activity icon

Replied to Blade Layout Problem

@LEANSTI - Glad you solved the problem! Good luck! :)

Activity icon

Replied to Blade Layout Problem

Hello, @leansti !

Are you just appending your HTML code on the default welcome.blade.php file? If so, note that it includes a div with the following classes: flex-center position-ref full-height. This div is wrapping other divs. Also, look at the style tag inside the head. You need to customize it.

Hope this helps. Let me know.

Activity icon

Replied to Getting All Json Instances From An Axios Response Dynamically

Hello, @littleboby !

You need to use an arrow function to access the correct scope. For example:

            .then(response => {
                console.log(response.data.data[0].attributes.name); 
                this.groups = response.data.data[0].attributes; 
            })

Hope this helps. Let me know.

Activity icon

Replied to PHPUNIT Fails, But Separate Testsuits Not

@BAHJAAT - Glad to see that! I didn't pay attention to the fact you were using 'DatabaseMigrations' instead of 'RefreshDatabase'. Did you properly set your testing database? Also, check the possibility of using the test in memory. It tends to be faster especially in Windows. If your project allows that, just add the following in you phpunit.xml:

        <env name="DB_CONNECTION" value="sqlite"/>
        <env name="DB_DATABASE" value=":memory:"/>

But note that it will use sqlite in memory. Let the .env file to set only your main databases. Check if your antivirus or firewall is not slowing down the entire process. In general, tests running under a plain Apache and PHP installation on Windows, for example, tend to be really fast, but under WSL1 it is very, very slow.

Bests,

Jun
29
4 months ago
Activity icon

Replied to PHPUNIT Fails, But Separate Testsuits Not

Hello, @bahjaat !

Are you running those tests from PHPStorm or from the command line?

Check if PHPStorm is configured to use the proper phpunit.xml and the autoload.php included in the /vendor folder. Also, check if you are calling PHPUnit from /vendor/bin/phpunit included in your app installation and not from other installation or even from a global installation on Windows in case you are using the command line.

In case the problem persists, paste here your .env and phpunit.xml files.

Hope this helps!

Jun
28
4 months ago
Activity icon

Replied to Vue.js Activated In Tab: Npm Run Watch Build Successful, No Visual Feedback

@LITTLEBOBY - Glad to hear that! Please, mark it as solved! Good luck, @littleboby ! :)