graham

graham

Member Since 5 Years Ago

Experience Points 44,445
Experience Level 9

555 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 352
Lessons
Completed
Best Reply Awards 16
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.

17 May
3 years ago

graham left a reply on Can "CanJoinTeams" Be A Feature That Depends On A User's Choosen Plan

@EventFellows if I recall there's other feature you would need to bypass to enable your approach to work. There's a few threads discussing alternative approaches.

graham left a reply on Can "CanJoinTeams" Be A Feature That Depends On A User's Choosen Plan

With the current version of Spark, out of the box it's an all or nothing option. You use teams or you don't.

I think the idea of making teams plan specific could cover a lot more use scenarios that the current arrangement.

07 May
3 years ago

graham left a reply on How To Change Spark Variables (e.g. Spark::company())

Is that one of the old beta versions of Spark because I can't see that block of code in the new version.

In the current version:

/app/Providers/SparkServiceProvider.php:

   14       */
   15      protected $details = [
   16:         'vendor' => 'Your Company',
   17          'product' => 'Your Product',
   18          'street' => 'PO Box 111',
04 May
3 years ago

graham left a reply on Socket.io With SSL

Take a look at this post, looks like a similar issue: https://laracasts.com/discuss/channels/laravel/redissocketio-event-issues

03 May
3 years ago

graham left a reply on Visual Database Designer

+1 for http://laravelsd.com

The second one mentioned by @davestewart looks like it hasn't been touched since L4.

29 Apr
3 years ago

graham left a reply on How Long Will Laracast Provide Useless Transfer Rates?

@Weogrim Laracasts uses Vimeo for video delivery

graham left a reply on Bye Bye Windows... Hm, Now What?

@jlrdw Parallels allows you to continue to run those dodgy windows only apps when you upgrade to a Mac ;-)

It basically allows you to run Windows as a VM, in its own window or in coherence mode where each windows app is presented as a standard mac window.

graham left a reply on How Long Will Laracast Provide Useless Transfer Rates?

@weogrim it's been said previously. Some ISPs deliberately throttle video streaming services. It's not Laracasts making things slow.

17 Apr
3 years ago

graham left a reply on Laravel Spark

@Francesco read this page: https://spark.laravel.com/docs/1.0/billing#configuring-billing-plans particularly the Constraining Access To Plans section.

15 Apr
3 years ago

graham left a reply on Laravel Spark

@MehmetNuri you misunderstand the meaning of open source.

Opensource != free

graham left a reply on Laravel Spark

@MehmetNuri because the person that writes it has to eat, support their family, make a living.

graham left a reply on Laravel Spark

@Francesco most of the text is contained in the blade templates. I can't see anything that would prevent you using the standard Laravel localization: https://laravel.com/docs/5.2/localization

graham left a reply on Laravel Spark

@Francesco Nope, can't find the reference anywhere (I think it was asked and answered in a tweet to Taylor).

Looking at the source, there is a spark/resources/lang/en/validation.php file with a single entry.

graham left a reply on Laravel Spark

I vaguely recall reading the initial version is not multilingual. Let me see if I can find the source for that.

graham left a reply on Laravel Spark

@xirkus All I can tell you so far is it appears to install fairly painlessly :-)

It's early Friday evening, the Mrs has a work event tonight and I've just filled the coffee machine with fresh beans. I'll keep you posted :D

graham left a reply on Laravel Spark

Installed :)

Happy Spark day everyone.

14 Apr
3 years ago

graham left a reply on Laravel Spark

And we have documentation:

https://spark.laravel.com/docs/1.0/installation

I didn't need to sleep tonight anyway, thanks Taylor ;-)

graham left a reply on Best Way To Schedule Something

Who do you think the authenticated user would be when you're running a scheduled task at midnight?

Are you talking about the campaign user?

graham left a reply on Best Way To Schedule Something

Don't you need to send the emails to the task owner or task assignee not the (non-existent in the context) authenticated user.

13 Apr
3 years ago

graham left a reply on Laravel Spark

Can't wait to get our hands on it. We've been working on a project for 2 months deliberately avoiding users/billing/teams so we can hopefully drop much of the functionality directly into a clean spark build.

Bring it on :)

graham left a reply on Laravel Spark

Any thoughts on the first 2 Spark laracasts?

05 Apr
3 years ago

graham left a reply on Laravel Spark

Spark is scheduled to release on April 19th at 10am CDT

https://twitter.com/taylorotwell/status/717355434756038656

04 Apr
3 years ago

graham left a reply on Laravel Spark

Launch date to be announced tomorrow.

28 Mar
3 years ago

graham left a reply on Laravel Spark

Tweet from Taylor, rumoured to be Spark day:

1460499273

Converted from epoch that gives us Tue, 12 Apr 2016 22:14:33 GMT

Follow up tweet from Taylor, any guesses what it means?

4 b4 the views.

24 Mar
3 years ago

graham left a reply on Laravel Spark

@jekinney I took that to mean 'coding is done'.

(at least I hope that's what he meant)

graham left a reply on Laravel Spark

Tweet from Taylor in the last few minutes:

Stick a fork in Spark... #Done. Gotta just finish up documentation now.

https://twitter.com/taylorotwell/status/713040931541225472

09 Mar
3 years ago

graham left a reply on Cartalyst Platform Still Maintained?

@londoh

short version:

  • Cartalyst isn't actually dead
  • @cbj4074 is now community liaison
  • Cartalyst is awesome, ra ra Catalyst
  • expect more updates.....

Cartalyst always struck me as a company that produces some decent packages but they haven't the foggiest idea how to market them, their own tagline reinforces that opinion:

"You wont find fancy lifestyle graphics and marketing bravado here. Just cold... hard... code...".

Never a truer word said. It's almost like they're trying to hide what the packages actually do, how you can use them, what you can build with them, what benefits they offer. They just create packages, lob them onto their website and onto the next one.

I'm not entirely convinced that adding another techy to the team is the solution but you never know. Best of luck @cbj4074

08 Mar
3 years ago

graham left a reply on Shared Server OR Dedicated Server

It can work but it's a pain in the ass. Personally I wouldn't bother with a shared server when you can get a virtual dedicated server from somewhere like DigitalOcean for $5 a month.

There's been a pile of posts about shared hosting that might help: https://laracasts.com/search?q=shared+server&q-where=lessons

08 Feb
3 years ago

graham left a reply on Had Some Basic Questions About Being A PhP Dev

Working Nomads is worth a look for remote jobs:

http://www.workingnomads.co/jobs

21 Jan
3 years ago

graham left a reply on Where Can I Find The Validation Plug-in That Laracasts.com Is Using?

I think you're talking about the Google's reCaptcha.

There's a complete video here:

https://laracasts.com/lessons/prevent-spam-with-recaptcha

06 Jan
3 years ago

graham left a reply on Looking For Potential Book Reviewers

I'd be willing to give your book a read.

23 Dec
3 years ago

graham left a reply on Start A New Project, Should I Start With 5.1 Or 5.2

@shiroamada the usual point of an LTS release is it doesn't change other than for security/bug fixes, there are no functional changes.

22 Dec
3 years ago

graham left a reply on Start A New Project, Should I Start With 5.1 Or 5.2

@ehtasham I'm not sure why anyone would start a new project in Laravel 5?

For my own project I'd use 5.2, for client projects I may think about 5.1 LTS.

21 Dec
3 years ago

graham left a reply on Pusher Server Logic In Laravel

Rather than have an external source write to the database directly, you could create a small API in Laravel for the external source to use for submitting updates. That way Larvel can be aware each time an update is submitted rather than having to constantly poll your database for new records.

Another alternative is to use MySQL triggers to call a url in your Laravel app each time a record is inserted but that's not something I'm familiar with and it's apparently a really, really bad practice!

29 Nov
3 years ago

graham left a reply on [New To Laravel] - Deploying Developments

Do yourself a huge favour and test Laravel Forge with an inexpensive cloud provider like Digital Ocean. You will never want to go near shared hosting ever again.

You can use the same server for multiple projects (or control multiple servers), deployment is laughably easy and you will save hours upon hours against trying to mangle Laravel into multiple shared providers.

25 Nov
3 years ago

graham left a reply on Application Builder Based On Laravel

Fantastic looking product @jobnomade

Is the resulting code editable as normal Laravel or are your users limited to making all changes via your front-end?

Can saas.do accommodate custom code/APIs?

15 Oct
3 years ago

graham left a reply on Support For Laravel On Sparc Solaris

The server requirements are listed here: http://laravel.com/docs/5.1

  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
05 Aug
4 years ago

graham left a reply on Package Bootstrap Form Builder

@chadreid1024 why on earth would someone developing their own laravel app consider paying someone else to host their forms?

Did you miss the entire subject of the site? Did I miss something, are you just spamming?

30 Jul
4 years ago

graham left a reply on Step By Step Guide To Installing Socket.io And Broadcasting Events With Laravel 5.1

@ctaljaardt does it work if you temporarily disable the firewall in your Vesta control panel?

16 Jul
4 years ago

graham left a reply on Step By Step Guide To Installing Socket.io And Broadcasting Events With Laravel 5.1

@mstnorris works really well on Forge as others have mentioned.

For the benefit of anyone else trying to set this up on Forge:

Don't forget to open a port on the Firewall (Forge -> Server Details -> Network).

Add 2 new Daemons to your Forge server. For me they were:

redis-server --port 3001

node /home/forge/yourdomain.com/socket.js

14 Jul
4 years ago

graham left a reply on Step By Step Guide To Installing Socket.io And Broadcasting Events With Laravel 5.1

@webofink that's exactly what I was working out. Here's how I did it in the end:

The Route:

Route::get('fire/{msg}', function ($msg) {
    // this fires the event
    event(new App\Events\EventName($msg));
    return "new event fired";
});

EventName.php

<?php namespace App\Events;

use App\Events\Event;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Queue\SerializesModels;

class EventName extends Event implements ShouldBroadcast
{
    use SerializesModels;

    public $data;

    public function __construct($msg)
    {
        $this->data = array(
            'msg'=> $msg
        );
    }

    public function broadcastOn()
    {
        return ['test-channel'];
    }
}

test.blade.php

@extends('layouts.master')

@section('content')
    <p id="msg">0</p>
@stop

@section('footer')
    <script src="{{ asset('js/socket.io.js') }}"></script>
    <script>
        //var socket = io('http://localhost:3000');
        var socket = io('http://192.168.10.10:3000');
        socket.on("test-channel:App\\Events\\EventName", function(message){
            // increase the msg everytime we load test route
            $('#msg').text(message.data.msg);
        });
    </script>
    <script src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
@stop
07 Jul
4 years ago

graham started a new conversation Gift Laracasts Subscriptions

@JeffreyWay There's been a couple of occasions where it would have been nice to be able to gift someone a Laracast subscription for a few months.

What are the chances Jeffrey, an option to send another member X months of Laracasts membership?

06 Jul
4 years ago

graham left a reply on Make All Laravel Tutorial Free And Accept Donation

@ian_h the OP appears to be located in Dar es salaam. It would be interesting to find out what $9 per month represents in Tanzania.

01 Jul
4 years ago

graham left a reply on Laravel Is A Giant Waste Of Time

@lancebutler2 Here's the right answer:

If the OP had spent $9 on a subscription to Laracasts he would have saved himself a wasted day and would also now have a clue how to use Laravel.

14 Jun
4 years ago

graham left a reply on Fix For Vagrant/Homestead - El Capitan

@olimorris no problems with it apart from homestead failing to start because of the Vagrant issue.

The only real difference I'm seeing so far is a performance boost, especially on Safari.

graham started a new conversation Fix For Vagrant/Homestead - El Capitan

It looks like the Beta of OS X (El Capitan) breaks Vagrant.

It's reported that this is because /usr/bin is no longer writeable and anything that was previously installed there (e.g. Vagrant) is removed.

This is the fix that worked for me:

sudo ln -s /opt/vagrant/bin/vagrant /usr/local/bin/vagrant

Hat tip to pointless ramblings: http://pointlessramblings.com/posts/El_Capitan/

graham left a reply on Broken Newcomer Documentation :(

@dgtlmoon agreed, good documentation is everything. The new documentation is fantastic. It's just a shame you got distracted by the old versions for a while, I can see how that would have confused you.

graham left a reply on Broken Newcomer Documentation :(

It probably wouldn't hurt to highlight that the older documentation is not the latest version. I'm not sure I'd land on an unrelated site and start describing it as a bug though. A bug is something entirely different.

graham left a reply on Broken Newcomer Documentation :(

@dgtlmoon you would have realised the quickstart is an archived/legacy document is you'd started at the beginning.

graham left a reply on Broken Newcomer Documentation :(

@dgtlmoon you can't really describe it as a bug. If you pick up a book do you open it in the middle and start reading or do you take a look at the cover first.

http://laravel.com <- that's the cover