stargatesg1

stargatesg1

Member Since 4 Years Ago

Experience Points
7,195
Total
Experience

2,805 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
18
Lessons
Completed
Best Reply Awards
0
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 2
7,195 XP
Jan
18
1 week ago
Activity icon

Replied to Laravel New Generates Errors

That fixed the problem thanks everybody for the help

Activity icon

Replied to Laravel New Generates Errors

After the updated I ran laravel new laraapp and still got the same errors

Activity icon

Replied to Laravel New Generates Errors

I did that and it said

www composer global update laravel/installer Changed current directory to /Users/kyoukhana/.composer Loading composer repositories with package information Updating dependencies (including require-dev)

Activity icon

Replied to Laravel New Generates Errors

That worked with no errors. So what is the problem

Jan
17
1 week ago
Activity icon

Started a new Conversation Laravel New Generates Errors

Getting the following error when I do the following. I have installed the latest composer and the latest laravel new as well.

laravel new laraapp

Here is the error I get in the console

Stack trace:
#0 /Users/kyoukhana/.composer/vendor/symfony/console/Command/Command.php(251): Laravel\Installer\Console\NewCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(886): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(Laravel\Installer\Console\NewCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(145): Symfony\Component\C in /Users/kyoukhana/.composer/vendor/laravel/installer/src/NewCommand.php on line 84

Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Process\Process::fromShellCommandline() in /Users/kyoukhana/.composer/vendor/laravel/installer/src/NewCommand.php:84
Stack trace:
#0 /Users/kyoukhana/.composer/vendor/symfony/console/Command/Command.php(251): Laravel\Installer\Console\NewCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(886): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(Laravel\Installer\Console\NewCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /Users/kyoukhana/.composer/vendor/symfony/console/Application.php(145): Symfony\Component\C in /Users/kyoukhana/.composer/vendor/laravel/installer/src/NewCommand.php on line 84
Sep
12
4 months ago
Activity icon

Replied to Updating Credit Card Laravel Cashier

That I know but I am confused as to where is the form I build to enter the credit card in. I just need to see a example with a from where the user enters the credit card

Sep
11
4 months ago
Activity icon

Started a new Conversation Updating Credit Card Laravel Cashier

I am still puzzled on how to update a credit card. The reason I haven't found a example form to do this.

Sep
09
4 months ago
Activity icon

Replied to Cors In Lumen 5.8

This is what I have so far

app\Http\Middleware\CorsMiddleware.php

<?php
namespace App\Http\Middleware;

use Closure;

class CorsMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $headers = [
            'Access-Control-Allow-Origin'      => '*',
            'Access-Control-Allow-Methods'     => 'POST, GET, OPTIONS, PUT, DELETE',
            'Access-Control-Allow-Credentials' => 'true',
            'Access-Control-Max-Age'           => '86400',
            'Access-Control-Allow-Headers'     => 'Content-Type, Authorization, X-Requested-With'
        ];

        if ($request->isMethod('OPTIONS'))
        {
            return response()->json('{"method":"OPTIONS"}', 200, $headers);
        }

        $response = $next($request);
        foreach($headers as $key => $value)
        {
            $response->header($key, $value);
        }

        return $response;
    }
}

In this file I have this

bootstrap/app.php

$app->middleware([
    App\Http\Middleware\CorsMiddleware::class
 ]);

I am not sure what I am missing

Sep
08
4 months ago
Activity icon

Started a new Conversation Cors In Lumen 5.8

I followed this tutorial but I an still getting CORS issues. Here is a link to the tutorial

https://www.codementor.io/chiemelachinedum/steps-to-enable-cors-on-a-lumen-api-backend-e5a0s1ecx

I am calling the following route via AJAX

Here is the Route

$router->post('/api/customer', '[email protected]');
Sep
06
4 months ago
Activity icon

Replied to Laravel Cashier Lumen

Correct vendor:publish its mostly the migration files we need right?

Activity icon

Started a new Conversation Laravel Cashier Lumen

I can install the library within lumen but when I run

php artisan vendor:publish --tag="cashier-migrations"

It doesn't work is there some alternative way to install Cashier for Lumen

Activity icon

Replied to Lumen New Generates Errors

But I didn't install composer using sudo. I did using brew.

Activity icon

Replied to Lumen New Generates Errors

this works with sudo. sudo lumen new myapp

Activity icon

Replied to Lumen New Generates Errors

I am using brew to install composer its all up to date :)

Activity icon

Replied to Lumen New Generates Errors

I did but I got this error

composer update laravel/lumen-installer Composer could not find a composer.json file in /Users/user To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

Activity icon

Replied to Lumen New Generates Errors

This happens when i am creating a brand new project by running lumen new

Sep
05
4 months ago
Activity icon

Started a new Conversation Lumen New Generates Errors

When running the following lumen new myapp it generates the following error

[ErrorException]
  copy(/Users/kev/.composer/cache/files/symfony/translation/75fd13ef
  af4faa967e42f12e2b942e2f14155a29.zip): failed to open stream: Permission
   denied