sicsol

sicsol

Member Since 4 Years Ago

Experience Points 34,660
Experience Level 7

340 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 459
Lessons
Completed
Best Reply Awards 1
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.

25 Aug
6 months ago

sicsol left a reply on Hidden Input

You do realize this question was about Nova. They don’t allow you to change the input type when using resources.

24 Aug
6 months ago

sicsol left a reply on Hidden Input

I’m aware of display:none just seems like a hack vs using a simple input type hidden.

sicsol started a new conversation Hidden Input

Has anyone figured out how to add a static hidden input in Nova

11 Aug
1 year ago

sicsol started a new conversation Multiple Domains Same Code Base

I've looked around for an answer and can't seem to find it. I'd like to use the same code base/repo for multiple domain names. What is the best way to achieve this using Forge?

Adding multiple sites and linking to the same repo seems like overkill because if I setup auto deploy then i can potentially have X number of simultaneous requests and that can potentially kill the servers CPU usage.

Is there a better way to get around this?

My original thought was to setup a default site with the repository and just simply add multiple domains to the server without any repositories associated with them. I'm going to assume they will all use the default code base for serving the sites?

Am I safe to assume this and is this the proper direction to go or is there a better way. I've setup the code base to handle dynamic domains now I just need to figure out the setup.

My end goal is to use the Forge API to automate some of these tasks.

Thanks

19 Sep
2 years ago

sicsol left a reply on Subdomain + CNAME Routing

@Oyed did you ever get this worked out? I'm running into the same situation.

24 Aug
2 years ago

sicsol left a reply on [Laravel 5.3] Change /login Auth Redirection

@bmonteiro check the Exceptions > Handler.php file

/**
     * Convert an authentication exception into an unauthenticated response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Auth\AuthenticationException  $exception
     * @return \Illuminate\Http\Response
     */
    protected function unauthenticated($request, AuthenticationException $exception)
    {
        if ($request->expectsJson()) {
            return response()->json(['error' => 'Unauthenticated.'], 401);
        }

        // return redirect()->guest('login');
        return redirect(env('APP_URL').'/login');
    }

sicsol started a new conversation Migrate Rollback Using --path

I'm trying to rollback a migration that I inserted using the --path parameter.

When trying to rollback I get

[ErrorException]                                          
  Undefined index: 2016_08_24_200946_create_contacts_table

I've included the path in my composer.json file under the autoload classmap setting. The folder exists under the database directory already.

Any help would be appreciated.

FYI using 5.3.1

23 Aug
2 years ago

sicsol left a reply on Laravel 5.3 Artisan

Thanks guys glad I'm not going insane. Lol

sicsol left a reply on Can I Use Laravel 5.3 Passport As General Auth For A SPA To Laravel API?

@jackbarham

After login you can perform something similar to get an access token for the user

$user = App\User::find(1);

// Creating a token without scopes...
$token = $user->createToken('Token Name')->accessToken;

return $token;

Just be aware you'll be creating a new token each time. You may want to look into something to get an existing token based on device or add a scheduler to delete tokens etc. Again all this is if you want to use the Passport package.

Documentation on personal access tokens

https://laravel.com/docs/5.3/passport#personal-access-tokens

sicsol left a reply on Laravel 5.3 Artisan

Here is a sample code I used in web.php file

Route::get('/', function () { $exitCode = \Artisan::call('migrate'); });

sicsol left a reply on Can I Use Laravel 5.3 Passport As General Auth For A SPA To Laravel API?

You can request a personal access token at login and use that for all your api calls

sicsol left a reply on Laravel 5.3 Artisan

@Jaytee mine works in tinker as well. I'm trying to run the code from a controller or route and get no response.

sicsol left a reply on Laravel 5.3 Artisan

@bobbybouwmann The main one is Artisan::call("migrate"). I even tried Artisan::call("inspire") and still get the same thing.

i'm using homestead

sicsol started a new conversation Laravel 5.3

I'm not sure what might have changed but i can't seem to call Artisan::call(XXX) in the new 5.3 version. If i add it to a route, controller, job, etc it just craps out without any error.

I just get the following page

The laravel53.dev page isn’t working