Download the PHP package package-for-laravel/new-project without Composer

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

Package for Laravel New Project

Formerly Laravel Boot

My Laravel boot up framework that I use to scaffold projects.

To create a new project with this framework, run the following command:

composer create-project package-for-laravel/new-project $1

Where $1 is the folder name you'd like to install into.

Development Notes

You could technically use this project set up with something like Valet or create your own virtual machine setup. You'll also have to worry about having a compatible version of NPM on your system (which you could manage with nvm should you want to. This is optimized to use Docker, however. You can see the configuration in the docker-compose.yml file and the environment variable configurations in the .env file.

If you are using something like PHPStorm, you can configure it to use various Docker containers automatically by pointing it to the compose file. Otherwise, you can use the following useful scripts:

Different PHP Containers

There are two different PHP containers. The first is the base which could be used for a production-style deploy. But, it's basically the configuration without xdebug. The second is the php instance suffixed with -debug which indicates it has debug tools loaded in it full time (like xdebug currently). The regular instance is used to run unit tests. The debug instance is used for your development (so you can use debugging) and for html code coverage generation.

Configuration

All configuration options are defined in the .env file. You may change Docker settings there as well.

Unit Testing

Unit testing can be ran with composer test, bin/dev/composer test if using docker, or using bin/dev/test if you'd like to customize your parameters to the unit test run in docker. bin/dev/test is the recommended way (or using a PHPStorm integration).)

npm run test for Javascript tests, or bin/dev/npm run test inside of docker.

IDE Helper

composer ide-helper-update

Lines of Code Generation

composer phploc generates lines of code output in docs/phploc.txt

npm run jsloc generates lines of code output in docs/jsloc.txt

PHP Linting

composer php-lint will run PHPCS, PHP-Code-Sniffer (in Dry Run) and PHP Copy Paste Detector.

Deployment

There is a section of the composer file that has steps for deployment:

composer deploy will run Laravel config and route caching.

Laravel Boot Automated Functions

Credits

This package is created and maintained by Aaron Saray


All versions of new-project with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
fideloper/proxy Version ^4.1
laravel/framework Version ^6
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 package-for-laravel/new-project contains the following files

Loading the files please wait ...