Static Constructors in PHP
– liamhammett.com - submitted by Liam Hammett
“Static constructors” are a concept a lot of object-oriented programming languages support - although, unfortunately, PHP does not.
Read more [liamhammett.com]
– liamhammett.com - submitted by Liam Hammett
“Static constructors” are a concept a lot of object-oriented programming languages support - although, unfortunately, PHP does not.
Read more [liamhammett.com]
– github.com - submitted by codedge
Update your Laravel application from any Git repository without dealing with Composer.
Read more [github.com]
– samuelstancl.me - submitted by Samuel Štancl
A tutorial on how to configure push deploys for Laravel apps using GitHub Actions, for free. Asset compilation on the server, no race conditions with code & DB schema being out of sync. Application is `down` for as short time as possible. Useful if you can configure webservers and don't want to pay for some service just to get push deploys.
Read more [samuelstancl.me]
– www.phpmentors.com - submitted by Flávio Augusto da Silveira
PHP Mentors Book is a set of questions with topics that can help a lot of developers out there (Not just PHP). Answers from PHP masters around the world for your questions. Code, Career, Team work, Working environment, Logs, Tests, Future and much more.
Read more [www.phpmentors.com]
– stitcher.io - submitted by Brent
In this two-part series, my colleague Freek and I will discuss the architecture of a project we're working on.
Read more [stitcher.io]
– ryangjchandler.co.uk - submitted by Ryan Chandler
If you don't need a reactive UI, Alpine.js might still find it's place in your tech stack.
Read more [ryangjchandler.co.uk]
– timacdonald.me - submitted by Tim Mac
String concatenation is the current way we can pass arguments to Laravel middleware - but what if there was another way
Read more [timacdonald.me]
– github.com - submitted by Gustavo Ocanto
Relay is a data transfer objects structure that allows you to consume third party API payloads and parse them into their proper type object throughout a promotion mapper to ensure given incoming data abides by its expected type.
Read more [github.com]
– github.com - submitted by Peter Steenbergen
A small package to leverage the TransIP Rest api package through this little wrapper.
Read more [github.com]
– www.codedge.de - submitted by codedge
Running a PHP application on AWS Fargate with Github Actions for deployment with Laraval as an example application. Ready-to-use scripts are provided in a Github repository.
Read more [www.codedge.de]
– github.com - submitted by belamov
[belamov/postgres-range](https://github.com/belamov/postgres-range) package provides suport of PostgreSQL's range types in your Laravel 7+ applications.
Read more [github.com]
– www.csrhymes.com - submitted by Chris Rhymes
How to test Laravel validation rules to help you debug your application easier
Read more [www.csrhymes.com]
– sarfas.codes - submitted by Oliver Sarfas
Route Model Binding in Laravel is incredibly powerful, and a key skill in any PHP Developer's set. You can quickly build dynamic routes and pull data from the database with some simple type hints.
Read more [sarfas.codes]
– github.com - submitted by Lupacescu Eduard
This is a lightweight package which allow you to manage a session in a stateless communication (REST/API) when the API domain and main web application domain are different.
Read more [github.com]
– driesvints.com - submitted by Dries Vints
In light of the discussion of last Friday I wrote a more longer piece on why I use Single Action Controllers and think that they are a thing of beauty.
Read more [driesvints.com]
– github.com - submitted by Luis Dalmolin
This package gives some love to our joins when using Eloquent.
Read more [github.com]
– php.watch - submitted by Ayesh
A new handy function, `str_contains` is coming soon with PHP 8.0 to help replace those clunky `strpos()` calls.
Read more [php.watch]
– driesvints.com - submitted by Dries Vints
I wrote a short piece about some of the different ways you could take to test Laravel Cashier.
Read more [driesvints.com]
– github.com - submitted by Alexandr Chernyaev
This open project aims to provide the ability to easily implement the JSON-RPC 2.0 server specification for the Laravel.
Read more [github.com]
– medium.com - submitted by Pavol Perdik
In this article we are talking about the native PostgreSQL type daterange and how to easily use it in Laravel.
Read more [medium.com]