Download the PHP package iamdadmin/yaeslpt without Composer

On this page you can find all versions of the php package iamdadmin/yaeslpt. 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 yaeslpt

YAESLPT (pronounced: YAY-SLIPPED): Yet Another Extension for Spatie Laravel-Package-Tools

Latest Version on Packagist Tests Total Downloads

This package contains extensions for Spatie's excellent Laravel-Package-Tools. It extends that package's PackageServiceProvider with a couple of features I deemed important for me, but Spatie had previously elected not to include, having checked their repository discussions!

Here's an example of how it can be used; it's essentially a drop-in replacement for Laravel-Package-Tools, with some extra options on $package.

Under the hood it will do the necessary work to register the necessary things and make all sorts of files publishable.

Getting started

I would suggest using our package-skeleton repo to start your package. This is also a fork of the upstream Spatie template, and will boilerplate everything you need.

Extensions included in this package

Trait: HasModels

To Publish one or more Models, in the package root create the folder "app" and then "Models" inside it. Follow the Laravel case naming conventions.

Inside that folder place your model.php file.

Example 1. Assume a default model name, based on 'your-package-name'. At this point it is case SENSITIVE and assumes lowercase, but will publish in Str::studly format to align with conventions.

Example 2. Provide a custom model name. This is case SENSITIVE and will assume whatever case you provide, but will publish in Str::studly format to align with conventions.

Example 3. Provide multiple models. Again, this is case SENSITIVE, but will publish in Str::studly format to align with conventions. You will need to pass all models including the default one if you're using it.

Using this method will make the model(s) publishable. Users of your package will be able to publish with the following command.

Trait: HasSeeders

To Publish one or more Models, in the package root create the folder "app" and then "Models" inside it. Follow the Laravel case naming conventions.

Inside that folder place your model.php file.

Example 1. Assume a default model name, based on 'your-package-name'. At this point it is case SENSITIVE and assumes lowercase, but will publish in Str::studly format to align with conventions.

Example 2. Provide a custom model name. This is case SENSITIVE and will assume whatever case you provide, but will publish in Str::studly format to align with conventions.

Example 3. Provide multiple models. Again, this is case SENSITIVE, but will publish in Str::studly format to align with conventions. You will need to pass all models including the default one if you're using it.

Using this method will make the model(s) publishable. Users of your package will be able to publish with the following command.

Future extensions

I expect I will add more extensions in the future as I run into them and need to add them.

YAESLPT Governance

Testing

License

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

Have more questions?

If you are here, you know what this is and why you might need it. There's no additional instructions required on top of the excellent and widely available online learning for Spatie Laravel-Package-Tools, where I suggest you start.

If you have any problems with getting your Seeders or Models published though, please open an issue.

Support Spatie's excellent work if you like these extensions

Spatie and co invest a lot of resources into creating best in class open source packages. You can support them by buying one of our paid products.

Spatie and co highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find their address on our contact page. They publish all received postcards on our virtual postcard wall.


All versions of yaeslpt with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
spatie/laravel-package-tools Version 1.19.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 iamdadmin/yaeslpt contains the following files

Loading the files please wait ....