Download the PHP package jasonmccallister/laravel-preset without Composer

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

Laravel Presets for Docker, PHPCS, and PHPUnit

Latest Version on Packagist Total Downloads

This preset will install and prompt you to install Laravel official packages like Horizon and Telescope. This also includes a Makefile for helpful commands for local development and continous integration.

The overall goal is to make it as easy as possible to ship a project with Laravel using Docker, CI/CD, and PHPUnit testing.

Docker

Taking years of experience shipping PHP applications (both Craft CMS and Laravel) with Docker, this is a combination of lessons learned in one package.

Installation

You can install the package via composer:

Usage

Follow the prompts on which database to use and what packages to include in the project.

Now all that is left is to run the following command:

Docker

Running the preset command (php artisan preset jasonmccallister) will prompt you on the type of database you are going to use on the project. This will setup the Dockerfile and docker-compose file with the correct database dependencies.

There is a .dockerignore that will exclude the vendor and node_modules from the Docker Build Context. This is included to improve the build times for Docker.

Dockerfile

The goal is to use the same Dockerfile for local development, CI/CD, and deploying a production image. By default only "production" OS packages are installed.

PHP Extensions like xdebug can be installed but are not enabled by default, there is a Makefile command for that!

docker-compose.yaml

To make development with Docker easier locally, we use the docker-compose.yaml to scaffold the creation of the database, queue, and redis instance. Docker Compose makes it really easy to spin all of your services up with one command.

There are a few things of note with this file:

Packages

The preset will prompt you to install some recommended first-party packages.

  1. Laravel Dusk
  2. Laravel Horizon
  3. Laravel Telescope
  4. Laravel Scout
  5. Laravel Socialite

Note: if you select to install Horizon, the preset will also prompt you to use the horizon command instead of queue:work. Again this is optional but recommended when using Horizon.

Makefile

The preset will also install a Makefile with a lot of helpful commands. Here is a list of available commands:

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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


All versions of laravel-preset with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^5.8
sixlive/dotenv-editor Version ^1.2
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 jasonmccallister/laravel-preset contains the following files

Loading the files please wait ....