Hey guys, How do you structure your projects? Where to put the custom code? Helpers? Repositories? Services? DDD? It seems like a common question but no right answer. Among today's links there's a modular approach suggestion, also there's a lot to say about MVC, Design Patterns, Refactoring etc.
So here's a question for you: what if I write a long article (maybe even in e-book form), reviewing all different approaches I find in existing Laravel apps - open source, tutorial-based, our own apps etc. Would you read? Any exact questions I could write there in more details? Just reply to this email and let's discuss.
As for our team news, this week I wasn't active as I had a 7-days vacation (or, should I say, workation) on Crete (totally recommend this island for families with small children), so no new content, but meanwhile Laravel News published a big article on our Vue+Laravel generator, check it out below.
Finally, any one of you going to Laravel Live UK on 12th June? I will be there, come and say hi!
Did you know about laravel/ideas?
github.com
GitHub issues for discussing feature ideas for the Laravel framework. Already 200+ issues and 700+ closed! However, if you are proposing a new feature, you should be willing to code the feature if possible.
Why should you use Vue.js when using Laravel
blog.pusher.com
If you have used a recent Laravel version, you would notice it usually comes with Vue bundled in with other tools like bootstrap and jQuery. You would also notice in Laravel documentation that they gave a small introduction to using Vue components. Is this a sign that Laravel loves Vue?
Tidy up Your Tests with Class-Based Model Factories
tighten.co
As you begin writing automated tests, one of the first questions you will find yourself asking is "how do I make it clear what this test is accomplishing?" It is important for tests to have a natural and logical flow that any future developer can follow, but that is easier said than done.
Laravel Firebase Auth
medium.com
If you authenticate with Firebase in your app, authenticating with your API is very easy, as the Firebase token is a JWT. All we really need to is implement a Guard with a user function that returns an Authenticatable object.
Deploy a RESTful API using Laravel and Docker
dev.to
You can manage a RestFull API in the fastest, simplest and funniest way! and with open source code dependencies. However you can contribute for a better performance, the goal is to focus on the code avoiding the configurations and having docker installed.
Laravel 5.6 on Digital Ocean
dev.to
So I was trying to deploy a project on Digital Ocean (referral link) in which I used the Laravel 5.6 framework to get things started. Now all I wanted is to put up a simple "coming soon" page of some sort while we keep working on the application itself.
imanghafoori1/laravel-anypass
github.com
It is always painful to remember and type in the correct password in the login form while you are in development... It would be nice to be able to login with any password in local environment and only by changing the .env variables switch to real password checking.
Modular approach in Laravel Application
thewebfosters.com
Laravel is a great framework, not only because of the elegant syntax, rapid development tool but also because of the ecosystem & open source packages available for it. These packages help a lot to reduce the development time.
A Laravel Open Source Shopping Cart
www.avored.com
AvoRed is a free open-source e-commerce application development platform written in PHP based on Laravel. Its an ingenuous and modular e-commerce that is easily customizable according to your needs, with a modern responsive mobile friendly interface as default. Help us by giving a star on GitHub.
That's it for this week. See you next Thursday! Povilas Korop LaravelDaily Team
|