Giter Site home page Giter Site logo

Laracasts's Projects

phpspec-laravel-and-refactoring icon phpspec-laravel-and-refactoring

Any confusion that surrounds PHPSpec likely stems from a misunderstanding of what the framework is for. There are multiple styles and forms of testing; PHPSpec is not meant to fill all of those checkboxes. Let's talk about that in this lesson, while using BDD to build a class within a Laravel app.

phpspec-rocks icon phpspec-rocks

PHPSpec is the best test framework that you likely haven't used. That just might change after watching this video, though. It's excellent!

pusher-lesson icon pusher-lesson

So you run a forum, and need some way to notify readers, if new replies have been left on a thread since their last page load. Well, how the heck do we do that? How do we say, "If a new reply is saved to the server, instantly update all viewers who might be reading the associated forum thread"? Well, Pusher can make these sorts of tasks a cinch! You'll love it.

reusable-repositories icon reusable-repositories

So you're using repositories, but have found the process of constantly reimplementing common methods to be cumbersome?

sanitizers-and-phpspec icon sanitizers-and-phpspec

Many applications will require some level of sanitization. With that in mind, as a learning experience, why don't we use TDD (using PHPSpec) to implement this functionality from scratch.

small-objects-are-a-good-thing-and-other-refactoring-lessons icon small-objects-are-a-good-thing-and-other-refactoring-lessons

How many times have you written (or come across) a controller method that's dozens of lines long. Surely, there are better ways to structure our code, right? Of course. In this lesson, let's learn about everything from security, to small objects, to events.

teamsy icon teamsy

A sample multi-tenant application for Laravel using a single database. Watch the Laracasts series to see how this was built.

testdummy icon testdummy

Easy factories for PHP integration testing.

testing-with-virtual-file-systems icon testing-with-virtual-file-systems

You may one day find yourself in need of a way to test against a file system, without resorting to mocks or actually creating and deleting real files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.