Resource controllers are amazing tool to work with CRUD functions in Laravel. But what if their default functionality isn’t 100% suitable and you want to override some defaults? Let’s see what you can do.
A quick tip for the case if you need to add additional GET parameters to your route URL, but don’t want to specify them in Routes file. Apparently, there’s a simple way.
Recently I became much more interested in automated testing – PHPUnit, TDD, Laravel Dusk, Travis and other keywords became “closer”,
A short list in “Did you know…?” style. Laravel has a convenient validation mechanism, but most of us only use simple rules like ‘required’, ’email’ or ‘date’. Actually, there are a few less-known but pretty interesting ones. Let’s have a look.
Laravel is full of little tricks, and quick ways to generate code with Artisan. One of the recent ones I’ve found is when you’re creating a CRUD record and need to create Model + Controller. You don’t need two separate commands for that.
Recently I’ve encountered a situation and want to share a quick solution with you guys. Laravel has quite an awesome feature of Mutators – you can define extra fields in your Eloquent models that are dynamically calculated. But orderBy doesn’t work with them, so what can we do?
Yesterday I’ve listened to a new Laravel Podcast episode with Taylor Otwell, Jeffrey Way and Matt Stauffer – and they (finally) talked about creating big apps with Laravel, lately this question is asked a lot by everyone. So is Laravel “fit” or “mature enough” for big projects? Since the podcast guys don’t provide a transcript, and listening to 50 minutes can be an overkill, I decided to write a summary, quoting the conversation and dividing the answers into more readable format like Q&A and bullet points, also relevant links.
Another interesting interview on our blog, at the same time presenting you a new tool – EyeWitness.io is a monitoring and application analytics tool, built specifically for Laravel. Today we’re talking with its founder Laurence – he shares the idea and why EyeWitness is different from other similar projects.