eshaparvathi

eshaparvathi

Member Since 1 Year Ago

Experience Points 1,040
Experience Level 1

3,960 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 6
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

02 Feb
1 year ago

eshaparvathi left a reply on Installing Valet On Mac High Sierra

587232743:Sites eshamac$ ping anything.test
ping: cannot resolve anything.test: Unknown host

No. It isn't. What should I do?

01 Feb
1 year ago

eshaparvathi left a reply on Installing Valet On Mac High Sierra

I did that. and now it still creates the symbolic link in the wrong flolder

587232531:advanceprogress eshamac$ valet paths
[
    "/Users/eshamac/.valet/Sites",
    "/Users/eshamac/Sites"
]
587232531:advanceprogress eshamac$ valet forget /Users/eshamac/.valet/Sites
The [/Users/eshamac/.valet/Sites] directory has been removed from Valet's paths.
587232531:advanceprogress eshamac$ valet paths
[
    "/Users/eshamac/Sites"
]
587232531:advanceprogress eshamac$ valet link
A [advanceprogress] symbolic link has been created in [/Users/eshamac/.valet/Sites/advanceprogress].

31 Jan
1 year ago

eshaparvathi left a reply on Installing Valet On Mac High Sierra

I think I figured out the problem. But I don't know how to fix it.

[
    "/Users/eshamac/Sites"
]```
But look at where the symbolic link is created

sh-3.2# valet link leaptest A [leaptest] symbolic link has been created in [/var/root/.valet/Sites/leaptest].

eshaparvathi left a reply on Installing Valet On Mac High Sierra

Leaptest eshamac$ valet domain test
Password:
Restarting dnsmasq...
Restarting php71...
Restarting nginx...
Your Valet domain has been updated to [test].
eshamac$ ping -c 5 foo.test

ping: cannot resolve foo.test: Unknown host

eshaparvathi left a reply on Installing Valet On Mac High Sierra

Just did all that. I have valet in Sites directory. it says "leaptest.test’s server IP address could not be found.

eshaparvathi left a reply on Installing Valet On Mac High Sierra

php71   started root /Library/LaunchDaemons/homebrew.mxcl.php71.plist
nginx   started root /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
dnsmasq started root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist```


and for valet domain 
```dev```

eshaparvathi left a reply on Installing Valet On Mac High Sierra

tcp6 0 0 *.53838 . LISTEN tcp4 0 0 *.53838 . LISTEN tcp4 0 0 *.http . LISTEN tcp4 0 0 localhost.52338 . LISTEN tcp4 0 0 localhost.52377 . LISTEN tcp4 0 0 localhost.52335 . LISTEN tcp4 0 0 localhost.52337 . LISTEN tcp4 0 0 localhost.52336 . LISTEN tcp4 0 0 localhost.52334 . LISTEN tcp6 0 0 localhost.ddi-tcp-3 . LISTEN tcp4 0 0 localhost.ddi-tcp-3 . LISTEN tcp4 0 0 localhost.ddi-tcp-2 . LISTEN tcp6 0 0 localhost.ddi-tcp-2 . LISTEN tcp4 0 0 localhost.52363 . LISTEN tcp4 0 0 localhost.52390 . LISTEN tcp4 0 0 localhost.52360 . LISTEN tcp4 0 0 localhost.52362 . LISTEN tcp4 0 0 localhost.52361 . LISTEN tcp4 0 0 localhost.52359 . LISTEN tcp4 0 0 localhost.ddi-tcp-1 . LISTEN tcp6 0 0 localhost.ddi-tcp-1 . LISTEN tcp4 0 0 localhost.53870 . LISTEN tcp4 0 0 localhost.ipp . LISTEN tcp6 0 0 localhost.ipp . LISTEN tcp4 0 0 localhost.49368 . LISTEN tcp4 0 0 localhost.15292 . LISTEN tcp4 0 0 localhost.6463 . LISTEN tcp6 0 0 *.61500 . LISTEN tcp4 0 0 *.61500 . LISTEN tcp46 0 0 *.mysql . LISTEN

eshaparvathi left a reply on Installing Valet On Mac High Sierra

Only the nginx servers COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nginx 60550 root 6u IPv4 0xc1c07279ea5c323f 0t0 TCP *:http (LISTEN) nginx 60551 eshamac 6u IPv4 0xc1c07279ea5c323f 0t0 TCP *:http (LISTEN) nginx 60552 eshamac 6u IPv4 0xc1c07279ea5c323f 0t0 TCP *:http (LISTEN) nginx 60553 eshamac 6u IPv4 0xc1c07279ea5c323f 0t0 TCP *:http (LISTEN) nginx 60554 eshamac 6u IPv4 0xc1c07279ea5c323f 0t0 TCP *:http (LISTEN)

eshaparvathi started a new conversation Installing Valet On Mac High Sierra

I have tried install uninstall, I have tried checking the nginx. nginx isn't working because it says port 80 was occupied. But port 80 doesn't have it. I am frustrated. Can someone walk me through how to install valet on high sierra?

10 Sep
1 year ago

eshaparvathi started a new conversation I Tried To Create A New Package. This Is My Package Directory

File Structure packages/esha/Query/src

Under the directory Query I have a composer.json and here is the file:

{
    "name": "esha/Query,
    "authors": [
        {
            "name": "esha",
            "email": "[email protected]"
        }
    ],
    "require": "dev"
}

Now, here is the main composer.json

"psr-4": {
            "App\\": "app/",
            "esha\\Query\\": "packages/esha/Query/src"
        
        }

Now here is the app.php under config


'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Auth\AuthServiceProvider::class,
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
        Illuminate\Bus\BusServiceProvider::class,
        Illuminate\Cache\CacheServiceProvider::class,
        Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
        Illuminate\Cookie\CookieServiceProvider::class,
        Illuminate\Database\DatabaseServiceProvider::class,
        Illuminate\Encryption\EncryptionServiceProvider::class,
        Illuminate\Filesystem\FilesystemServiceProvider::class,
        Illuminate\Foundation\Providers\FoundationServiceProvider::class,
        Illuminate\Hashing\HashServiceProvider::class,
        Illuminate\Mail\MailServiceProvider::class,
        Illuminate\Notifications\NotificationServiceProvider::class,
        Illuminate\Pagination\PaginationServiceProvider::class,
        Illuminate\Pipeline\PipelineServiceProvider::class,
        Illuminate\Queue\QueueServiceProvider::class,
        Illuminate\Redis\RedisServiceProvider::class,
        Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
        Illuminate\Session\SessionServiceProvider::class,
        Illuminate\Translation\TranslationServiceProvider::class,
        Illuminate\Validation\ValidationServiceProvider::class,
        Illuminate\View\ViewServiceProvider::class,

        /*
         * Package Service Providers...
         */
         esha\Query\QueryServiceProvider::class,
           
        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\AuthServiceProvider::class,
        // App\Providers\BroadcastServiceProvider::class,
        App\Providers\EventServiceProvider::class,
        App\Providers\RouteServiceProvider::class,

        Maatwebsite\Excel\ExcelServiceProvider::class

    ],

Here is the Query Service Provider:

<?php

namespace packages\esha\Query\src;

use Illuminate\Support\ServiceProvider;

class QueryServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}

I did the composer update first, then the composer autoload before I put in the list in the app.php .

I am thoroughly out of ideas. Any one who can help me figure out what is wrong?

07 Sep
1 year ago

eshaparvathi left a reply on Namespacing Issues

Yep. that worked. all this namespacing is exhausting :)

eshaparvathi started a new conversation Namespacing Issues

Here is my file structure ? Root └? app └?Model └person.php

 └?Console
  └?commands
           └personcommand.php

here is my personcommand.php file ''' namespace donortech\Console\Commands;

use Illuminate\Console\Command; use donortech\app\models;

class personcommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'personcommand';

/**
 * The console command description.
 *
 * @var string
 */
protected $description = 'does xyz';

/**
 * Create a new command instance.
 *
 * @return void
 */
public function __construct()
{
    parent::__construct();
}

public function handle() { $this->info('testing123'); $personList = new person; $receiptCount = $personList->get()->count(); $this->info($receiptCount);

}

}

'''

Now, the error I keep getting is:

[Symfony\Component\Debug\Exception\FatalThrowableError] Class 'donortech\Console\Commands\person' not found

It doesn't seem to want to go up to app\models it keeps trying to find the person file under \console\commands

how do I fix it?

05 Sep
1 year ago

eshaparvathi left a reply on I Am Getting A [ReflectionException] When Trying To Create A New Command

thanks! I feel so so so dumb! Thank you so much!

eshaparvathi started a new conversation I Am Getting A [ReflectionException] When Trying To Create A New Command

I am trying to create a new command for php artisan. So, I created a command file like this: So under console->commands, here is my commandname.php file

<?php

namespace App\Console\Commands;


use Illuminate\Console\Command;

class Commandname extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'CommandName';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Researches donors for a given candidate';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
       $this->info('works');
    }
}

I also registered it under console->kernel.php

  protected $commands = [
        'Commands\Commandname::class',
        //
    ];

When I try running the command on the console, I get the following error: [ReflectionException] Class Commands\Commandname::class does not exist

I have already done a composer update and php artisan clear-compiled.

Any suggestions on why I am getting this error and what this error is?

eshaparvathi left a reply on Creating A New Command

I am entering a command on artisan. IT is not outputting anything. the terminal screen is suppressing all outputs from artisan.

eshaparvathi left a reply on Creating A New Command

Literally this:

ESHAs-MBP:donorapp2 ESHAMAC$ php artisan list ESHAs-MBP:donorapp2 ESHAMAC$

It doesn't list anything.

eshaparvathi started a new conversation Creating A New Command

I just created a new command and it's output seems suppressed in the terminal. I tried it with my custom commands and the outputs were suppressed. So then I tried it with php artisan list.

Any ideas on what is going on?

03 Sep
1 year ago

eshaparvathi left a reply on What Is Wrong With My Code

Thank you! I appreciate it. It worked. I learned OOP. I just forgot.

eshaparvathi started a new conversation What Is Wrong With My Code

I made a new controller... and I keep getting that line 13.. right after my class declaration has an error:

'''<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request; use App\donor; use App\receiptID;

class donorController extends Controller { //this runs donor queries and populates it. protected $donordb = new donor; protected $receiptsdb = new receiptID;

public function index(){
  return 'hello';

}

public function getContactDetailsbyID($donorid){
    $person = $donordb::find($donorid);

      return $person;
   // return view('viewname', compact('person'));
    //change the viewname to the name of the file you want to use.  
}

public function get_recieptsByDonorId($donorid){
    // make a new array called receipts.
    // then put the reciepts into the donor id.
    $reciepts = $person::find($donorid);

    return $reciepts;

}

public function DisplayDonorReceipts($donorid) { $receiptslist = get_recieptsByDonorId($donorid);

   return vew('viewname', compact('receiptslist'));
   // change viewname to the name of your actual view 

}

}'''

this is the error: (1/1) FatalErrorException Constant expression contains invalid operations in donorController.php (line 13)