Migrator is a GUI migration manager for Laravel which you can create, manage and delete your migration.

Related tags

Laravel migrator
Overview

Migrator

Migrator is a GUI migration manager for Laravel which you can create, manage and delete your migration.

Migrator photo

Installation:

To install Migrator you can execute this command:

composer require rezaamini-ir/migrator

Then you will access to /migrator route.

Config

To access config file you need to publish config files to your project with this command:

php artisan vendor:publish --tag=migrator-config

Now you will be able to change config as you want!

To change the route path you can change the route key in migrator config.

And, with middleware key you can set your middleware to authenticate your user.

If you don't need to authenticate users to access migrator you can set the value to web.

Comments
  • Undefined array

    Undefined array

    Issue trying to install for the first time. Composer worked without a hitch. Visiting the /migrator route seemed to fail instantly with the following.

    Error:

    ErrorException Undefined array key 1 (View: [redacted]\vendor\rezaaminiir\migrator\resources\views\livewire\migration\read.blade.php)

    Code on line: https://github.com/rezaamini-ir/migrator/blob/d30d29602cf7bb4f0e642118c800dbd33d3ba093/src/Service/StructureParser.php#L85

    PHP: v8 Laravel: "laravel/framework": "^8.0", A related issue: https://github.com/rezaamini-ir/migrator/issues/7 Line Issue Reference:

    opened by shealavington 7
  • Style of paginator

    Style of paginator

    Hi, I'm on chrome v97.0.4692.71 and I'm using Laravel v8.79.0, Livewire 2.9.0 and migrator v1.5.2. As you can see in the attached image, the paginator pages and arrows seem to be "unstyled": is this correct or my issue? If first, are you planning a new minor release to style them? error_on_paginators_page

    opened by anseg82 6
  • Can not publish config file

    Can not publish config file

    OS: Xubuntu 20.04 Laravel 8 package version: 1.5

    I successfully installed the package but when publishing the I get the following error:

    No publishable resources for tag [migrator-config].

    opened by stoneC0der 5
  • Unable to install

    Unable to install

    Greetings,

    This looks like a very useful package. Unfortunately after I install it and navigate to the "migrator" URL I get the following error:

    ErrorException Undefined offset: 1 (View: C:\laragon\www\test_project\vendor\rezaamini-ir\migrator\resources\views\livewire\migration\read.blade.php)

    Is there a compatibility issue with L8?

    Thanks!

    opened by relayer464 5
  • Fix arrow function PHP 7.3

    Fix arrow function PHP 7.3

    On using php version 7.3 there is an error with function arrow, I have added changes to return on using that php version

    Fixes https://github.com/rezaamini-ir/migrator/issues/19#issue-1095791874

    opened by adjarriawan 3
  • Add preventing showing  environment

    Add preventing showing environment

    hi, this package is very helpful for database management. This is just a slight addition so that the page can only be accessed during development mode.

    opened by adjarriawan 2
  • Move config and routes out of 'src' folder

    Move config and routes out of 'src' folder

    Hey! This is just another quick PR.

    It moves the 'routes' and 'config' folders to the root folder so that only namespaced files are inside the 'src' folder. Hopefully, this is something that you'll consider pulling in 😄

    opened by ash-jc-allen 2
  • docs: added phpdoc for package classes

    docs: added phpdoc for package classes

    Hi there, I was checking the package, and I quite liked it. While reading the implementation codes, I found it a little bit difficult in some places to understand what functions were doing since there were no docs. So I took the liberty to check and analyze the code to see what they do and wrote phpdocs for almost all the classes. I hope these code documents can help others understand the package better and speed up their contribution.

    opened by mohsennazari 1
  • Create migration with table doesn't work

    Create migration with table doesn't work

    New migration is created without table name, also causing future migrations to fail.

    Here's a video: https://www.loom.com/share/1b3048a7c1dc40158dc54825a92f2872

    opened by PovilasKorop 1
  • Arrow function but Composer allows PHP 7.3

    Arrow function but Composer allows PHP 7.3

    Hey! When I was just making a PR, I noticed that in src/Service/StructureParser.php on line 32, the line is:

    return array_filter($this->structure, fn($value) => !is_null($value['type']));
    

    This line uses an arrow function and (as far as I'm aware) these can only be used on PHP 7.4 upwards. However, the composer.json file looks like it allows PHP 7.3.

    I'm guessing the composer.json just needs changing to make PHP 7.4 the minimum? Or just switching the arrow function back to a closure if you want to keep support for 7.3? I'm happy to make a PR for either if needed :)

    opened by ash-jc-allen 1
  • Added return types

    Added return types

    Hey! This package is really cool!

    This PR's only a small one and just adds return types to all of the methods. I thought this could be an easy win to add a bit more type safety to the code 😄

    opened by ash-jc-allen 1
Releases(1.5.1)
  • 1.5.1(Jan 9, 2022)

    • Fix some bugs
    • Add environment check for development mode
    • Show batch number
    • Make Structure parser more flexible
    • Support for modular structures 🚀
    Source code(tar.gz)
    Source code(zip)
  • 1.3.0(Sep 29, 2021)

    • Seed with migrating migrations
    • Add alert to the project
    • Add middleware to use authentication
    • Safe migrate mode 🔐
    • Install migration automatically
    • Custom migration connection
    • Show connection name on Reading page

    Every day Migrator will be better with you 💙

    Source code(tar.gz)
    Source code(zip)
Owner
Reza Amini
TALL Stack Developer, 18 y.o From Kermanshah.
Reza Amini
A simple blog app where a user can signup , login, like a post , delete a post , edit a post. The app is built using laravel , tailwind css and postgres

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Nahom_zd 1 Mar 6, 2022
Locust are malware that can delete all folders, files, etc. on the system; I

Locust are malware that can delete all folders, files, etc. on the system; It was originally designed for web systems.

Md. Ridwanul Islam Muntakim 21 Dec 9, 2022
Blacksmith is a code generation tool which automates the creation of common files that you'd typically create for each entity in your application.

Blacksmith is a code generation tool which automates the creation of common files that you'd typically create for each entity in your application.

Indatus 197 Dec 30, 2022
Create and manage A Domain Driven Design (DDD) in your Laravel app, simply and efficiently.

Create and manage A Domain Driven Design (DDD) in your Laravel app, simply and efficiently.

Lucas Nepomuceno 4 Jun 11, 2022
Laravel Manager - provides some manager functionality for Laravel

Laravel Manager Laravel Manager was created by, and is maintained by Graham Campbell, and provides some manager functionality for Laravel. Feel free t

Graham Campbell 371 Dec 17, 2022
Laravel Manager provides some manager functionality for Laravel

Laravel Manager Laravel Manager was created by, and is maintained by Graham Campbell, and provides some manager functionality for Laravel. Feel free t

Graham Campbell 371 Jul 11, 2022
Laravel-OvalFi helps you Set up, test, and manage your OvalFi integration directly in your Laravel App.

OvalFi Laravel Package Laravel-OvalFi helps you Set up, test, and manage your OvalFi integration directly in your Laravel App. Installation You can in

Paul Adams 2 Sep 8, 2022
🐍 Web application made in PHP with Laravel where you can interact via API with my Snake game which is made in Python

Snake web application Project of the web application where you can interact via API with Snake game which is available to download on it. Application

Maciek Iwaniuk 1 Nov 26, 2022
A Laravel chat package. You can use this package to create a chat/messaging Laravel application.

Chat Create a Chat application for your multiple Models Table of Contents Click to expand Introduction Installation Usage Adding the ability to partic

Tinashe Musonza 931 Dec 24, 2022
A site which you can apply jobs or search for employees with cool functionalities..

About App An App which you can apply jobs or search for employees with cool functionalities. Some Pics of App Click Image to Zoom in Sign In & Up Empl

Fatih Canbolat 1 Jan 7, 2022
A nice GUI for Laravel Artisan, ready out of the box, configurable and handy for non-CLI experienced developers.

Artisan UI A nice GUI for Laravel Artisan, ready out of the box, configurable and handy for non-CLI experienced developers. Supported commands must be

Pablo Leone 1 Dec 3, 2021
Laravel generator with GUI. Generate crud / scaffold.

Laravel generator with GUI. Generate crud / scaffold.

George 420 Dec 5, 2022
Laravel Podcast is Laravel 5.5 web app that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI and User Authentication.

Laravel Podcast is Laravel 5.5 web app that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI and

Jeremy Kenedy 35 Dec 19, 2022
A laravel package to handle cascade delete and restore on model relations.

Laravel Model Soft Cascade A laravel package to handle cascade delete and restore on model relations. This package not only handle the cascade delete

Touhidur Rahman 18 Apr 29, 2022
Cascade delete and restore when using the Laravel or Lumen SoftDeletes feature.

Cascade delete and restore when using the Laravel or Lumen SoftDeletes feature.

Asked.io 669 Nov 30, 2022
📝 Artisan Menu - Use Artisan via an elegant console GUI

?? Artisan Menu Use Artisan via an elegant console GUI Features Run built-in and custom Artisan commands from a console GUI Prompts to enter required

Jordan Hall 149 Dec 29, 2022
📝 Artisan Menu - Use Artisan via an elegant console GUI

?? Artisan Menu Use Artisan via an elegant console GUI Features Run built-in and custom Artisan commands from a console GUI Prompts to enter required

Jordan Hall 148 Nov 29, 2022
Run patches migration style in your Laravel applications.

This package generates patch files in the same fashion Laravel generates migrations. Each file is timestamped with an up and a down method and is asso

Anthony Rappa 44 Sep 9, 2022
Perform Bulk/Batch Update/Insert/Delete with laravel.

Bulk Query Perform Bulk/Batch Update/Insert/Delete with laravel. Problem I tried to make bulk update with laravel but i found that Laravel doesn't sup

Mohamed Samir 9 Dec 14, 2021