Masonite Entry is a remarkably simple but remarkably powerful API integration for the Masonite framework. This package is an official package for Masonite and maintained by the core developers.
Nearly every project can benefit from an API integration one way or another so we added an official package that isn't currently out of the box but works extremely well for Masonite 1.5+
Masonite 2.0 +
Craft command tool
pip install masonite-cli
Installing Masonite Entry is extremely simple. The package is already installed for you but you'll need to add the Service Provider properly to your
from entry.providers.ApiProvider import ApiProvider...PROVIDERS = [...RouteProvider,ApiProvider,...]
This Service Provider will add new commands to our craft command tool. If we run:
We should see our new commands:
...entryentry:install Installs needed controllers and routes into a Masonite projectentry:resource Creates a new API resource...
Now you're all set!