Code Monkey home page Code Monkey logo

laravel-lab's Introduction

Laravel Lab

This Project is no longer mantained!! Use Laravel-package-maker package to get the same functionality and more :)!

A default laravel app with a few commands with makes start developing with packages easier.

Purpose

Developing packages with laravel is easy, but the process of creating the project folders, initializing composer, readme contribution guide, ... You get the point. This Project serves as a testing environment when developing or adjusting packages, but also as a quick package stub generator. With one command you can create a new package with

  • Ready to use Composer file
  • License file (currently only MIT)
  • Contribution guidelines
  • Default travis config
  • Default phpunit.xml file
  • Service Provider

... and the package gets directly pulled in via composer repositories.

php artisan make:package

make:package command

Install

git clone [email protected]:Naoray/laravel-lab.git
cd laravel-lab && composer install
cp .env.example .env
php artisan key:generate

Usage

Creating a new package

To see all arguments/options available for make:package just type php artisan package:make -h

php artisan make:package

make:package command

Adding a package

php artisan package:add

package:add command

Resetting Lab

Useful if you want to work on a complete different project.

Careful: This command resets your lab to the last state of the master branch

php artisan app:reset

ToDo

  • add tests

Contributing

Please see CONTRIBUTING for details.

Security

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

License

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

laravel-lab's People

Contributors

dczajkowski avatar naoray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-lab's Issues

Pulling local packages

Hello,
I have a package for Laravel downloaded locally from GitHub. Now I would like to make changes to it locally, see does it work and then push it to the original repo. How would one go about doing this? Can you give an example?

I have tried using this:

php artisan package:add DCzajkowski/auth-tests /Users/Darek/web/packages/auth-tests

But that just creates an entry in the composer.json like so:

"repositories": {
    "DCzajkowski/auth-tests": {
        "type": "path",
        "url": "/Users/Darek/web/packages/auth-tests"
    }
}

which fails, obviously. Can you even do that with this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.