-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: packaged cmseditor (#2) * feat: composer file * feat: add license + changelog * Add files via upload * Delete CmsEditor directory * Delete resources/views directory --------- Co-authored-by: Rene <[email protected]> Co-authored-by: Xander Schuurman <[email protected]> * feat: migrations + routes + restructure (#3) * feat: migrations + routes + restructure * fix: added composer + removed cmseditor folder * fix: providers * feat: models in package (#4) * feat: models in package * feat: packaged controllers * feat: seeders in package * fix: removed test echo * feat: lang + views * feat: services + provides * feat: package * feat: finalizing package * feat: last changes * fix: remove surplus migrations * feat: database seeders * feat: add helpers * fix: policy namespacing * fix: class name * fix: remove user provider * feat: last configs --------- Co-authored-by: Rene <[email protected]> * fix: syntax error in composer file * style: formatting * feat: add pinter * fix!: database prefix (#6) * feat: Events (#7) * feat: models in package * feat: packaged controllers * feat: seeders in package * fix: removed test echo * feat: lang + views * feat: services + provides * feat: package * feat: finalizing package * feat: last changes * fix: remove surplus migrations * feat: database seeders * feat: add helpers * fix: policy namespacing * fix: class name * fix: remove user provider * feat: last configs * feat: events * feat: events namespace * fix: namespace errors * style: formatting * fix: composer syntax error --------- Co-authored-by: keeama13 <[email protected]> Co-authored-by: Rene <[email protected]> --------- Co-authored-by: Rene <[email protected]> Co-authored-by: Xander Schuurman <[email protected]> Co-authored-by: keeama13 <[email protected]>
- Loading branch information
1 parent
23fd841
commit 5b8e891
Showing
7 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: PHP Linting | ||
on: pull_request | ||
jobs: | ||
phplint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: "laravel-pint" | ||
uses: aglipanci/[email protected] | ||
with: | ||
preset: laravel | ||
pintVersion: 1.8.0 | ||
verboseMode: true | ||
testMode: true | ||
# configPath: "vendor/my-company/coding-style/pint.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace NotFound\Framework\Events; | ||
|
||
use Illuminate\Foundation\Events\Dispatchable; | ||
use Illuminate\Queue\SerializesModels; | ||
use NotFound\Framework\Models\BaseModel; | ||
|
||
class AfterSaveEvent | ||
{ | ||
use Dispatchable, SerializesModels; | ||
|
||
private BaseModel $model; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $model is an model of Table or Strings that they extends from BaseModel | ||
* @return void | ||
*/ | ||
public function __construct(BaseModel $model) | ||
{ | ||
$this->model = $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace NotFound\Framework\Events; | ||
|
||
use Illuminate\Foundation\Events\Dispatchable; | ||
use Illuminate\Queue\SerializesModels; | ||
use NotFound\Framework\Models\BaseModel; | ||
|
||
class BeforeSaveEvent | ||
{ | ||
use Dispatchable, SerializesModels; | ||
|
||
private BaseModel $model; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $model is an model of Table or Strings that they implements IAsset | ||
* @return void | ||
*/ | ||
public function __construct(BaseModel $model) | ||
{ | ||
$this->model = $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters