![]() With Pluto reaching the last degrees of Capricorn, we’ve hit the ceiling. They have unearthed issues around authority, government, business, laws and regulations, leadership integrity, and the ‘establishment.’ We can’t continue managing people and resources the way we have been. The current Pluto in Capricorn years have confronted us with the rising influence of corporate monopolies, dictatorial leaders, economic crises, and the regression of human rights. And any corruption or toxicity impacting the greater good will be exposed, so we can remove it and redirect our collective energy. It means that majority decisions and community needs rise above individual concerns and desires. Some people are calling this transit “power to the people,” but that doesn’t mean everyone gets what they want. The Industrial and French Revolutions occurred during that time, and the American Constitution (“We the people”) was written. The last time Pluto was in Aquarius was 1778-1798. Together, Pluto and Aquarius encourage us to: In the body, Aquarius rules the circulatory system - sharing and distributing energy and information.Inspires us to be original, unconventional, and future-thinking humanitarians.Brings progress and innovation in the community, new technology, and individualism.Represents the power of nature, including death, rebirth, and regeneration.Īquarius is the sign of liberation, innovation, and change.Brings evolution and the realignment of power and collective will.Encourages the elimination of anything preventing growth, whether it be toxins in your body or the environment or corruption on a societal level.Pluto is the planet of transformation and global change. ![]() During its retrograde, Pluto will dip back into Capricorn on June 11, 2023, then return to Aquarius on January 20, 2024, where it will stay for 20 years. We also look forward to new ideas and developments in science and technology. When Pluto is in Aquarius, we can expect a redistribution of power - from a top-down to a bottom-up approach. Aquarius is a sign of change and innovation, aligning well with Pluto’s intentions. Pluto is about power, transformation, regeneration, and eliminating anything that prevents growth. I mentioned this in Laravel by the Numbers, but there are ways to hook in the various behavior Laravel provides.įor example, if you have additional authentication behavior you want to perform or to change the response, instead of overriding the sendLoginResponse() method provided by the AuthenticatesUser trait, Laravel provides a hook through the authenticated() method.Welcome to the biggest paradigm shift of 2023! When Pluto changes signs (on average once every 20 years), our lives and society shift significantly. Something else common in applications which creates a headache when upgrading is overwriting core behavior. It also supports collections of models if you'd like to format those responses differently. You pass this resource object your model and can return it directly to Laravel. Within this class you map and format your model attributes for output as well as specify any header values you might want on the response. ![]() However, Laravel provides some built-in ways to do so.įor example, you may create a Resource object. Shift analytics confirm packages like Fractal are among the most popular. Similar to managing responses, formatting responses is something frequently performed in applications. Then allow the code to bubble up the exception and let the framework handle it was still performing the same behavior. This means you can move the exception response code within this method. Instead you can define a render() method on this custom exception and Laravel will automatically call it. We can remove the need for this by leveraging the framework and custom exceptions. Maybe there's also a bit flag called active I want to cast to a boolean. I may want to cast the foreign key to an integer. We can cast additional attributes as well.įor example, take a Setting model which belongs to a User. You may do so with the $casts property.īy default the created_at an updated_at attributes are cast to Carbon objects. Laravel provides a way to force a particular data type for model attributes. So I combined them by using analytics from Shift to identify underutilized features of Laravel and demonstrate them with code.Īs Laravel is an MVC framework, I'll start with model features and progress to views and controllers. I received a lot of valuable feedback from these talks. It was influenced by my talk from last year's Laracon - Laravel by the Numbers - and my talk at Laracon Online - 10 practices for writing less complex, more readable code. The talk title is a nod to Shift and not a pun for shitty bits. This post is a write-up my talk at Laracon US 2019 - Some Shifty Bits.
0 Comments
Leave a Reply. |