Repository navigation
Laravel Truss v1.15: Truss without Laravel #93
Pinned
albertoarena
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Truss now runs without Laravel. The
trussbinary reads a database straight from a connection string, so there is no application, no project and nocomposer require. It is for Symfony, WordPress and plain PHP codebases, for CI, and for the database somebody just handed you.It has four commands:
show,export(all seven formats, including the ER diagram (ERD) as one HTML file),doctoranddiff. They give the same answers as the artisan commands, because both use the same code.Nothing changes in your Laravel app. The binary is a separate way in, and
composer require albertoarena/laravel-trussbrings nothing new.Staging against production
truss diffcompares two live databases, so "what is different between staging and production right now" is one command. v1.15.1 fixed it for MySQL against MariaDB: the two servers write the same column in different ways, and on a stock WordPress schema that showed about 70 changes that were not real. Now it compares what a column means.The commands page has a CI example.
Since v1.14
v1.14.1 fixed the HTML export for a schema whose names or defaults contain
</script>. If you exported HTML with v1.14.0, upgrade and export again.Upgrading
composer update albertoarena/laravel-trussfor the package,brew upgrade trussfor the binary. The Homebrew tap now follows every release.Install guide · Full notes: v1.15.0, v1.15.1
Structure only, never data.
All reactions