Download the PHP package alnutile/inertia-crud without Composer

On this page you can find all versions of the php package alnutile/inertia-crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package inertia-crud

Help with some basic CRUD and UI using Inertia, Tailwind

run-tests Latest Version on Packagist

This assumes you are using JetStream and will assume those components are there

Thanks to https://github.com/spatie/package-skeleton-laravel

TL;DR

I got sick of making the same thing over and over on projects, so I made a command to output my stub files, so I can with one command have all the Inertia CRUD files needed. (DELETE is coming soon)

Yes I know there are others out there, but I wanted one that fit my current workflow.

All you need to do is run the command:

And it will do the rest.

Yes I ask for the Model name capitalized and plural, so I do not have to code that logic.

Then you will have these files made:

And the routes will have:

Overview

This will put some simple ready to go CRUD files into place, for Inertia.

For example an Index page:

PHP Faker generated data in example btw

I just need to do is line up the fields and columns in the Index.vue file.

Then when someone pressed Add I need that page as well.

You will see this has a select list. This shows a component I include, based on JetStream that makes that easy as well.

The controller includes a test 🎉

All these routes will be made as well, also including testse:

This package assumes this layout.

On that note it assumes:

Some components come from JetStream, like almost all!

You may have to fix the import AppLayout from '@/Layouts/AppLayout.vue'; in the files I will make that a config option later.

TODO

Installation

You can install the package via composer:

Usage

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.**


All versions of inertia-crud with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^9.0|^10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alnutile/inertia-crud contains the following files

Loading the files please wait ....